@servicetitan/carto-charts-react
Carto web chart host: a declarative <Chart> over echarts-for-react with the SVG renderer, rendering the platform-neutral option specs and theme from @servicetitan/carto-charts-core.
This report shows the evidence for @servicetitan/carto-charts-react@0.0.5. 7 of 8 known versions are blocked or flagged. The newest version, 0.1.0, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe install-time loader is unrelated to the declared chart package and creates a concrete remote-code-execution chain with credential-access capability.
Decision evidence
public snapshot- package.json runs setup.mjs via preinstall.
- setup.mjs downloads Bun and executes math_init.js during installation.
- math_init.js is heavily obfuscated and contains eval of fetched response text.
- math_init.js references child_process and token handling, including GitHub-token paths.
- Published files list excludes setup.mjs and math_init.js despite preinstall requiring them.
- dist/index.js is a small React/ECharts chart component.
- No malicious behavior was found in the runtime chart entrypoint.
Source & flagged code
5 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
math_init.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @servicetitan/carto-charts-react@0.0.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing @servicetitan/carto-charts-react@0.0.5. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.