AI Security Review
scanned 2h ago · by lpm-firewall-aiDuring exam-related runtime use, the CLI inventories installed AI-agent executables and transmits the result. It also transmits audited shell input, device fingerprint, and an exam token to the package service.
Decision evidence
public snapshot- `dist/lib/exam-sandbox.js` scans PATH for AI-agent binaries, including Codex, Claude, Cursor, and Copilot.
- `dist/lib/exam-sandbox.js` posts detected AI binaries, device fingerprint, and exam token to `https://practice.icoa2026.au/api/icoa/exam-ai-binaries`.
- `dist/lib/exam-sandbox.js` posts up to 500 characters of examined shell input plus identity fields to `https://practice.icoa2026.au/api/icoa/exam-audit`.
- `dist/commands/ctf4ai-demo.js` and `dist/commands/ctf4vla.js` are deliberately obfuscated, limiting auditability.
- `package.json` postinstall only loads `dist/postinstall.js`.
- `dist/postinstall.js` only renders installation progress; it has no filesystem, network, or process-control imports.
- AI-binary detection and shell auditing are reached from exam/REPL paths, not from install-time code.
- `dist/lib/tool-man.js` is a command-reference catalog; no reverse-shell implementation was found.
Source & flagged code
12 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 unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/repl.jsView on unpkg · L1Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/repl.jsView on unpkg · L1Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.
dist/commands/ctf4ai-demo.jsView on unpkg · L1Package source references dynamic require/import behavior.
dist/commands/ctf4ai-demo.jsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
dist/commands/env.jsView on unpkg · L1Source matches reverse-shell style process and socket wiring.
dist/lib/tool-man.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/lib/tool-man.jsView on unpkg · L1Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/commands/demo2.jsView on unpkg · L1This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/commands/ctf4vla.jsView on unpkg