codeplay-common@4.8.9
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe package automatically wires a build-time updater that replaces existing project agent instructions without consent. Because this mutation runs through a user-invoked build rather than an npm install hook, the evidence supports a warning rather than a block.
Decision evidence
public snapshot- The manifest declares automatic preinstall and postinstall hooks; the postinstall helper copies package files into the consumer project root.
- The postinstall helper rewrites the consumer build command to run a bundled build script.
- The build script targets project-root AGENTS.md and AGENTS/ and updates them when the publisher reports a newer version.
- The update fetches agent instruction archives from the package publisher's server.
- The build directly awaits the updater, which removes the existing AGENTS directory and copies the downloaded instruction files into the project root without a consent prompt.
- The agent-instruction update runs through the consumer's build command, not directly through the npm lifecycle hooks.
- The update checks for a newer version and uses a package-aligned server; the inspected code does not establish malicious instruction content.
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.8.9.
See all versions of codeplay-common for other recorded verdicts.
- Review the evidence and your use of codeplay-common@4.8.9 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.