T03 · Remote Payload Retrieval and Execution
- Location
scripts/preflight.sh:53- Finding
Mandatory Unpinned Global CLI Updates Create a Mutable Remote Execution Path
- Content
View full analysis
/dev/null 2>&1 && have "$2"; then ``` ### Technical Analysis Preflight is documented as mandatory before every debate, but its default behavior globally updates several executable AI clients. Versions and integrity hashes are not pinned, and some update operations are delegated to each CLI's own update mechanism. Commands such as `npm install -g ...@latest` retrieve executable code whose contents can change after this Skill has been reviewed. NPM packages may also execute lifecycle scripts during installation. The affected binaries are then invoked during the same preflight run, creating a direct retrieval-to-execution chain. Global installation increases impact because the changed binaries remain available to other sessions and projects. Suppressing installer output also reduces the user's ability to identify unexpected lifecycle behavior or dependency changes. ### Attack Path 1. An upstream package, transitive dependency, maintainer account, registry response, or CLI update channel is compromised. 2. A malicious release becom ...[truncated 1058 chars]- Remediation
View remediation
