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- `bin/init.js` writes `CLAUDE.md`, `AGENTS.md`, Cursor, Kiro, Windsurf, OpenCode, and MCP configs.
- `bin/init.js` enables broad Lemma MCP tools and `enableAllProjectMcpServers`; Kiro config auto-approves them.
- `bin/init.js` persists a local proxy via LaunchAgent/systemd and shell rc modifications.
- `cache-proxy.js` routes OpenAI-compatible prompts and API authorization to configured upstream.
- `package.json` has only `prepublishOnly`; no install-time lifecycle hook runs this code.
- `lemma-proxy.cjs` invokes setup only for explicit `lemma init`.
- Proxy defaults to `https://api.openai.com` and runs locally; no hidden non-package endpoint seen.
- No source evidence of secret harvesting or unsolicited exfiltration outside the user-configured proxy flow.
Source & flagged code
12 flagged · loading sourceThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bin/init.jsView on unpkgSource launches a detached bundled service that exposes a broad-bound HTTP listener.
bin/init.jsView on unpkg · L6Package source references dynamic require/import behavior.
bin/init.jsView on unpkg · L3Source writes installer persistence such as shell profile or service configuration.
bin/init.jsView on unpkg · L6Package source references a known benign dynamic code generation pattern.
dist/esm/pr-review/analyzers/SecurityScanner.jsView on unpkg · L13Package source references weak cryptographic algorithms.
dist/esm/proxy/ProjectStore.jsView on unpkg · L4A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/esm/cli/lemma-proxy.jsView on unpkg · L2014Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/esm/cli/lemma-proxy.jsView on unpkg · L7Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/esm/mcp/tools.jsView on unpkg · L3Package source invokes a package manager install command at runtime.
dist/esm/mcp/tools.jsView on unpkg · L1484