MAL-2026-20427

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zzf7rce-probe/MAL-2026-20427.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20427
Published
2026-11-24T05:38:28Z
Modified
2026-11-24T06:30:07Z
Summary
Malicious code in zzf7rce-probe (npm)
Details

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

Source: amazon-inspector (037e10c2a14fc32a98632ee9ddef3cadd138f1e85eb270a6c58e8d4571d1e586)

zzf7rce-probe@1.0.0 declares a postinstall hook (node./probe.js) that automatically runs on npm install. probe.js uses child_process.execSync with /bin/bash to collect host identity data (id, id -u, id -un, hostname) and probes for a Docker control-socket privilege-escalation primitive at /var/run/docker.sock. It emits the collected fields inside an ==F7-PROOF== block on stderr and then calls process.exit(1) so npm persists the output in its error report. An in-source comment documents the intended exfiltration path: a specific downstream application (tianji-function) stores this install error output in fn_dependency.install_log, which is readable via GET /api/function/dependencies, turning the downstream app's log store into the retrieval channel. The package self-labels as an authorized security probe, but nothing in the code restricts execution to any specific target — the host recon fires on any machine that installs it.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023078",
            "import_time":  "2026-11-24T06:19:37.224021281Z",
            "modified_time":  "2026-11-24T05:38:28Z",
            "sha256":  "037e10c2a14fc32a98632ee9ddef3cadd138f1e85eb270a6c58e8d4571d1e586",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / zzf7rce-probe

Package

Name
zzf7rce-probe
View open source insights on deps.dev
Purl
pkg:npm/zzf7rce-probe

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "probe.js",
            "sha256":  "3493988b45dd6617ac01c282265f073f9bc7bf8317df43fd6331b42d4e751232",
            "tlsh":  "1b2135a9eaeeb67016e32591141f9466398b803a2754763095dfd151570b8bc0133a7f"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "zzf7rce-probe-1.0.0.tgz",
            "hashes":  {
                "sha1":  "760290edb8278b8b0d3f3dfdaddf342c929e4f6b",
                "sha512_sri":  "sha512-yFKuO2aOD1/99VM0HnpdqOr0Q5UDbB4yqj5yl/lF4tA+aP21AkBmnv/MaMIgube7z8rj0gZ9D14FU4BxA015Iw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zzf7rce-probe/MAL-2026-20427.json"