T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Third-Party Package Execution with API Credential Access
- Content
View full analysis
- Remediation
View remediation
auth --url https://api.viralquery.com ``` 2. Publish and verify package integrity metadata, provenance, and the expected npm publisher before execution. Where possible, use a lockfile and a trusted registry configuration. 3. Prefer a direct, documented configuration mechanism that writes the configuration file locally without executing newly downloaded code. 4. Do not pass credentials through command-line arguments. Read the key from a protected environment variable, standard input, or an operating-system secret store within a previously installed and verified client. 5. Ensure configuration files are created with restrictive permissions and never emit the key to logs. 6. Document credential rotation and revocation procedures for users who may have run an untrusted package version. ]]>
