GHSA-m7g7-9hrw-rmgf: Malicious package @onyxim/math
Malicious package. @onyxim/math 1.0.2 (npm user villelaaksonen, published 2026-05-27) is a republished copy of the js-math library. Its only change from 1.0.1, published 37 minutes earlier, replaces the dependency javascript-natural-sort with tiny-naturalsort, a malicious package (MAL-2026-5030). Installing @onyxim/math 1.0.2 therefore installs tiny-naturalsort, whose install step runs setup.cjs. In the OpenSSF sandbox this...
Malicious code, npm, CWE-506
- Type
- Malicious package
- Ecosystem
- npm
- Packages named
- 1 package
- What to do
- Remove and rotate secrets
- Reported
- 2 Dec 2026
Details
- Weakness
- CWE-506
- Published
- 2 Dec 2026
- Last change
- 2 Dec 2026
Malicious packages
Remove these from every system and rotate credentials
- @onyxim/math npm, Malicious: Version 1.0.2. Remove it
Advisories
Vendor and security advisories
- github.com/ossf/malicious-packages/blob/442f1d734442e75a16b69778e28e70aceb2dc9ee/osv/ma...
- storage.googleapis.com/ossf-malware-analysis-results/npm/@onyxim/math/1.0.2.json
Related
- Recent malicious packages Explorer, malicious packages only