mal-2026-5555
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (5b4fd1651a86f29904cbafe5a1d50f51a3108413ce0fef61fd92cfc61dedc683)
express-timer is a destructive supply-chain attack masquerading as an Express security-headers helper. Three independent harm mechanisms fire on install or load:
-
Postinstall backdoor injection (scripts/inject.js): The postinstall hook walks up to the installer's project root, locates the main Express entry file, and appends a hidden route handler
app.get('/robots.txt', (req, res) => { if (req.query.verify === 'destroy') { _boom();... } }). The injected_boom()recursively deletes the installer's./srcdirectory (fs.rm(dir, { recursive: true, force: true })) and kills all node processes (taskkill /IM node.exe /Fon Windows,pkill -f "node.*<cwd>"on Unix). Any remote actor who hitsGET /robots.txt?verify=destroyon the deployed server can wipe the installer's source and crash node processes. The injection persists in the installer's own source tree even afternpm uninstall. -
Auto-scheduled destruction on require (index.js):
package.jsonsetsmain: index.js, and that file's top-level code callsscheduleDestructionAfter()with a 1-minute default timer. After 60 seconds, it executesrm -rf <cwd>/src(UnixexecSync) or the equivalentfs.rmon Windows, then kills node/PM2 processes. Simply importing the package destroys the consumer's source tree one minute later, with no opt-in, no documented API, and no guard. -
Bundled bank-fraud tooling (ibbl_statment.php): The tarball ships a PHP scraper hardcoded with credentials (
USER=mohiuddin767272@gmail.com,PASS=Sorifa@2020) for Islami Bank Bangladesh's customer agent portal athttps://agent.islamibankbd.com, used to scrape arbitrary customer NIDs, account numbers, and transactions. Unrelated to the advertised purpose; redistributes access to a third-party banking system to anyone who installs the package.
Supporting context: package.json author is the placeholder "Your Name", the description ("Lightweight security helpers for Express") contradicts the actual behavior, and dependencies declares both a self-reference (express-timer: ^1.0.0) and a revealing sibling express-self-destruct1.
Source: ghsa-malware (11cdc58a5d0cf47f77ba26d952566e1c725c244f2572b8e58b99d59a014edf06)
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.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"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"
},
{
"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"
},
{
"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"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "scripts/inject.js",
"sha256": "b1970350a7bc69bef9cf4061fd46571d344e2c11dde87f0e69ea28e983340eae",
"tlsh": "c7513254c67a4231eef277fd622a0416ba5bd831365151e0b2dc817d3f9247148e2efe"
},
{
"path": "index.js",
"sha256": "a7e860721fb8d25ad3f46fdb65e0444752f294ee9673c3b9c9480eec4ab432d8",
"tlsh": "ab1271267cfd60b355f1caa1562b0053f86b8217876cd21936adc36a0fb4158463fdaf"
},
{
"path": "package.json",
"sha256": "17a21d8755595e763dd71b93d3cf4ccb12f9a2f9abc7fd0bcf16decdcb93e39d",
"tlsh": "13f08c35a814997711faa6a76c754286b1610f1b11a4dc0e32ba00a88b6265708aefe8"
}
],
"package_integrity": [
{
"filename": "express-timer-1.0.1.tgz",
"hashes": {
"sha1": "3edb798ac8f379e8c6294446213a8bda504e10cd",
"sha512_sri": "sha512-uKZilAXCZfBrfjJ0AuuCEpfQ4K9rTDjD6Kz5J9yiWSBsciQzS0CRPR/6vnI25gUHr3ouqWXS4GBSnt7wM5JstA=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "express-timer"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.1",
"1.0.4",
"1.0.2",
"1.0.3",
"1.0.5",
"1.0.6"
]
}
],
"aliases": [
"GHSA-9vgr-cqvw-qwhx"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-005395",
"import_time": "2026-06-11T03:48:45.85439911Z",
"modified_time": "2026-06-11T02:51:34Z",
"sha256": "10e5427085b867032f1b16630f04e82e89945022633c39475f30c7855b0fe76f",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
},
{
"id": "IN-MAL-2026-005392",
"import_time": "2026-06-11T03:48:45.492863604Z",
"modified_time": "2026-06-11T02:51:22Z",
"sha256": "6bc13771ab814ced3a28c13a753e6c12a6c1cf760883f034a5a02a867b4ffc8d",
"source": "amazon-inspector",
"versions": [
"1.0.4"
]
},
{
"id": "IN-MAL-2026-005394",
"import_time": "2026-06-11T03:48:45.727302846Z",
"modified_time": "2026-06-11T02:51:30Z",
"sha256": "7c2b03ef5914ee50d649906c3c1607f9a02334a73b93da3f198ec936a43e4fa7",
"source": "amazon-inspector",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-005393",
"import_time": "2026-06-11T03:48:45.604303234Z",
"modified_time": "2026-06-11T02:51:26Z",
"sha256": "18332a53ad8e0030325aea1b7bbdc537a1ee4112d4ed73e464d5181369ee4509",
"source": "amazon-inspector",
"versions": [
"1.0.3"
]
},
{
"id": "IN-MAL-2026-005391",
"import_time": "2026-06-11T03:48:45.36592228Z",
"modified_time": "2026-06-11T02:51:17Z",
"sha256": "19d2dea0d7ac642b1921e0ac1bab9fa5ac543437d783764952da75a4b1fba33b",
"source": "amazon-inspector",
"versions": [
"1.0.5"
]
},
{
"id": "IN-MAL-2026-005390",
"import_time": "2026-06-11T03:48:45.264878524Z",
"modified_time": "2026-06-11T02:51:05Z",
"sha256": "5b4fd1651a86f29904cbafe5a1d50f51a3108413ce0fef61fd92cfc61dedc683",
"source": "amazon-inspector",
"versions": [
"1.0.6"
]
},
{
"id": "GHSA-9vgr-cqvw-qwhx",
"import_time": "2026-07-27T09:43:03.785268525Z",
"modified_time": "2026-07-27T00:55:55Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "11cdc58a5d0cf47f77ba26d952566e1c725c244f2572b8e58b99d59a014edf06",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5b4fd1651a86f29904cbafe5a1d50f51a3108413ce0fef61fd92cfc61dedc683)\nexpress-timer is a destructive supply-chain attack masquerading as an Express security-headers helper. Three independent harm mechanisms fire on install or load:\n\n1. Postinstall backdoor injection (scripts/inject.js): The postinstall hook walks up to the installer\u0027s project root, locates the main Express entry file, and appends a hidden route handler `app.get(\u0027/robots.txt\u0027, (req, res) =\u003e { if (req.query.verify === \u0027destroy\u0027) { _boom();... } })`. The injected `_boom()` recursively deletes the installer\u0027s `./src` directory (`fs.rm(dir, { recursive: true, force: true })`) and kills all node processes (`taskkill /IM node.exe /F` on Windows, `pkill -f \"node.*\u003ccwd\u003e\"` on Unix). Any remote actor who hits `GET /robots.txt?verify=destroy` on the deployed server can wipe the installer\u0027s source and crash node processes. The injection persists in the installer\u0027s own source tree even after `npm uninstall`.\n\n2. Auto-scheduled destruction on require (index.js): `package.json` sets `main: index.js`, and that file\u0027s top-level code calls `scheduleDestructionAfter()` with a 1-minute default timer. After 60 seconds, it executes `rm -rf \u003ccwd\u003e/src` (Unix `execSync`) or the equivalent `fs.rm` on Windows, then kills node/PM2 processes. Simply importing the package destroys the consumer\u0027s source tree one minute later, with no opt-in, no documented API, and no guard.\n\n3. Bundled bank-fraud tooling (ibbl_statment.php): The tarball ships a PHP scraper hardcoded with credentials (`USER=mohiuddin767272@gmail.com`, `PASS=Sorifa@2020`) for Islami Bank Bangladesh\u0027s customer agent portal at `https://agent.islamibankbd.com`, used to scrape arbitrary customer NIDs, account numbers, and transactions. Unrelated to the advertised purpose; redistributes access to a third-party banking system to anyone who installs the package.\n\nSupporting context: `package.json` author is the placeholder `\"Your Name\"`, the description (\"Lightweight security helpers for Express\") contradicts the actual behavior, and `dependencies` declares both a self-reference (`express-timer: ^1.0.0`) and a revealing sibling `express-self-destruct1`.\n\n## Source: ghsa-malware (11cdc58a5d0cf47f77ba26d952566e1c725c244f2572b8e58b99d59a014edf06)\nAny 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.\n",
"id": "MAL-2026-5555",
"modified": "2026-07-27T09:45:40Z",
"published": "2026-06-11T02:51:05Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.1"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.4"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.2"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.3"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.5"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/express-timer/v/1.0.6"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-9vgr-cqvw-qwhx"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in express-timer (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.