MAL-2026-5685

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@malwguy/ecto-corsair-whisper-3d2a7c/MAL-2026-5685.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5685
Aliases
  • GHSA-636m-vpq6-g454
Published
2026-06-12T14:32:51Z
Modified
2026-06-12T20:01:52.310834011Z
Summary
Malicious code in @malwguy/ecto-corsair-whisper-3d2a7c (npm)
Details

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

Source: amazon-inspector (2b95a5cb65b01f03aebc1ab713877cb963b5de2cb4ddc38c03cdb01a7e469144)

On npm install, postinstall.js walks /, /app, /home, /opt, /root for files whose names match /flag|secret|env/i, reads their contents, scrapes process.env (including HOME, INITCWD, npmconfigregistry, all env keys, and hostname), and PUTs the collected data as a YAML manifest over plaintext HTTP to the hardcoded endpoint http://154.57.164.80:30543/api/modules/ECT-987654 (and ECT-472839). The script also includes explicit anti-analysis evasion: it checks hostname/cwd/HOME/INITCWD against /hscan|/home/scan|scan-|sandbox/i and silently exits if a scanner-like environment is detected, and additionally gates exfiltration on the cwd containing '/app/'. Installing this package causes immediate, automatic exfiltration of installer-side credentials and secrets to attacker-controlled infrastructure.

Source: ghsa-malware (a090f653d83ea2ab89269aac4dbbb4f750f5869e4a92b37a98223a0e9b223913)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ghsa-malware",
            "sha256": "a090f653d83ea2ab89269aac4dbbb4f750f5869e4a92b37a98223a0e9b223913",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-12T15:23:25.124891141Z",
            "id": "GHSA-636m-vpq6-g454",
            "modified_time": "2026-06-12T14:33:02Z"
        },
        {
            "source": "amazon-inspector",
            "sha256": "2b95a5cb65b01f03aebc1ab713877cb963b5de2cb4ddc38c03cdb01a7e469144",
            "modified_time": "2026-06-12T19:10:45Z",
            "import_time": "2026-06-12T19:44:17.231692319Z",
            "id": "IN-MAL-2026-006182",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @malwguy/ecto-corsair-whisper-3d2a7c

Package

Name
@malwguy/ecto-corsair-whisper-3d2a7c
View open source insights on deps.dev
Purl
pkg:npm/%40malwguy%2Fecto-corsair-whisper-3d2a7c

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@malwguy/ecto-corsair-whisper-3d2a7c/MAL-2026-5685.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "211b8f7d94f71c872700e1c9d2a818ad2e52af90f7ba27bebc457a2e98ee3746",
            "tlsh": "2991946e56f2356b02e7b9ac611b8513bb6a84433d0ddea0bb5c02a93f4e07c42f55cd"
        }
    ]
}