AI Security Review
scanned 4d ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. Install runs a lifecycle script that mutates the installing project's .opencode/skills control surface. It drops package-supplied agent instruction files by symlink or copy, creating persistent AI-agent behavior changes outside normal library imports.
Decision evidence
public snapshot- package.json runs postinstall: node skills/postinstall.js
- skills/postinstall.js creates .opencode/skills under process.cwd() during install
- skills/postinstall.js symlinks or copies package .md skill files into that AI-agent control directory
- skills/*.md contain operational agent instructions, including browser automation workflow guidance
- No credential harvesting or exfiltration code found
- No install-time network calls found
- Runtime child_process spawn in lib/generator.js is user-invoked generation flow, not import/install-time
- Main entry lib/index.js only exports classes
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