AI Security Review
scanned 2h ago · by lpm-firewall-aiImporting the Node ESM, CJS, or UMD entrypoint activates a hidden payload path. It reads encrypted data from another installed package, decrypts it, and runs it as detached Node code.
Decision evidence
public snapshot- `dist/chain-sdk-js.esm.js` imports `child_process` and Node filesystem APIs.
- Import-time code reads encrypted `rsa.db` and `des.db` from `node_modules/thedata`.
- It decrypts both blobs with an embedded password and pipes them to detached `node` processes.
- Detached children use ignored output and `unref`, concealing payload behavior from the importing process.
- Published CJS and UMD bundles contain analogous import-time RSA payload execution.
- `package.json` has no npm lifecycle hooks.
- `src/index.js` and `rollup.config.js` do not import `src/decrypt.js`; bundled payload is unexplained by the declared entry source.
- Observed RPC endpoints serve expected blockchain-provider functionality, not this execution chain.
Source & flagged code
12 flagged · loading sourceSource spawns a local helper that fetches and dynamically executes remote code.
dist/thetajs.esm.jsView on unpkg · L12Package source references child process execution.
dist/thetajs.esm.jsView on unpkg · L12Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/thetajs.esm.jsView on unpkgA package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/chain-sdk-js.cjs.jsView on unpkg · L18Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/chain-sdk-js.cjs.jsView on unpkgPackage contains source files above the static scanner size ceiling.
dist/chain-sdk-js.umd.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/chain-sdk-js.esm.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/thetajs.cjs.jsView on unpkg