All @antv/infographic versions
@antv/infographic @0.4.19
Maintainers
Keywords
Dependencies (14)
| Package | Constraint | Registry Status |
|---|---|---|
| d3 | ^7.9.0 | auto_approved |
| bun | ^1.3.13 | auto_approved |
| flru | ^1.0.2 | auto_approved |
| culori | ^4.0.2 | auto_approved |
| measury | ^0.1.5 | auto_approved |
| postcss | ^8.5.6 | auto_approved |
| roughjs | ^4.6.6 | auto_approved |
| linkedom | ^0.18.12 | auto_approved |
| lodash-es | ^4.17.21 | auto_approved |
| tinycolor2 | ^1.6.0 | auto_approved |
| @antv/layout | ^2.0.0-beta.0 | auto_approved |
| eventemitter3 | ^5.0.1 | auto_approved |
| round-polygon | ^0.6.7 | auto_approved |
| @antv/hierarchy | ^0.7.0 | auto_approved |
Dev Dependencies (37)
| Package | Constraint | Registry Status |
|---|---|---|
| jiti | ^2.5.1 | auto_approved |
| vite | ^7.1.5 | approved |
| husky | ^9.1.7 | auto_approved |
| jsdom | ^27.0.0 | auto_approved |
| eslint | ^9.35.0 | auto_approved |
| rimraf | ^6.1.0 | auto_approved |
| rollup | ^4.53.2 | auto_approved |
| vitest | ^3.2.4 | auto_approved |
| csstype | ^3.2.2 | auto_approved |
| globals | ^16.4.0 | auto_approved |
| prettier | ^3.6.2 | auto_approved |
| @types/d3 | ^7.4.3 | auto_approved |
| gzip-size | ^7.0.0 | auto_approved |
| tsc-alias | ^1.8.16 | auto_approved |
| vite-node | ^3.2.4 | auto_approved |
| size-limit | ^11.2.0 | No greenflagged match |
| typescript | ^5.9.2 | auto_approved |
| @types/node | ^24.3.1 | auto_approved |
| lint-staged | ^16.1.6 | auto_approved |
| npm-run-all | ^4.1.5 | auto_approved |
| @types/jsdom | ^21.1.7 | auto_approved |
| @types/culori | ^4.0.1 | auto_approved |
| @commitlint/cli | ^19.8.1 | No greenflagged match |
| @size-limit/file | ^11.2.0 | No greenflagged match |
| @types/lodash-es | ^4.17.12 | auto_approved |
| @types/tinycolor2 | ^1.4.6 | auto_approved |
| typescript-eslint | ^8.43.0 | auto_approved |
| @vitest/coverage-v8 | ^3.2.4 | auto_approved |
| vite-tsconfig-paths | ^5.1.4 | No greenflagged match |
| @rollup/plugin-terser | ^0.4.4 | auto_approved |
| @rollup/plugin-commonjs | ^29.0.0 | auto_approved |
| rollup-plugin-visualizer | ^6.0.5 | auto_approved |
| @rollup/plugin-typescript | ^12.3.0 | auto_approved |
| @rollup/plugin-node-resolve | ^16.0.3 | auto_approved |
| prettier-plugin-packagejson | ^2.5.19 | auto_approved |
| @commitlint/config-conventional | ^19.8.1 | No greenflagged match |
| prettier-plugin-organize-imports | ^4.2.0 | auto_approved |
Transitive Dependency Tree
Changes from v0.2.19
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | bun | ^1.3.13 |
Script Changes
+ preinstallFile Changes
Risk Dispositions (6 applicable to this version, 0 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 confirmed. | |
obfuscated-file:index.js |
source-diff | reject | AI | AI (source-diff): Obfuscated file is the malicious payload; generalizes to this package. | |
url-dep:@antv/setup |
npm-metadata | reject | AI | AI (npm-metadata): SHA-pinned GitHub optionalDep matches known attack pattern; reject for this package. | |
semgrep:obfuscation-while-true |
semgrep | reject | AI | AI (semgrep): Obfuscator signature in injected malicious file. | |
semgrep:obfuscation-hex-functions |
semgrep | reject | AI | AI (semgrep): Obfuscator signature in injected malicious file. | |
semgrep:env-spread |
semgrep | reject | AI | AI (semgrep): process.env spread in obfuscated payload indicates credential exfiltration. |
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.
Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.
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,
[Accepted risk] Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
Review Summary
Risk score: 100 (capped from 453). Findings: 8 critical (+320), 2 high (+50), 8 medium (+80), 1 low (+3), 1 info (+0).
Published to npm: