@galicia-toolkit-nestjs/archetype@999.0.5
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-17721 confirms this npm version as malicious.
Advisory
MAL-2026-17721
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @galicia-toolkit-nestjs/archetype (npm)
Details
The package ships a minimal index.js stub that loads a prebuilt native ELF addon at prebuilds/linux-x64/metrics.node on require(). The addon reads CI/CD and cloud credentials from the environment (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, GITHUB_REPOSITORY) along with host identifiers (hostname, uid/pwuid, cwd, uname) and POSTs them as JSON to oob.s4yhii.com via a raw socket (POST /native HTTP/1.0). The addon also imports fork and setsid from libc and detaches as a background process on load, giving the payload a lifetime beyond the Node parent. The scoped name combined with a 999.0.5 version and UNLICENSED metadata fits the dependency-confusion shape intended to beat an internal package's version during resolution, meaning any CI pipeline that resolves this scope will leak long-lived cloud, npm, and GitHub Actions tokens to an attacker-controlled out-of-band host.
Independent scan evidence
public snapshotBehavioral surface
DynamicRequire
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
2 Medium1 Low
MediumDynamic Requireindex.js
MediumShips Native Binaryprebuilds/linux-x64/metrics.node
LowNo License
Affected versions and remediation
This report applies to @galicia-toolkit-nestjs/archetype@999.0.5.
See all versions of @galicia-toolkit-nestjs/archetype for other recorded verdicts.
- Avoid installing @galicia-toolkit-nestjs/archetype@999.0.5. 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.