
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
A tiny (77B) utility to check if a value is a prime number
Makes use of a very neat trick which proves that squaring any prime number, excluding the "sub primes", is always 1 more than a multiple of 24 🤯 — watch the video!
All credit goes to Matt Parker and Numberphile
This module exposes three module definitions:
dist/primeval.mjsdist/primeval.jsdist/primeval.min.js$ npm install --save primeval
import primeval from 'primeval';
primeval(2); //=> true
primeval(3); //=> true
primeval(17); //=> true
primeval(29); //=> true
primeval(25); //=> false
primeval(512); //=> false
primeval(12); //=> false
primeval(1); //=> false
primeval("foobar"); //=> false
primeval(100.1231); //=> false
primeval(null); //=> false
Returns: Boolean
Type: Number
The number that you want to check.
Note: Any non-
Numbertype will always return afalseoutput.
MIT © Luke Edwards
FAQs
A tiny (128B) utility to check if a value is a prime number
We found that primeval 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
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.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.