T08 · Insecure Dependencies
- Location
SKILL.md:375- Finding
Unpinned npm CLI Packages May Be Downloaded and Executed
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent full-stack development guidance skill with no executable payload or persistence, though some examples need safer production handling.
Installers should treat this as a development guide, not a hardened template. Before using its command examples, pin CLI tools or rely on locked project dependencies, confirm database targets before migrations, and strengthen the file-upload sample before production.
SKILL.md:375Unpinned npm CLI Packages May Be Downloaded and Executed
SKILL.md:712Presigned Upload Example Trusts Client-Controlled Filename and Content Type
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
port: int = 3000 # optional with default db_pool_size: int = 10 class Config: env_file = ".env"
settings = Settings() # fails fast if DATABASE_URL missing
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
✅ Commit .env.example with dummy values
❌ Never hardcode secrets, URLs, or credentials ❌ Never commit .env files ❌ Never scatter process.env / os.environ throughout code
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
✅ Short expiry access token (15min) + refresh token (server-stored)
✅ Minimal claims: userId, roles (not entire user object)
✅ Rotate signing keys periodically
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.