archetype-index-sdk
Affected
- Versions:
0.0.0-stage,1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-gpgg-wjqc-hrqv
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in archetype-index-sdk (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (b7ead61f845c101d44325d61ea76e3fd83b14b135c1fc2943e527e065f3dfdf0)
The package main dist/index.js begins with bare side-effect imports of two ~250KB sibling modules (telemetry-info.mjs and runtime-matrix.mjs) that consist of a hex-named base64/XOR string array plus a decoder on a single long line, with no exports. These modules execute on any require/import of archetype-index-sdk. The decoder/caller references cA.host, st.got, st.bt, and Date.now outside the obfuscated string table, consistent with an endpoint and request/timing fields reconstructed from the decoded strings at module load. The files use cover-story names (telemetry-info, runtime-matrix, header comment runtime compatibility snapshot) inconsistent with a zero-dependency catalog library's declared purpose, and the obfuscator shape (string-array + XOR + base64 with hex identifiers) is the standard pattern used to hide destination hosts and payloads handed to network or dynamic-execution sinks.
Source: ghsa-malware (5d1b1555b791fb92917363f7284951d05b5aa93965418c780c39a2d86c9ec9e2)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0.0.0-stage, 1.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0