MAL-2026-6791

    Dashboard / Malicious Package / MAL-2026-6791

    MAL-2026-6791

    Published: 1 Jul 2026Last Modified: 9 Jul 2026

    Summary: Malicious code in npm-show-date-proof-strings (npm)

    Details: Source: amazon-inspector (884f2797ddf6247c906bb97e72b3c0891551b260980811d50c7211ab2ea0bbcf) The package's postinstall.js runs on every `npm install` and collects the installer's username (via `whoami` and `os.userInfo()`), hostname (`os.hostname()`), platform (`process.platform`), and Node version, then transmits them as query parameters via `https.get()` to a hardcoded endpoint at https://testnpm.byte.eyes.sh/npm-proof. The destination is author-controlled and undocumented; the installer has no opportunity to opt out. The package name ("npm-show-date-proof-strings") and an embedded NONCE string ("proof-2026-change-this-random-string") indicate this is a proof-of-execution beacon, but regardless of framing, it is unconsented host-identifier collection on install with no legitimate installer-facing purpose. Source: ossf-package-analysis (a2ca450bd74580e87a2f428fd6fcfe66ac30e7a2a88e214da7d3628915549db6) The OpenSSF Package Analysis project identified 'npm-show-date-proof-strings' @ 1.0.3 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.

    Affected packages

    Package

    Name: npm-show-date-proof-strings

    Purl: pkg:npm/npm-show-date-proof-strings

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.3
    1.0.4