MAL-2026-6688

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/console-fmt-cli/MAL-2026-6688.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6688
Published
2026-06-30T00:00:00Z
Modified
2026-06-30T21:01:39.467667461Z
Summary
Malicious code in console-fmt-cli (npm)
Details

Malicious npm package published as part of a coordinated DeFi-themed infostealer campaign. console-fmt-cli uses a side-loader technique: it declares decimal-format-core >=3.0 as a dependency, which contains a dropper that executes at install time via a postinstall hook. The dropper fetches a second-stage infostealer from a remote C2 (logstream-api.online) that harvests cryptocurrency wallet vaults (MetaMask, Phantom, Solflare, OKX, Coinbase, TrustWallet, Backpack, TronLink), browser cookies and credentials, SSH keys, AWS credentials, .npmrc tokens, Docker config, shell history, and password manager databases.

Database specific
{
    "malicious-packages-origins": null
}
References
Credits

Affected packages

npm / console-fmt-cli

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

iocs
{
    "domains": [
        "logstream-api.online"
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/console-fmt-cli/MAL-2026-6688.json"