typescript-api-node
This report shows the evidence for typescript-api-node@2.1.6, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiConcrete install-time execution performs credential/config exfiltration and remote SSH persistence. This is direct malicious behavior, not a package-aligned feature.
Decision evidence
public snapshot- package.json runs `node test.js` on postinstall.
- test.js imports package exports and invokes both payload functions.
- index.js recursively collects `.env`, `env`, `config.toml`, and `id.json` files, then uploads them.
- index.js fetches an SSH key, appends it to `~/.ssh/authorized_keys`, and enables SSH via UFW.
- index.js scans the user home/Windows user drives using remote-supplied patterns and uploads matched files.
- index.js is deliberately obfuscated and contacts a hard-coded IP endpoint.
Source & flagged code
5 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkgSource writes installer persistence such as shell profile or service configuration.
index.js#virtual:normalized:round1View on unpkg · L1Findings
Affected versions and remediation
This report applies to typescript-api-node@2.1.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing typescript-api-node@2.1.6. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.