T09 · Insecure Skill Coding Practices
- Location
scripts/generate.py:6- Finding
Cryptographically Insecure PRNG Used to Generate Credentials
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a credential generator, but its code does not provide the secure randomness and strength its documentation promises.
Review before installing. Running the skill does not appear to exfiltrate data or persist on the system, but its generated passwords, PINs, and passphrases should not be trusted for real accounts or secrets until it uses a cryptographically secure RNG, fixes passphrase entropy, aligns CLI defaults with the documentation, and removes or implements the secure-token claim.
scripts/generate.py:6Cryptographically Insecure PRNG Used to Generate Credentials
scripts/generate.py:13Default Passphrases Have Insufficient Entropy
scripts/generate.py:31Command-Line Defaults Generate Lowercase-Only Passwords
The skill claims to generate secure passwords, passphrases, and secure tokens, but the available documentation does not support the token feature and the static finding indicates the implementation may rely on non-cryptographic randomness. If true, users could trust weak outputs for credentials or secrets, leading to predictable passwords or tokens and account compromise.
The description says to use the skill whenever a user needs to create strong passwords, secure tokens, PINs, or passphrases, but it does not define any exclusion conditions or narrower trigger constraints. In a manifest context, this broad natural-language triggering can overlap with general conversation about passwords or tokens and may cause unintended invocation.
Detected: suspicious.exposed_secret_literal