-= Per source details. Do not edit below this line.=-
Package self-identifies as a dependency-confusion proof-of-concept aimed at an internal/private package name. The postinstall script (postinstall.js) prints the host's hostname and current timestamp to local stdout via console.log; it performs no network I/O, no remote fetch, no credential access, and no filesystem modification beyond what npm itself does on install. While the current payload is benign (local logging only), the package's stated purpose is to demonstrate that an organization installing the public name would unintentionally pull this package in place of an internal counterpart. Routing to human review so an organization can decide whether to claim/block the name in their internal namespace.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"malicious-packages-origins": [
{
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"id": "GHSA-94jg-r3hx-4v8v",
"source": "ghsa-malware",
"import_time": "2026-06-25T03:23:52.148135819Z",
"sha256": "d7f55251c2837eacfe7f8b0c2ab44077608dc2562f3c167dc1d2927b9f730fad",
"modified_time": "2026-06-25T02:16:09Z"
},
{
"modified_time": "2026-07-08T16:35:52Z",
"id": "IN-MAL-2026-008160",
"source": "amazon-inspector",
"import_time": "2026-07-08T17:01:35.470962896Z",
"sha256": "95ebb96758f051c0a5a1c8fe97fb05c898f2489f4567fb64fbd271eb103dcadc",
"versions": [
"0.0.1-poc"
]
}
]
}{
"evidence_files": [
{
"path": "postinstall.js",
"tlsh": "1ae0cdd81dccd63531f541c0b5501123f31f9b911615b869b48d829f46c59dcaa1557d",
"sha256": "42358988e311426670b107675055052dcb10e99024797bd340ac9113fc595b1a"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/two-factor-prompt-lib/MAL-2026-6414.json"
[
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
}
]