AI Security Review
scanned 4h 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- CLI adapters write project AI-agent surfaces such as CLAUDE.md, AGENTS.md, .claude/settings.json, .codex/hooks.json, and MCP files.
- Claude SessionStart hook includes runtime/hooks/silent-update.mjs, which can run npm view and detached npm install -g paqad-ai@latest && paqad-ai update --silent.
- Onboarding copies package skills/agents/hooks into provider namespaces (.claude, .codex, .gemini, etc.).
- bootstrapFramework creates/updates a ~/.paqad-ai/current symlink to the package runtime.
- package.json postinstall only runs runtime/scripts/postinstall.mjs.
- runtime/scripts/postinstall.mjs only chmods .sh/.mjs files under the package runtime/hooks and runtime/scripts directories.
- Agent-surface writes are tied to explicit paqad-ai onboard/update flows, not npm install/import.
- No credential harvesting or external exfiltration logic found; env reads are configuration for OpenAI/Voyage/RAG.
- Scanner secret hit is documentation example text in crypto-weakness-patterns.md.
Source & flagged code
14 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 contains a critical-looking secret pattern.
runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.mdView on unpkg · L13RSA private key in runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.md
runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.mdView on unpkg · L11RSA private key in runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.md
runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.mdView on unpkg · L12EC private key in runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.md
runtime/capabilities/security/skills/cryptographic-review/references/crypto-weakness-patterns.mdView on unpkg · L13Package source references child process execution.
dist/rule-scripts/index.jsView on unpkg · L500Package source references dynamic require/import behavior.
runtime/graph-ui/assets/index-B7e9pFJw.jsView on unpkg · L218Source reaches cloud instance metadata or link-local credential endpoints.
dist/index.jsView on unpkg · L523Package source references weak cryptographic algorithms.
dist/index.jsView on unpkg · L523Package source invokes a package manager install command at runtime.
runtime/hooks/silent-update.mjsView on unpkg · L347Package ships non-JavaScript build or shell helper files.
runtime/capabilities/security/skills/auth-mechanism-review/scripts/scan-auth-smells.shView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli/index.jsView on unpkg