MAL-2026-5691

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ecto-spirit-win-k4n8/MAL-2026-5691.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5691
Aliases
  • GHSA-h2hh-hg37-42gq
Published
2026-06-12T14:32:51Z
Modified
2026-07-09T22:17:01.498022653Z
Summary
Malicious code in ecto-spirit-win-k4n8 (npm)
Details

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

Source: amazon-inspector (8082c12f69dfbb45e83017fa0baf4f88f9500649dd443e80f2d7d4f858020814)

The package ships a postinstall.js that imports child_process and references HTTP GET and hostname operations. Without traced-code corroboration of how these primitives are composed (e.g., whether GET fetches attacker-controlled content that is then executed, or whether hostname is exfiltrated to a remote endpoint), the pattern is consistent with both benign install diagnostics and an exfil/dropper shape. Manual review of postinstall.js is needed to confirm intent before publishing a verdict.

Source: ghsa-malware (bca2b14b2c93ed832aa83a138c20bc53b4e053cf282ef5878333b1f50b803e55)

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": [
        {
            "sha256": "bca2b14b2c93ed832aa83a138c20bc53b4e053cf282ef5878333b1f50b803e55",
            "id": "GHSA-h2hh-hg37-42gq",
            "import_time": "2026-06-12T15:23:25.131213622Z",
            "modified_time": "2026-06-12T14:32:52Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-009482",
            "modified_time": "2026-07-09T22:01:55Z",
            "import_time": "2026-07-09T22:02:35.629379746Z",
            "sha256": "8082c12f69dfbb45e83017fa0baf4f88f9500649dd443e80f2d7d4f858020814",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / ecto-spirit-win-k4n8

Package

Name
ecto-spirit-win-k4n8
View open source insights on deps.dev
Purl
pkg:npm/ecto-spirit-win-k4n8

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "aaf531c0a93d94d8fe9323c65784c7a001388151fd6df8e0d298381408e0c246",
            "tlsh": "ff5155e551fab07043e265a8686bb50af67be493304ed8e1ba9c01663f9d4fc11f358c",
            "path": "postinstall.js"
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ecto-spirit-win-k4n8/MAL-2026-5691.json"