AI Security Review
scanned 6h ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. Install-time code mutates an Opencode AI-agent skill surface in the consumer project. It drops package-supplied skill instructions automatically during npm install.
Decision evidence
public snapshot- package.json defines postinstall: node skills/postinstall.js
- skills/postinstall.js creates .opencode/skills under install cwd
- postinstall symlinks or copies package markdown skills into that agent skill directory
- Lifecycle mutation is automatic and not guarded by opt-in or existing platform extension path
- No credential/env harvesting found
- No network calls or remote payload fetches found
- Runtime lib/researcher.js is package-aligned LLM business-analysis functionality
Source & flagged code
3 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 unpkgInstall-time source drops package-supplied AI-agent/MCP control files or instructions.
skills/postinstall.jsView on unpkg · L5