# GHSA-43V2-P79H-PJP9: Malicious code in @galicia-toolkit-nestjs-20/archetype (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-09
- Modified: 2026-10-12

## Affected versions

- @galicia-toolkit-nestjs-20/archetype (npm): 999.0.2
- @galicia-toolkit-nestjs-20/archetype (npm): 999.0.1
- @galicia-toolkit-nestjs-20/archetype (npm): all versions

## Description

## Source: amazon-inspector (662603823964bdbc871f386498e949d768c84d99645690ee3b5e904b458536db)
On module load, index.js unconditionally require()s a bundled native binary at prebuilds/<platform>-<arch>/metrics.node inside a try/catch that swallows errors. The ELF reads installer-side credential-grade 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, uid, cwd, and uname, and POSTs a JSON payload to the hardcoded host oob.s4yhii.com via a raw 'POST /native HTTP/1.0' request. The binary calls fork+setsid to detach from the host process. The exfiltration destination is embedded inside the compiled addon rather than exposed in JavaScript, placing it beyond source-level inspection. The declared package scope (NestJS archetype toolkit) has no relationship to the destination host or to native-code execution, and the package ships no C/C++ sources corresponding to the shipped.node binary.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9a014eb4a5aff1fdf09a5678f9104227cff82a87/osv/malicious/npm/@galicia-toolkit-nestjs-20/archetype/MAL-2026-17725.json))

## References

- https://github.com/ossf/malicious-packages/blob/9a014eb4a5aff1fdf09a5678f9104227cff82a87/osv/malicious/npm/@galicia-toolkit-nestjs-20/archetype/MAL-2026-17725.json
- https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype/v/999.0.1
- https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype/v/999.0.2
- https://github.com/ossf/malicious-packages/blob/4bbe4252bb93453d5d180c366a3ae56a13e444c8/osv/malicious/npm/@galicia-toolkit-nestjs-20/archetype/MAL-2026-17725.json
- https://www.npmjs.com/package/@galicia-toolkit-nestjs-20/archetype
- https://github.com/advisories/GHSA-43v2-p79h-pjp9

Page: https://cve.now/GHSA-43V2-P79H-PJP9

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
