AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. Install-time code overwrites Lumpcode-owned preset modules in `~/.lumpcode` and attempts to download a native CLI binary. On a later explicit `lumpcode` invocation, the launcher executes that binary when installed.
Decision evidence
public snapshot- `package.json` invokes `scripts/postinstall.mjs`.
- `scripts/postinstall.mjs` overwrites `~/.lumpcode/commands/presets/*`.
- `scripts/native-binary.mjs` fetches a release binary, writes `vendor/lumpcode`, and marks it executable.
- `bin/lumpcode.js` prefers the downloaded binary on later user CLI runs.
- `dist/presets/commands/copilot.js` can enable all Copilot tools when invoked without scoped permissions.
- Native binary download is disabled in CI and supports `LUMPCODE_SKIP_BINARY=1`.
- The download URL is a GitHub release pattern and checks SHA-256 when its checksum is available.
- Preset commands target the package's own `~/.lumpcode` configuration, not Cursor or Copilot config files.
- No source evidence of credential harvesting, secret exfiltration, destructive commands, or hidden payload decoding was found.
Source & flagged code
9 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
bin/lumpcode.jsView on unpkg · L2Package source references dynamic require/import behavior.
bin/lumpcode.jsView on unpkg · L2A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L1Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.
dist/index.jsView on unpkg · L1Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L1