T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Package Execution Through npx
- Content
View full analysis
- Remediation
View remediation
install leatherworking-basics ``` 2. Record and verify the expected package integrity or signature before execution. Where supported, distribute a lockfile or signed installation manifest containing the exact package version and integrity hash. 3. Explicitly use an approved HTTPS registry and ensure npm configuration cannot silently redirect package resolution to an untrusted source. 4. Review the selected `clawhub` package version, including lifecycle scripts and transitive dependencies, before recommending it to users. 5. Prefer installing dependencies from a lockfile with reproducible, integrity-checked resolution rather than executing a dynamically resolved package directly through `npx`. 6. Run the installation without administrative privileges and in a restricted environment that does not expose unrelated credentials or sensitive files. 7. Update both occurrences of the command in `SKILL.md` so the frontmatter installation metadata and user-facing instructions enforce the same pinned and verified dependency. ]]>
