AI Security Review
scanned 4h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed install-time foreign agent control hijack was found. The package ships an AI-agent framework with lifecycle permission repair and runtime hooks that can perform background global self-update after onboarding/session start, which is agent extension lifecycle risk rather than proven malware.
Decision evidence
public snapshot- package.json runs postinstall: node runtime/scripts/postinstall.mjs
- runtime/scripts/postinstall.mjs recursively chmods shipped runtime/hooks and runtime/scripts .mjs/.sh files executable during install
- runtime/hooks/silent-update.mjs is a SessionStart hook that fetches npm version and spawns npm install -g paqad-ai@latest plus paqad-ai update --silent in background
- dist/cli/index.js and dist/kernel/gate.js define agent-facing files such as CLAUDE.md, AGENTS.md, GEMINI.md, ANTIGRAVITY.md and .paqad/hooks for project onboarding
- postinstall only modifies files under the installed package runtime directory and always exits 0
- silent-update.mjs is in runtime/hooks, not directly invoked by npm postinstall
- Project writes are largely under first-party .paqad namespace or documented agent instruction files during CLI/onboarding flows
- Network endpoint observed is npm registry lookup via npm view paqad-ai version, package-aligned self-update behavior
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 · L506Package 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.
dist/cli/index.jsView on unpkg