codeplay-common@4.7.2
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe preinstall hook performs unconsented deletion in the consumer project, including broad directory removal and matching root-level files without ownership checks. This concrete destructive lifecycle behavior warrants blocking publication.
Decision evidence
public snapshot- The build script invokes an agent-instructions updater that targets AGENTS.md and the AGENTS directory.
- package.json runs scripts/uninstall.js during preinstall.
- The preinstall script resolves the consumer project root and defines cleanup patterns that include .env.storeid files and files beginning with finalrelease.
- The script enumerates files in the consumer root and unlinks every file matching those patterns.
- The preinstall script also recursively removes the consumer's buildCodeplay and splashxml directories.
- The postinstall script copies package assets into the consumer project and adds build-related scripts, which is consistent with the package's stated build-tools purpose.
- The agent-instructions updater is called by a build script, rather than by either install hook.
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.2.
See all versions of codeplay-common for other recorded verdicts.
- Avoid installing codeplay-common@4.7.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.