AI Security Review
scanned 13d ago · by lpm-firewall-aiNo confirmed malicious attack surface was found by static source inspection. Risky capabilities are aligned with an AI-agent CLI and are user- or runtime-invoked rather than install/import-time payloads.
Decision evidence
public snapshot- package.json has postinstall lifecycle invoking scripts/postinstall.cjs
- dist/tools/builtin/bash.js exposes user/agent-invoked shell execution
- dist/core/plugins.js can npm install/import enabled plugins under ~/.lynox/plugins
- scripts/postinstall.cjs only prints a direct-install CLI hint; no network, writes, or package mutation
- dist/index.js import path only exports modules and suppresses deprecation warnings; CLI actions require direct bin execution
- dist/integrations/inbox/notifier.js removes bidi/control chars rather than hiding Trojan Source behavior
- dist/server/http-api.js blocks metadata hosts like 169.254.169.254 and metadata.google.internal in URL tests
- dist/tools/builtin/http.js and dist/core/network-guard.js implement SSRF/private-IP and redirect credential protections
- Secret handling in dist/core/secret-store.js masks secrets and hides infra secrets from agent-visible names
Source & flagged code
7 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 unpkgPackage source references dynamic require/import behavior.
dist/core/plugins.jsView on unpkg · L74Source reaches cloud instance metadata or link-local credential endpoints.
dist/server/http-api.jsView on unpkg · L7Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/core/worker-loop.jsView on unpkg · L252Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/integrations/inbox/notifier.jsView on unpkg · L86A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/integrations/inbox/notifier.jsView on unpkg