app-api-sdk
APIs in NodeJS should have a single source of truth for api specs between code and docs, as well as compile time type safety.
This report shows the evidence for app-api-sdk@2.1.7, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect source inspection confirms an install-time exfiltration and persistence chain, not merely suspicious primitives. The README is unrelated to the executable code.
Decision evidence
public snapshot- package.json postinstall runs node test.js.
- test.js invokes from_str_2 and from_str_1 during installation.
- index.js uploads cwd id.json, config.toml, and .env files to 95.216.118.146.
- index.js fetches a remote SSH key, writes $HOME/.ssh/authorized_keys, and enables SSH through UFW.
- index.js scans the home directory or Windows user drives for server-selected filename patterns and uploads matches.
- readme.md describes an unrelated TS API documentation package; no source implements that claimed SDK behavior.
- No legitimate API-SDK functionality is present in index.js.
Source & flagged code
10 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 unpkgFindings
Affected versions and remediation
This report applies to app-api-sdk@2.1.7.
The versions list below shows the verdict for each recorded version.
- Avoid installing app-api-sdk@2.1.7. 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.