
Security News
High-Severity RCE Vulnerability Disclosed in next-mdx-remote
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.
sphere-random
Advanced tools
Generates a random point on a sphere.
var sphereRandom = require('sphere-random')
for(var i=1; i<5; ++i) {
console.log(sphereRandom(i))
}
npm install sphere-random
require('sphere-random')(d)Generates a random point on the surface of a d-dimensional hypersphere
d is the dimension of the sphere to sampleReturns A point on the surface of a d-dimensional sphere
(c) 2014 Mikola Lysenko. MIT License
FAQs
Uniformmly sample a point on a hypersphere
We found that sphere-random demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.