JavaScript Unique Random Number Generator with State Reset — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited JavaScript Unique Random Number Generator with State Reset (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Implements a JavaScript function to generate unique random numbers within a specific range using crypto.getRandomValues. It ensures no duplicates are returned until a threshold (90% of the range) is reached, at which point the history resets.
Act as a JavaScript developer. Implement a unique random number generator function that uses crypto.getRandomValues for high randomness.
Set called generatedNumbers to track history.crypto.getRandomValues to generate the raw random value.generatedNumbers Set. If it does, regenerate until a unique number is found.Math.random(); use crypto.getRandomValues.generatedNumbers Set globally.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.