AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious payload or install-time AI-agent hijack was found. The package does provide explicit CLI setup that installs first-party Smart skills/hooks into many AI-agent configuration directories, which is an agent extension lifecycle risk.
Decision evidence
public snapshot- package.json defines postinstall and CLI bin bin/smart.js
- dist/core/skills.js writes Smart skills/rules/hooks into AI-agent dirs such as .claude, .codex, .gemini, .qwen, .github
- assets/manifest.json defines a PreToolUse hook smart/scripts/smart-hook-guard.sh for Write|Edit
- dist/core/openspec.js can npm install @fission-ai/openspec@latest and temporarily writes OpenSpec config
- dist/core/codegraph.js and dist/core/superpowers.js install external CLI packages on explicit setup paths
- scripts/postinstall.js only runs npm ls @gepeiyu/smart -g --json and performs no writes or agent config mutation
- Risky installs/config writes are behind explicit smart init/update user commands, not automatic install-time execution
- smart-hook-guard.sh only gates write/edit operations by local phase files; no network or credential harvesting seen
- rg found no fetch/curl/wget or secret exfiltration patterns in shipped skill assets
- dist/dashboard/server.js binds local dashboard to 127.0.0.1 and serves local status only
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 child process execution.
dist/core/openspec.jsView on unpkg · L1This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/commands/update.jsView on unpkgPackage source invokes a package manager install command at runtime.
dist/core/codegraph.jsView on unpkg · L31Package ships non-JavaScript build or shell helper files.
assets/skills/smart/scripts/smart-env.shView on unpkg