codeplay-common@4.9.0
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe source establishes automatic replacement of project agent instructions during the build workflow, creating a concrete but package-aligned configuration risk. No source inspected establishes a publish-block attack, so a warning is appropriate.
Decision evidence
public snapshot- The `postinstall` hook runs `scripts/sync-files.js`, which copies package assets into the consumer project and edits its build scripts.
- The build script defines `AGENTS.md` and `AGENTS/` as agent instruction destinations and calls the synchronization routine in its main flow.
- That routine downloads versioned agent instructions from `htmlcodeplay.com` and replaces the project’s `AGENTS.md` and `AGENTS/` files without a separate consent prompt.
- The agent instruction update runs as part of the build script rather than directly in an npm lifecycle hook.
- The inspected endpoint is the package’s own `htmlcodeplay.com` host, and the source validates archive paths before installation.
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.9.0.
See all versions of codeplay-common for other recorded verdicts.
- Review the evidence and your use of codeplay-common@4.9.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.