Malicious code in @galicia-toolkit-nestjs/archetype (npm)
@galicia-toolkit-nestjs/archetype is a dependency confusion package published to npm on 2026-10-09 by the account s4yhii__, targeting the internal @galicia-toolkit-* / @brick-v2 package namespaces with inflated versions (e.g. 999.0.x). Early versions resolve ..dc.oob.s4yhii.com via DNS to beacon the victim's hostname. Later versions run `node index.js` from a preinstall hook, which loads a bundled native addon (prebuilds/-/metrics.node, Linux and Windows builds). The addon forks a detached process that collects hostname, username, OS/arch, cwd and the full values of CI/cloud secrets from environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, SYSTEM_ACCESSTOKEN, AZURE_DEVOPS_EXT_PAT and others) and sends them as JSON via HTTP POST /native to oob.s4yhii.com:9999. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (63cdc34da85584342e27bc84d22c01a826c71020b7bf07987626cbe457e2e560) 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
- Products
- @galicia-toolkit-nestjs/archetype
- Affected versions
- 999.0.1, 999.0.5, 999.0.6
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 06:03 UTC · Revision 1
Source evidence
Malicious code in @galicia-toolkit-nestjs/archetype (npm)
core-osv · Original sourcePublished 9 Oct 2026, 00:00 UTC
@galicia-toolkit-nestjs/archetype is a dependency confusion package published to npm on 2026-10-09 by the account s4yhii__, targeting the internal @galicia-toolkit-* / @brick-v2 package namespaces with inflated versions (e.g. 999.0.x). Early versions resolve ..dc.oob.s4yhii.com via DNS to beacon the victim's hostname. Later versions run `node index.js` from a preinstall hook, which loads a bundled native addon (prebuilds/-/metrics.node, Linux and Windows builds). The addon forks a detached process that collects hostname, username, OS/arch, cwd and the full values of CI/cloud secrets from environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, SYSTEM_ACCESSTOKEN, AZURE_DEVOPS_EXT_PAT and others) and sends them as JSON via HTTP POST /native to oob.s4yhii.com:9999. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (63cdc34da85584342e27bc84d22c01a826c71020b7bf07987626cbe457e2e560) 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
osv:MAL-2026-17721
@galicia-toolkit-nestjs/archetype
Fixed versions: Not specified
Complete source record
{
"id": "99c838583918aa0d612f35a3f9751f5daa4b7a74945316eee6241daeb29a255b",
"url": "https://osv.dev/vulnerability/MAL-2026-17721",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @galicia-toolkit-nestjs/archetype (npm)",
"summary": "@galicia-toolkit-nestjs/archetype is a dependency confusion package published to npm on 2026-10-09 by the account s4yhii__, targeting the internal @galicia-toolkit-* / @brick-v2 package namespaces with inflated versions (e.g. 999.0.x). Early versions resolve ..dc.oob.s4yhii.com via DNS to beacon the victim's hostname. Later versions run `node index.js` from a preinstall hook, which loads a bundled native addon (prebuilds/-/metrics.node, Linux and Windows builds). The addon forks a detached process that collects hostname, username, OS/arch, cwd and the full values of CI/cloud secrets from environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, SYSTEM_ACCESSTOKEN, AZURE_DEVOPS_EXT_PAT and others) and sends them as JSON via HTTP POST /native to oob.s4yhii.com:9999. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (63cdc34da85584342e27bc84d22c01a826c71020b7bf07987626cbe457e2e560) 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",
"evidence": "osv:MAL-2026-17721",
"products": [
{
"name": {
"value": "@galicia-toolkit-nestjs/archetype",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "999.0.6",
"evidence": "/affected/0/versions"
},
{
"value": "999.0.5",
"evidence": "/affected/0/versions"
},
{
"value": "999.0.1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17721",
"aliases": [
"MAL-2026-17721"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@galicia-toolkit-nestjs/archetype",
"purl": "pkg:npm/%40galicia-toolkit-nestjs/archetype",
"ecosystem": "npm"
},
"versions": [
"999.0.6",
"999.0.5",
"999.0.1"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@galicia-toolkit-nestjs/archetype/MAL-2026-17721.json",
"indicators": {
"evidence_files": [
{
"path": "prebuilds/linux-x64/metrics.node",
"tlsh": "8272641bb261ce3bc4dc4278015b5ab0b1b25474e77353231b10a1ba3e927485ebaf9a",
"sha256": "daedefd6a8a02449e29a163a1a92edc0859c0cdb814ec1024b6615fa78bdd375"
},
{
"path": "package.json",
"tlsh": "a5c02b68c1321c2f0e004f0cac812c1a41ee0025c08cc40801314330c36b9f841cc02b",
"sha256": "4eb73c696d51d5cf52bed5a67821fa7e4519db7d17b2f698ec021ff4c06562f1"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "902dc5174e56008d314d6ddfa9bce80119fa7b88",
"sha512_sri": "sha512-hG4N7PE9q5t/hU1YlAZgPmNFB5pIZD1H8Ma45DsewlpPSZUpOkxvaUdFZQCWFGGn+XgRTmCMqbBRaYt5EkuPrQ=="
},
"filename": "archetype-999.0.6.tgz"
}
]
}
}
}
],
"modified": "2026-10-12T05:30:05.908281229Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@galicia-toolkit-nestjs/archetype/v/999.0.6",
"https://www.npmjs.com/package/@galicia-toolkit-nestjs/archetype/v/999.0.5",
"https://www.npmjs.com/package/@galicia-toolkit-nestjs/archetype/v/999.0.1",
"https://www.npmjs.com/package/@galicia-toolkit-nestjs/archetype"
],
"provider_metadata": {
"iocs": {
"urls": [
"http://oob.s4yhii.com:9999/native"
],
"files": [
{
"note": "Loader: DNS hostname beacon to *.dc.oob.s4yhii.com, or loads the native exfiltration addon (run via preinstall).",
"paths": [
"index.js"
],
"source": "PACKAGE_ARCHIVE"
},
{
"note": "Native addon that exfiltrates host info and CI/cloud secret env vars to oob.s4yhii.com:9999.",
"paths": [
"prebuilds/linux-x64/metrics.node",
"prebuilds/win32-x64/metrics.node"
],
"source": "PACKAGE_ARCHIVE"
}
],
"domains": [
"oob.s4yhii.com"
]
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021304",
"sha256": "3db386138ce010bdfebab41e059e27200c763fc8bde6e2597ed4b51db8bfe6ad",
"source": "amazon-inspector",
"versions": [
"999.0.6"
],
"import_time": "2026-10-09T13:46:18.442246427Z",
"modified_time": "2026-10-09T13:38:22Z"
},
{
"id": "IN-MAL-2026-021326",
"sha256": "63cdc34da85584342e27bc84d22c01a826c71020b7bf07987626cbe457e2e560",
"source": "amazon-inspector",
"versions": [
"999.0.5"
],
"import_time": "2026-10-09T13:46:20.123359389Z",
"modified_time": "2026-10-09T13:41:36Z"
},
{
"id": "IN-MAL-2026-021335",
"sha256": "b404443b6e850e1270b32271dea903ac546adb0226a37ba32b5a2e8b62bfbb52",
"source": "amazon-inspector",
"versions": [
"999.0.1"
],
"import_time": "2026-10-09T13:46:20.803605693Z",
"modified_time": "2026-10-09T13:43:00Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 298635,
"published_at": "2026-10-09T00:00:00+00:00"
}