Advisory

MAL-2026-12416

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in poly-custom-api (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (a3263a9e2a986068fafa530a8e6862f9ba41cad05ecbd5b7b91752ca1c5af0c6)
The default export getPlugin in index.js constructs an HTTPS URL from split constants pointing at the bare IP 46.183.25.232:45000/icons/108, fetches the response, and passes the response field data.credits to new Function(...) with require, module, exports, process, Buffer, and global injected as parameters. Any caller invoking the exported function grants the remote endpoint arbitrary code execution in the Node.js process with full host privileges. The endpoint is disguised with icon/CDN vocabulary (iconDomain, font-awesome/svgs/brands, a 'bearrtoken' field literal 'logo') and an unused IconProvider map, while the package advertises itself as a 'custom API library' — the icon framing is cover for the fetch-and-eval path. The payload is mutable, unpinned, unauthenticated, and served over a bare-IP host unrelated to any legitimate publisher infrastructure.

Severity

Not rated by the source.

Dates

Published
2026-08-05 13:01 UTC
Modified
2026-09-24 09:30 UTC

Affected packages and fixes

poly-custom-api

npm · All systems

Affected

  • Versions: 5.3.1

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences