T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Ambiguous and Unpinned Package Resolution Can Execute an Untrusted Package
- Content
View full analysis
- Remediation
View remediation
/dev/null 2>&1 && pencil version ``` 3. If `npx` is needed only to invoke a locally installed dependency, prevent network installation: ```bash npx --no-install pencil version ``` 4. Install an exact, reviewed version of the scoped package: ```bash npm install --save-exact @pencil.dev/cli@ ``` 5. Prefer a project-local installation with a lockfile over a global installation. 6. Verify registry configuration, package provenance, integrity metadata, and signatures where supported. 7. Require explicit user approval before downloading or executing a package. ]]>
