VYPR

npm · Malicious package advisory

Malware

js-array-tokens

GHSA-ffxr-prpr-hxxc

Malicious code in js-array-tokens (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.2`

## Source: amazon-inspector (3d54ea75aacb3eed3e1f1739093eb9b0092203fafca42d590bce038530056023)
On module load, index.js reconstructs a URL from a char-code array that decodes to https://access-token-delta.vercel.app/, fetches a JSON response, and passes the response's `token` field directly to `eval()`. Any code the remote host returns executes in the Node.js process that requires this package. The destination is hidden as a numeric array reconstructed via String.fromCharCode, concealing the endpoint from plain-string inspection. The combination of import-time fetch-and-eval against a char-code-obfuscated remote endpoint is a remote-loader pattern with no legitimate use.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e4956292c0cf024519ebae88e8b315a0af37a829/osv/malicious/npm/js-array-tokens/MAL-2026-15555.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/e4956292c0cf024519ebae88e8b315a0af37a829/osv/malicious/npm/js-array-tokens/MAL-2026-15555.json
- https://www.npmjs.com/package/js-array-tokens/v/1.0.2
- https://github.com/advisories/GHSA-ffxr-prpr-hxxc

Compromised versions (1)

  • = 1.0.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.