T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Mutable and Inconsistent Installation Dependencies Create Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
install zhougong-dream-analysis@ ``` 2. Select one canonical package identifier and use it consistently in `SKILL.md`, `README.md`, and `skill.json`. 3. Pin package integrity using a lockfile, registry-provided integrity digest, signed release, or documented SHA-256 checksum. 4. Publish packages only through a verified organization or namespace and document the expected registry and publisher identity. 5. Disable npm lifecycle scripts during retrieval where operationally possible, and execute any required installation logic only after reviewing it: ```bash npm_config_ignore_scripts=true npx clawhub@ ... ``` 6. Avoid running installation commands with administrator or root privileges. Use an isolated, least-privileged account or sandbox. 7. Add automated release checks that reject mutable dependency versions, inconsistent package names, missing integrity metadata, and unexpected lifecycle scripts. ]]>
