@antv/data-set @0.12.8
data set with state management
Maintainers
Keywords
Dependencies (16)
| Package | Constraint | Registry Status |
|---|---|---|
| dagre | ^0.8.2 | auto_approved |
| d3-dsv | ^1.0.5 | auto_approved |
| d3-geo | ~1.6.4 | auto_approved |
| d3-sankey | ^0.9.1 | auto_approved |
| @antv/util | ^2.0.0 | No greenflagged match |
| d3-hexjson | ^1.0.1 | auto_approved |
| d3-voronoi | ^1.1.2 | auto_approved |
| regression | ^2.0.0 | auto_approved |
| d3-hierarchy | ^1.1.5 | auto_approved |
| @antv/hierarchy | ^0.6.0 | No greenflagged match |
| point-at-length | ^1.0.2 | auto_approved |
| topojson-client | ^3.0.0 | auto_approved |
| d3-geo-projection | ~2.1.2 | No greenflagged match |
| simple-statistics | ^6.1.0 | No greenflagged match |
| wolfy87-eventemitter | ^5.1.0 | auto_approved |
| d3-composite-projections | ^1.2.0 | No greenflagged match |
Dev Dependencies (39)
| Package | Constraint | Registry Status |
|---|---|---|
| chai | ~4.1.2 | auto_approved |
| open | ~0.0.5 | No greenflagged match |
| debug | ~3.1.0 | auto_approved |
| jszip | ^3.1.5 | auto_approved |
| eslint | ^6.1.0 | auto_approved |
| lodash | ~4.17.4 | No greenflagged match |
| cheerio | ~1.0.0-rc.2 | auto_approved |
| connect | ~3.6.5 | auto_approved |
| shelljs | ~0.7.8 | No greenflagged match |
| webpack | ^4.41.3 | auto_approved |
| d3-queue | ~3.0.7 | auto_approved |
| get-port | ~3.2.0 | auto_approved |
| nunjucks | ~3.0.1 | No greenflagged match |
| parseurl | ~1.3.2 | auto_approved |
| prettier | ^1.19.1 | auto_approved |
| commander | ~2.12.2 | auto_approved |
| nightmare | ~2.10.0 | No greenflagged match |
| pre-commit | ~1.2.2 | auto_approved |
| typescript | ^3.7.3 | auto_approved |
| @antv/torch | ^1.0.6 | Not imported |
| @types/chai | ^4.2.7 | auto_approved |
| body-parser | ^1.18.2 | auto_approved |
| webpack-cli | ^3.3.10 | No greenflagged match |
| @types/dagre | ^0.7.42 | auto_approved |
| serve-static | ~1.13.1 | No greenflagged match |
| @types/d3-dsv | ^1.0.36 | auto_approved |
| @types/d3-geo | ^1.11.1 | auto_approved |
| @types/lodash | ^4.14.149 | auto_approved |
| @types/d3-sankey | ^0.11.0 | No greenflagged match |
| @types/d3-voronoi | ^1.1.9 | auto_approved |
| @types/regression | ^2.0.0 | Not imported |
| @types/d3-hierarchy | ^1.1.6 | auto_approved |
| string-replace-loader | ^2.1.1 | No greenflagged match |
| @types/topojson-client | ^3.0.0 | auto_approved |
| eslint-config-prettier | ^6.0.0 | auto_approved |
| eslint-plugin-prettier | ^3.1.0 | auto_approved |
| @typescript-eslint/parser | ^2.0.0 | auto_approved |
| awesome-typescript-loader | ^5.2.1 | No greenflagged match |
| @typescript-eslint/eslint-plugin | ^2.0.0 | auto_approved |
Transitive Dependency Tree
Changes from v0.11.8
Dependency Changes
Script Changes
+ preinstallFile Changes
Risk Dispositions (5 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 delivery mechanism. | |
obfuscated-file:index.js |
source-diff | reject | AI | AI (source-diff): Obfuscated 498KB index.js with crypto imports and env-spread is a malware payload. | |
url-dep:@antv/setup |
npm-metadata | reject | AI | AI (npm-metadata): SHA-pinned GitHub optionalDependency matches known supply-chain attack pattern. | |
semgrep:obfuscation-while-true |
semgrep | reject | AI | AI (semgrep): javascript-obfuscator signature in malicious payload file. | |
semgrep:env-spread |
semgrep | reject | AI | AI (semgrep): process.env spread inside obfuscated payload — credential exfiltration indicator. |
SAST Findings (10)
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.
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 _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Spreading entire process.env into an object — may capture all secrets > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
Review Summary
Risk score: 100 (capped from 258). Findings: 9 high (+225), 3 medium (+30), 1 low (+3), 3 info (+0).
Published to npm: