codeplay-common@4.3.5
Common build scripts and files
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe preinstall hook performs unconsented recursive deletion of consumer project directories and files, supporting a malicious destructive-action finding. Postinstall adds further project-root copying and script changes; agent instruction synchronization is a later build-time action.
Decision evidence
public snapshot- The preinstall hook runs scripts/uninstall.js automatically.
- That script recursively deletes the consumer project's buildCodeplay and splashxml directories and removes matching root files.
- The postinstall hook copies package files into the project root and rewrites the consumer package.json scripts.
- The builder names AGENTS.md and AGENTS as agent instruction assets; it synchronizes them later when the build script runs.
- Agent instruction synchronization runs from the builder's main function, not directly from either lifecycle script.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
files/buildCodeplay/apk-store-builder.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to codeplay-common@4.3.5.
See all versions of codeplay-common for other recorded verdicts.
- Avoid installing codeplay-common@4.3.5. 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.