codeplay-common@4.4.1
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe agent-instruction mutation is reachable through the generated build command and can affect later agent behavior, so a warning is warranted. The inspected source does not establish a malicious payload or credential theft.
Decision evidence
public snapshot- The preinstall and postinstall hooks run uninstall.js and sync-files.js, respectively.
- The copied build script targets AGENTS.md and AGENTS under the consumer project root.
- Postinstall copies package files and adds a build command that runs codeplayBeforeBuild-6.2.js.
- When that build script runs, it fetches versioned instructions from htmlcodeplay.com and writes them to AGENTS.md and AGENTS, replacing existing content.
- The generated build script calls syncAgentInstructions as part of its main routine.
- The preinstall cleanup recursively removes project build directories and deletes a baseline profile backup.
- The agent-instruction update runs through the generated build command, not directly from either npm lifecycle hook.
- The updater checks local and remote versions before updating; the package source does not establish credential theft or a malicious instruction payload.
Source & flagged code
11 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 · L7Findings
Affected versions and remediation
This report applies to codeplay-common@4.4.1.
See all versions of codeplay-common for other recorded verdicts.
- Review the evidence and your use of codeplay-common@4.4.1 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.