AI Security Review
scanned 3h ago · by lpm-firewall-aiReview flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.
Decision evidence
public snapshot- dist/cli/switchroom.js exposes MCP tools skill_init_personal/skill_edit_personal that write agent .claude skills without operator approval.
- dist/cli/switchroom.js validates then writes supplied skill files and chmods shell/python scripts executable.
- dist/cli/switchroom.js mirrors personal skills into ~/.switchroom-config when present.
- package.json has no preinstall/install/postinstall hook; only prepublishOnly build/lint/test.
- Scanner encrypted-payload hint appears to match legitimate vault AES-GCM code, not embedded dropper execution.
- telegram-plugin/start.js only imports bundled dist/server.js or source fallback.
- telegram-plugin/shared/bot-runtime.ts child_process calls are package-aligned switchroom CLI wrappers using argv arrays.
- Bidi scan found only a zero-width char used to defuse markdown fences, not Trojan Source control flow.
- vendor/hindsight-memory/tests/conftest.py is test fixture isolation, not payload execution.
Source & flagged code
14 flagged · loading sourcePackage source references child process execution.
dist/host-control/main.jsView on unpkg · L10429Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/host-control/main.jsView on unpkg · L2457Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/host-control/main.jsView on unpkg · L2457Package source references a known benign dynamic code generation pattern.
telegram-plugin/dist/server.jsView on unpkg · L12703Package source references dynamic require/import behavior.
telegram-plugin/start.jsView on unpkg · L25Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
telegram-plugin/shared/bot-runtime.tsView on unpkg · L175Package source references weak cryptographic algorithms.
telegram-plugin/shared/bot-runtime.tsView on unpkg · L8Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/cli/switchroom.jsView on unpkgPackage contains source files above the static scanner size ceiling.
dist/cli/switchroom.jsView on unpkgPackage contains an oversized executable-looking CLI entrypoint.
dist/cli/switchroom.jsView on unpkgPackage ships non-JavaScript build or shell helper files.
bin/turn-pacing-hook.shView on unpkgPackage hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
vendor/hindsight-memory/tests/conftest.pyView on unpkgRSA private key in telegram-plugin/tests/secret-detect.test.ts
telegram-plugin/tests/secret-detect.test.tsView on unpkg · L198