All @antv/g2-plugin-slider versions
@antv/g2-plugin-slider @2.3.1
A datazoom slider plugin for G2.
Maintainers
Keywords
Dependencies (1)
| Package | Constraint | Registry Status |
|---|---|---|
| bun | ^1.3.13 | auto_approved |
Dev Dependencies (19)
| Package | Constraint | Registry Status |
|---|---|---|
| chai | ~4.0.1 | auto_approved |
| eslint | ~3.19.0 | auto_approved |
| jquery | ~3.3.1 | No greenflagged match |
| shelljs | ~0.7.8 | No greenflagged match |
| torchjs | ~2.1.0 | Not imported |
| webpack | ~3.4.1 | auto_approved |
| @antv/g2 | ~3.2.8 | auto_approved |
| electron | ~1.8.2-beta5 | auto_approved |
| uglify-js | ~3.0.15 | auto_approved |
| pre-commit | ~1.2.2 | auto_approved |
| @babel/core | ~7.0.0 | auto_approved |
| babel-eslint | ~7.2.3 | auto_approved |
| babel-loader | ~8.0.0 | No greenflagged match |
| @antv/data-set | ~0.9.6 | No greenflagged match |
| event-simulate | ~1.0.0 | Not imported |
| @babel/preset-env | ~7.0.0 | auto_approved |
| eslint-config-egg | ~4.2.0 | auto_approved |
| eslint-config-airbnb | ~15.0.1 | auto_approved |
| babel-plugin-transform-remove-strict-mode | 0.0.2 | Not imported |
Transitive Dependency Tree
Changes from v2.1.1
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | bun | ^1.3.13 |
Script Changes
+ preinstallFile Changes
Risk Dispositions (7 applicable to this version, 1 other)
Accepted rules are downgraded to INFO on future analyses; rejected rules escalate to CRITICAL.
| Rule | Source | Disposition | Author | Reason | |
|---|---|---|---|---|---|
install-script:preinstall |
install-scripts | reject | AI | AI (install-scripts): Preinstall runs obfuscated index.js — malicious payload delivery mechanism. | |
encoded-string-file:index.js |
source-diff | reject | AI | AI (source-diff): Heavily obfuscated index.js added in this version; not present in prior clean releases. | |
semgrep:obfuscation-while-true |
semgrep | reject | AI | AI (semgrep): javascript-obfuscator signature in newly added index.js. | |
semgrep:obfuscation-hex-functions |
semgrep | reject | AI | AI (semgrep): javascript-obfuscator hex-prefixed names in newly added index.js. | |
semgrep:env-spread |
semgrep | reject | AI | AI (semgrep): process.env spread in obfuscated code — credential exfiltration indicator. | |
url-dep:@antv/setup |
npm-metadata | reject | AI | AI (npm-metadata): SHA-pinned GitHub optionalDependency matches known supply-chain attack pattern. | |
publisher-changed |
provenance | reject | AI | AI (provenance): Publisher change combined with dormancy and malicious payload is account takeover. |
Show 1 disposition(s) that do not match any finding on this version
| Rule | Source | Disposition | Author | Reason | |
|---|---|---|---|---|---|
dormant-publish |
publish-pattern | reject | AI | AI (publish-pattern): 3106-day dormancy followed by malicious publish confirms account takeover scenario. |
SAST Findings (11)
Script: bun run index.js
Dependency '@antv/setup' in `optionalDependencies` points to 'github:antvis/G2#1916faa365f2788b6e193514872d51a242876569' instead of a registry version. URL dependencies bypass the registry and can be swapped at any time. A 40-character commit SHA in a dependency URL is a strong supply-chain signal — the 2026-05-11 TanStack/Mini Shai-Hulud attack used this exact shape in `optionalDependencies` to smuggle a malicious payload past lifecycle-script and OSV checks.
This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: atool.
This version was published by a different npm account than previous versions on 2026-05-19. This could indicate a legitimate maintainer transition or an account compromise.
Modified file contains 16 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.
while(!![]) loop is a signature of javascript-obfuscator output > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,
Spreading entire process.env into an object — may capture all secrets > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,
Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
Review Summary
Risk score: 100 (capped from 441). Findings: 9 critical (+360), 1 high (+25), 5 medium (+50), 2 low (+6).
Published to npm: