MAL-2026-4566

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fpjson-lang/MAL-2026-4566.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4566
Published
2026-05-26T01:00:25Z
Modified
2026-06-04T23:16:45.511492970Z
Summary
Malicious code in fpjson-lang (npm)
Details

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

Source: amazon-inspector (38aca097f261c15ef9901f259883679e2d4308d6e4053099643c8befe9a14318)

package.json declares "preinstall": "./bin/install-deps", causing npm to execute a ~954KB packed Linux ELF binary on every install. The package advertises itself as a tiny JSON-based functional language built on Ramda, and the actual library at dist/cjs/index.js is ~1.8KB of pure JavaScript with no native dependency — there is no legitimate reason for a native install helper. Strings extracted from the shipped binary include HTTP/1.1, POST/DELETE verbs, GitHub API version 2022-11-28, USERPROFILE, TLS/crypto primitives (RSA_PKCS1_, Ed25519), PTRACE, and LIBBPF_0.0 — a feature set (HTTP client + GitHub API + ptrace + crypto) wholly unrelated to a JSON parser. The binary is packed and opaque to static review. The combination of (a) auto-execution at install time via preinstall, (b) shipped opaque native binary, (c) capability set entirely unrelated to the package's declared purpose, and (d) absent source/build manifest matches the install-time dropper pattern: arbitrary attacker-controlled code runs on every installer's machine on npm install.

Source: google-open-source-security (146faaf0d97c6a533a969bc3f3f117811f9317dc865ed4ab37f1679842ddeaae)

This package was compromised as part of the IronWorm campaign. This campaign executes a malicious binary payload during installation via a preinstall hook. The payload is a Rust-built infostealer that targets developer environments, scanning for and harvesting credentials related to cloud providers, object storage, databases, source-control, package registries, and AI developer tools. It also targets cryptocurrency wallets, specifically injecting a malicious JavaScript hook into the Exodus desktop wallet to capture passwords and recovery phrases. Furthermore, the malware exhibits worm-like behavior by stealing GitHub and NPM credentials to push malicious updates to the victim's repositories and publish trojanized packages, and it uses an eBPF-based kernel rootkit to hide its processes and network connections on Linux systems.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-05-26T01:00:25Z",
            "versions": [
                "0.1.7"
            ],
            "sha256": "38aca097f261c15ef9901f259883679e2d4308d6e4053099643c8befe9a14318",
            "id": "IN-MAL-2026-004819",
            "source": "amazon-inspector",
            "import_time": "2026-05-26T05:53:20.664155847Z"
        },
        {
            "modified_time": "2026-06-04T22:28:51.769005667Z",
            "versions": [
                "0.1.7"
            ],
            "sha256": "146faaf0d97c6a533a969bc3f3f117811f9317dc865ed4ab37f1679842ddeaae",
            "source": "google-open-source-security",
            "import_time": "2026-06-04T22:42:01.227855Z"
        }
    ]
}
References
Credits

Affected packages

npm / fpjson-lang

Package

Affected ranges

Affected versions

0.*
0.1.7

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "bdf3472b6bbee1d09c46c67c850f2f57afea55b46f30daa9359d4cebe06b8469",
            "tlsh": "22f0f030d8319ea318d961e8187a01a3a6a258039498fc1c33dba20d8e0e65b24fd9bd",
            "path": "package.json"
        },
        {
            "sha256": "36abd242ddaa27f0160c539377a0e92cf781c1695137850acc87e3892b436d36",
            "tlsh": "0c2533ab0025062b904d957a58963bd279c17c81afcc3662664dae742fb59c3cf63fc3",
            "path": "bin/install-deps"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-mmKbSWMXEkJ/ZhNxOaNF+Psxyd7izGU0syF90qTyySelSVoO61hHMCXgOng2iHgXDrbPGof6Bd//BjWcotHb/w==",
                "sha1": "a3ccfcb005e6f2c8bb2dfe1863097026501727ce"
            },
            "filename": "fpjson-lang-0.1.7.tgz"
        }
    ]
}
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/fpjson-lang/MAL-2026-4566.json"