@galicia-toolkit-nestjs-20-lite/commons@999.0.2
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-17729 confirms this npm version as malicious.
Advisory
MAL-2026-17729
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @galicia-toolkit-nestjs-20-lite/commons (npm)
Details
package.json declares a preinstall hook `node index.js || true`, which require()'s a bundled native addon at prebuilds/<platform>-<arch>/metrics.node. On N-API registration the addon reads 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, and AZURE_DEVOPS_EXT_PAT, collects hostname/user/cwd, and POSTs the data as JSON to http://oob.s4yhii.com/native. The payload is concealed inside a compiled.node binary named `metrics` (symbol `do_report`, cover-story env var `_METRICS_PKG`, JSON field `src:native`) with no corresponding C/C++ source shipped; the package otherwise advertises itself as a NestJS commons library, and shipping a native socket-opening module is inconsistent with that purpose. The implausibly high version `999.0.3` on a `@...-lite/commons` scope is consistent with a dependency-confusion lure targeting an internal package name.
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-20-lite/commons@999.0.2.
See all versions of @galicia-toolkit-nestjs-20-lite/commons for other recorded verdicts.
- Avoid installing @galicia-toolkit-nestjs-20-lite/commons@999.0.2. 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.