-= Per source details. Do not edit below this line.=-
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.
The OpenSSF Package Analysis project identified 'npm-show-date-proof-strings' @ 1.0.3 (npm) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"import_time": "2026-07-05T23:26:10.510573376Z",
"modified_time": "2026-07-01T16:11:17Z",
"sha256": "a2ca450bd74580e87a2f428fd6fcfe66ac30e7a2a88e214da7d3628915549db6",
"source": "ossf-package-analysis",
"versions": [
"1.0.3"
]
},
{
"id": "IN-MAL-2026-009370",
"import_time": "2026-07-09T17:19:30.155196483Z",
"modified_time": "2026-07-09T17:02:23Z",
"sha256": "2d30ee041cbe9a4b74e08cc0e493901460cc6563874723f620160c73908ed88a",
"source": "amazon-inspector",
"versions": [
"1.0.4"
]
},
{
"id": "IN-MAL-2026-009563",
"import_time": "2026-07-09T22:56:34.690909543Z",
"modified_time": "2026-07-09T22:14:01Z",
"sha256": "884f2797ddf6247c906bb97e72b3c0891551b260980811d50c7211ab2ea0bbcf",
"source": "amazon-inspector",
"versions": [
"1.0.3"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "postinstall.js",
"sha256": "62500f9dafe8ee32e328561a4b27003fec751450576f9ba0274912377aa76ee2",
"tlsh": "74510e9854d77166eef16fa4c6160009fb6bc173620087f2f6fc49502f7756402a1eec"
},
{
"path": "package.json",
"sha256": "6dc318498edb8c8d112ef6cd5e7dc218ffee2ccb5f1a834a55e0435aa413566f",
"tlsh": "9ee0cd948c205a633cc85a784d63840679344e2705247d186bd760488b5a77b44fe65d"
}
],
"package_integrity": [
{
"filename": "npm-show-date-proof-strings-1.0.4.tgz",
"hashes": {
"sha1": "bce1c5194188fbaf1646864fb1b0bc633b7d01f5",
"sha512_sri": "sha512-0DG1lVsxWWVnhxnl1XxHwXgmm15oHWfdrfEdcjwS4G71DYoigihU+n9Gq1nfMdgsiGY1Qj/ZqvyCELm7cuvOJg=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-show-date-proof-strings/MAL-2026-6791.json"