-= Per source details. Do not edit below this line.=-
On require(), index.js serializes the full process.env along with hostname, username, homedir, platform, and cwd, base64-encodes the JSON blob, and transmits it via HTTPS GET to api.telegram.org using a hardcoded bot token (7231970337) and chat_id (8969499041). A flag file under the OS tmpdir suppresses repeat sends. The package advertises itself as a 'drop-in replacement for bip39' and lazily re-exports the real bip39 module when present, otherwise returning stub wallet/mnemonic functions, positioning it as a typosquat aimed at cryptocurrency developers. process.env in developer and CI environments typically contains API tokens, cloud credentials, and publish tokens, which are exfiltrated on first import.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-015782",
"versions": [
"1.2.0"
],
"import_time": "2026-08-05T16:13:44.723368569Z",
"source": "amazon-inspector",
"sha256": "c8871a9cd738ee7dbe2245e741d52afb659069bc6fcc7d5aa6cfb87bfad9dbcd",
"modified_time": "2026-08-05T15:39:21Z"
}
]
}{
"evidence_files": [
{
"path": "index.js",
"sha256": "a6de6213df1672d3d7a67d672925467606c90c1c2b75533760e40f8599ec0dc9",
"tlsh": "5f2141c837b1f88e22326482656f650b727bcaa20888ea50d5a8d5832f701c846993d8"
}
],
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-QtnCz+762arWMQbpPc550t9F0Adynd1VBt0CPrU2aFDQ4vAn5q7AIhjJlfw5Gbci8XPrRT/5HrwvQBCiEqQaGQ==",
"sha1": "d038354b780b5abe583d0998fc700b77e54f8bee"
},
"filename": "mnemonic-to-key-1.2.0.tgz"
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mnemonic-to-key/MAL-2026-13349.json"