T08 · Insecure Dependencies
- Location
references/imessage-video-ads.md:80- Finding
Unpinned Third-Party Installation Commands Allow Supply-Chain Code Execution
- Content
View full analysis
- Remediation
View remediation
install --all npx --yes create-video@ ``` 2. Pin source installations to an immutable reviewed commit: ```bash git clone https://github.com/jamiepine/voicebox.git cd voicebox git checkout --detach ``` 3. Publish the expected package integrity digest or commit hash in the reference documentation and require verification before execution. 4. Require inspection of package lifecycle scripts, Makefiles, and dependency manifests before running installation commands. 5. Use lockfiles with integrity metadata and immutable or frozen installation modes where supported. 6. Run third-party installation and rendering tools in an isolated, least-privileged environment such as a disposable container or virtual machine. Do not expose unrelated host directories, SSH agents, cloud metadata endpoints, or unnecessary credentials. 7. Remove `@latest` from all executable examples. Version updates should undergo a new review before documentation is changed. 8. Clearly distinguish informational examples from commands an agent is authorized to execute. Require explicit user approval before downloading or executing third-party code. ]]>
