@galicia-toolkit-nestjs/commons@999.0.7
This package appears in our research on the dependency confusion probes at version 99 and above, with how it works, the full package list and what to do if you installed it.
OpenSSF/OSV Malicious Advisory
imported 14d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-17722 confirms this npm version as malicious.
Advisory
MAL-2026-17722
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @galicia-toolkit-nestjs/commons (npm)
Details
The package ships a tiny index.js that require()s a bundled ELF at prebuilds/linux-x64/metrics.node inside a swallow-all try/catch on module load. No C/C++ source, binding.gyp, or node-gyp/prebuild tooling is present, so the native binary cannot be rebuilt from source and its behavior is opaque to consumers. Strings extracted from the binary show it reads CI and cloud credential environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN) along with hostname, username and cwd, then opens a raw socket to the hardcoded host oob.s4yhii.com and issues POST /native HTTP/1.0 with a JSON body of the collected values. The addon daemonizes via fork+setsid to persist beyond the parent process. The destination host is unrelated to NestJS or any plausible publisher of a 'commons' utility. The package name mimics an internal-looking org scope and is published at version 999.0.6 with no repository and an UNLICENSED field, matching the dependency-confusion lure shape intended to win resolution against a private internal package of a similarly-named scope.
Independent scan evidence
public snapshotBehavioral surface
DynamicRequireEnvironmentVars
NoLicense
Source & flagged code
2 flagged · loading sourceindex.jsView file
1'use strict';
L2: var pkg = require('./package.json');
L3: var path = require('path');
Medium
prebuilds/linux-x64/metrics.nodeView file
•path = prebuilds/linux-x64/metrics.node
kind = native_binary
sizeBytes = 16560
magicHex = [redacted]
Medium
Ships Native Binary
Package ships native binary artifacts.
prebuilds/linux-x64/metrics.nodeView on unpkgFindings
3 Medium1 Low
MediumDynamic Requireindex.js
MediumEnvironment Vars
MediumShips Native Binaryprebuilds/linux-x64/metrics.node
LowNo License
Affected versions and remediation
This report applies to @galicia-toolkit-nestjs/commons@999.0.7.
See all versions of @galicia-toolkit-nestjs/commons for other recorded verdicts.
- Avoid installing @galicia-toolkit-nestjs/commons@999.0.7. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.