codeplay-common@4.7.0
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe lifecycle hooks perform real project-root deletion, copying, and script edits, leaving a concrete installation-time risk. The inspected behavior does not establish a block-eligible attack, so warn rather than block.
Decision evidence
public snapshot- package.json runs cleanup before installation and file synchronization after installation.
- The preinstall cleanup recursively removes project-root directories and deletes files matching several package-related names.
- The postinstall sync copies bundled files into the project root and edits the consumer package scripts.
- Agent instructions are fetched from the package’s own host and replaced when the build script runs; the main function calls that sync.
- The bundled build script also downloads and replaces the AGENTS.md and AGENTS directory contents.
- The agent-instruction update is reached through the build script, not directly through either lifecycle hook.
- The cleanup targets named build assets and the package copies its own bundled build files; the inspected code does not establish credential theft or unrelated network exfiltration.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
files/generate-ai-promo-video.jsView on unpkg · L17Findings
Affected versions and remediation
This report applies to codeplay-common@4.7.0.
See all versions of codeplay-common for other recorded verdicts.
- Review the evidence and your use of codeplay-common@4.7.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.