T09 · Insecure Skill Coding Practices
- Location
scripts/script.sh:87- Finding
Predictable and Biased Random Number Generation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a simple random-value generator, but it overclaims deterministic and audit-ready behavior that the implementation does not provide.
Review before installing if you need reproducible, auditable, or security-sensitive random values. Treat it as a basic random generator only; avoid relying on its int or float outputs for cryptographic purposes, and apply external limits if exposing it to automated input.
scripts/script.sh:87Predictable and Biased Random Number Generation
scripts/script.sh:150Unbounded Output and Batch Sizes Permit Resource Exhaustion
The skill’s metadata and description claim reproducible seeds, deterministic test data, salt rotation, randomness auditing, and seed record storage, but the documented behavior instead produces ordinary non-deterministic random outputs and does not provide several advertised capabilities. This mismatch can mislead users into using the tool for security-sensitive or compliance-sensitive workflows under false assumptions, resulting in irreproducible tests, improper audit evidence, or unsafe operational handling of salts and seeds.
The skill advertises reproducible seeds and deterministic test data, but every implemented generator uses fresh entropy or process-local pseudo-randomness and provides no way to supply, persist, or replay a seed. This can mislead users into relying on outputs for audits, test reproducibility, salt rotation records, or incident reconstruction when the values cannot be regenerated, causing integrity and operational failures in security-sensitive workflows.
No suspicious patterns detected.