NetSight
kritischMalware-Meldung

GHSA-hrh5-3wg6-737f

Malicious code in zzf7rce-probe (npm)

Auswirkung

## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0730aa902aca078a6d9faa89bcf7b86fb9816157/osv/malicious/npm/zzf7rce-probe/MAL-2026-20427.json))

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmzzf7rce-probe= 1.0.0nicht erfasst

Schwachstellenklasse

Referenzen