T08 · Insecure Dependencies
- Location
SKILL.md:24- Finding
Unpinned Third-Party CLI Installation Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
``` 2. Document package integrity verification using a trusted checksum, registry integrity metadata, or signed release artifact. 3. For source installation, pin the repository to a reviewed commit or signed tag: ```sh git clone https://github.com/blackboxaicode/cli.git cd cli git checkout ``` 4. Use lockfile-enforced dependency installation, such as `npm ci`, with a reviewed and committed lockfile. 5. Review package lifecycle scripts before installation and disable them with `--ignore-scripts` when they are not required. 6. Prefer an isolated, non-global installation environment, such as a dedicated container or restricted user account, to limit access to host files and credentials. 7. Explicitly warn users not to run the installation as root or through `sudo`. 8. Establish a process for periodically reviewing pinned versions and updating them only after source, dependency, and release-integrity validation. ]]>
