AI Security Review
scanned 2h 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 has explicit user commands that write Claude agent files/settings/skills.
- dist/cli/switchroom.js can spawn docker/git/tmux/npx/uvx from CLI subcommands.
- Network integrations include PostHog telemetry and Google/Microsoft/Notion/Telegram APIs.
- package.json has no preinstall/install/postinstall hooks; only prepublishOnly/test/build scripts.
- dist/cli/switchroom.js crypto/decrypt logic is for the documented local vault, not an embedded payload runner.
- telegram-plugin/start.js only imports local dist/server.js or server.ts.
- vendor/hindsight-memory/tests/conftest.py is a pytest fixture, not an executable payload.
- telegram-plugin/shared/bot-runtime.ts control-character hit is a zero-width character in a code-fence escaping string.
- Vault broker serves local Unix sockets with ACL/grant checks; no remote exfil endpoint found.
Source & flagged code
15 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 unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/vault/broker/server.jsView on unpkgRSA private key in telegram-plugin/tests/secret-detect.test.ts
telegram-plugin/tests/secret-detect.test.tsView on unpkg · L198