Scan your whole stack
From OX Research Newsroom
Are you using js-crypto-random?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.6
js-crypto-random was last scanned on 26 Nov 2026 at version 1.0.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.6 LATEST | 26 Nov 2026 | No rules fired |
Findings for v1.0.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.0.6; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
WARNING: At this time this solution should be considered suitable for research and experimentation, further code and security review is needed before utilization in a production application.
This library is designed to 'universally' provide functions of random sequence generators, i.e., it works both on most modern browsers and on Node.js just by importing from NPM/source code. Note that in the design principle, the library fully utilizes native APIs like WebCrypto API to accelerate its operation if available.
At your project directory, do either one of the following.
$ npm install --save js-crypto-random // npm
$ yarn add js-crypto-random // yarn
$ git clone https://github.com/junkurihara/jscu.git
$ cd js-crypto-utils/packages/js-crypto-random
& yarn build
Then you should import the package as follows.
import random from 'js-crypto-random'; // for npm
import random from 'path/to/js-crypto-random/dist/index.js'; // for github
The bundled file is also given as js-crypto-random/dist/jscrandom.bundle.js for a use case where the module is imported as a window.jscrandom object via script tags.
// now you get an Uint8Array of 32 bytes filled with randomly generated values
const randomBytes = random.getRandomBytes(32);
// now you get a string of 32 ASCII characters generated in a cryptographically random manner
const randomAscii = random.getRandomAsciiString(32);
Licensed under the MIT license, see LICENSE file.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.