GitHub and OpenSSF mark @onescience/onecode on npm as malware, and Amazon Inspector reports that its install script fetched and set up an unverified program.
npm replaced @onescience/onecode with a security holding package on 18 November 2026. The same day, GitHub published malware advisory GHSA-w94w-q524-wgvr for every version.
What happened
Amazon Inspector reports that the npm postinstall hook fetched and set up a program from a hardcoded IP address.
- The hook calls
ensurePlatformBinary(), which downloads a.tgzarchive from218.90.133.98on port4443. - The request sets
rejectUnauthorized: false, which turns off TLS certificate checks. - The hook does no hash or signature check on the download.
- The hook extracts the archive and links the program to
bin/.onecode. The package launcher then runs it. - Amazon Inspector says the name and the launcher copy the unrelated opencode project.
Amazon Inspector published its record on 16 July 2026. The code was unavailable for inspection, and no source describes what the downloaded program does.
Affected versions
- GitHub: all versions (
>= 0), with no patched version. - OpenSSF MAL-2026-10717: 54 builds of 1.14.50, published from 16 July to 7 August 2026. The first is
1.14.50-202607161038. - npm registry: releases ran from
1.14.50-202606300908(30 June 2026) to1.19.3-202611031647(3 November 2026). - npm no longer serves these releases. The only versions left are
0.0.0-stageand0.0.1-security.
Indicators of compromise
- Download host:
218.90.133.98on port4443 - Download path:
/onecode_tgz/onecode-<ver>/onecode-linux-x64-<ver>.tgz - Program link:
bin/.onecode - Evidence file
platform-bootstrap.mjs, SHA-2560795feaceb78b42d123dafb190444f534ea5e51c920775aaafe3ee2cee0acf47 - Tarball
onecode-1.14.50-202607161038.tgz, SHA-1207b6685273c80f29e0bccca3875606db194ecb7
How to check
List the installed copies in each project.
npm ls @onescience/onecode
List the global installs on the computer.
npm ls -g @onescience/onecode
What to do now
- If a command lists the package, run
npm uninstall @onescience/onecode. For a global copy, add-g. - Treat that computer as fully compromised, as GitHub advises.
- From a different computer, rotate every secret and key stored on the affected computer.
- Do not rely on removal alone. GitHub says removal does not guarantee that all malicious software is gone.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `@onescience/onecode` 1.14.50-202607161038. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
@onescience/onecode 1.14.50-202607161038
When installed, it downloaded a program from a bare IP address with no security checks and set it up for its launcher to run.
No security team? See who reads the alert.
Frequently asked questions
Is @onescience/onecode malware?
GitHub advisory GHSA-w94w-q524-wgvr and OpenSSF record MAL-2026-10717 classify it as malware. npm took the package down on 18 November 2026.
What does the @onescience/onecode install script download?
No source describes the downloaded program. Amazon Inspector reports that the script fetched it from a bare IP address with no hash or signature check.
Sources
Send this page to the person who looks after AI at your company.