-= Per source details. Do not edit below this line.=-
Package advertises itself as a drop-in replacement for bip39 and exposes stub wallet functions (createWallet, generateMnemonic) to attract wallet-handling projects. On module load, index.js reads the full process.env dictionary along with hostname, username, home directory, platform, and cwd, JSON-encodes and base64-encodes the payload, and transmits it as a URL query parameter to a hardcoded Telegram Bot API sendMessage endpoint (bot 7231970337, chat 8969499041). A temporary flag file is written to suppress repeated sends. Environment variables in developer and CI environments routinely contain cloud credentials, npm/GitHub tokens, and database secrets, so the require-time beacon is a direct credential-theft channel controlled by the package author.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-013434",
"import_time": "2026-08-05T07:06:47.358744543Z",
"sha256": "c373b3f6b1c60d079fb7c63d13a51f7e42ee41feeff2c04c5ab925ad5dad41fb",
"modified_time": "2026-08-05T06:22:38Z",
"versions": [
"1.2.0"
],
"source": "amazon-inspector"
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-wnBKu9HW0WgNkt+6Ucg3gfPxK7O7qNi5tYgwG30GVexX6KhuqgiWxwE08THpl98L2ZhoRK7Z86L9ibkBqjVX8A==",
"sha1": "7a85705cbb7ad50a1866c5b521c9a669a958a39b"
},
"filename": "mnemonic-to-key-1.2.0.tgz"
}
],
"evidence_files": [
{
"sha256": "a6de6213df1672d3d7a67d672925467606c90c1c2b75533760e40f8599ec0dc9",
"path": "index.js",
"tlsh": "5f2141c837b1f88e22326482656f650b727bcaa20888ea50d5a8d5832f701c846993d8"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/mnemonic-to-key/MAL-2026-12097.json"