{"id":"GHSA-9vgr-cqvw-qwhx","revision":null,"records":[{"revision":"f52514de8e6b48da8472ee73fd2c2b5b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5555","aliases":["GHSA-9vgr-cqvw-qwhx"],"title":"Malicious code in express-timer (npm)","description":"\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'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 `./src` directory (`fs.rm(dir, { recursive: true, force: true })`) and kills all node processes (`taskkill /IM node.exe /F` on Windows, `pkill -f \"node.*<cwd>\"` on Unix). Any remote actor who hits `GET /robots.txt?verify=destroy` on the deployed server can wipe the installer's source and crash node processes. The injection persists in the installer's 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's top-level code calls `scheduleDestructionAfter()` with a 1-minute default timer. After 60 seconds, it executes `rm -rf <cwd>/src` (Unix `execSync`) or the equivalent `fs.rm` on 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.\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's 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","state":0,"publishedAt":"2026-06-11T02:51:05+00:00","modifiedAt":"2026-07-27T10:08:29.2340906+00:00","affected":[{"ecosystem":"npm","name":"express-timer","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.1","1.0.4","1.0.2","1.0.3","1.0.5","1.0.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/express-timer/v/1.0.1","https://www.npmjs.com/package/express-timer/v/1.0.4","https://www.npmjs.com/package/express-timer/v/1.0.2","https://www.npmjs.com/package/express-timer/v/1.0.3","https://www.npmjs.com/package/express-timer/v/1.0.5","https://www.npmjs.com/package/express-timer/v/1.0.6","https://github.com/advisories/GHSA-9vgr-cqvw-qwhx"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5555","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5555","identifiers":["MAL-2026-5555","GHSA-9vgr-cqvw-qwhx"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-24T02:25:33.0847164+00:00","complete":true,"records":1792,"lastAttemptAt":"2026-11-24T02:25:33.0847164+00:00","lastSuccessAt":"2026-11-24T02:25:33.2445477+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:33.2445478+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-56528d6eeae647e214610e36e24e1aa6fd489c089107383dc3f757ac1fe56546","complete":true,"records":430970,"lastAttemptAt":"2026-11-24T02:25:32.4099394+00:00","lastSuccessAt":"2026-11-24T02:25:32.3742089+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:32.4099394+00:00","snapshotPublishedAt":"2026-11-24T01:26:39+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4bc2ecd62e91438dad510b12ba4ce1b7","complete":false,"records":13935,"lastAttemptAt":"2026-11-24T02:32:07.0662483+00:00","lastSuccessAt":"2026-11-24T02:32:07.062+00:00","error":"312 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T02:32:07.062+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13659,"expectedIdentifiers":13982,"failedIdentifiers":312},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-24T02:25:33.0847164+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T02:25:33.0847164+00:00","lastSuccessAt":"2026-11-24T02:25:33.2453063+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:33.2453064+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8c33077d0c904a2e95d5c5fe37c4221a","complete":true,"records":13947,"lastAttemptAt":"2026-11-24T02:25:33.8341264+00:00","lastSuccessAt":"2026-11-24T01:35:25.536+00:00","error":null,"lastVerifiedAt":"2026-11-24T01:35:25.536+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13982,"expectedIdentifiers":13982,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c86437892ddabdeaf17409463a17578b1e71dd185d64061100dd57629858f6d6","complete":true,"records":10074,"lastAttemptAt":"2026-11-24T02:25:33.0418069+00:00","lastSuccessAt":"2026-11-23T22:27:19.6557603+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:33.0418069+00:00","snapshotPublishedAt":"2026-11-23T21:33:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-24T02:25:32.4597606+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:32.4597606+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-15e801f03affdaac7ba10268556f4d0b3e1b9f897dae85fdcade5fc30d25011c","complete":true,"records":3217,"lastAttemptAt":"2026-11-24T02:25:33.0539032+00:00","lastSuccessAt":"2026-11-23T17:27:41.2539213+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:33.0539032+00:00","snapshotPublishedAt":"2026-11-23T16:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c41399423d276dca4b043be850730e8108fe6ab724d5bef1a99daeb4f8074e30","complete":true,"records":232938,"lastAttemptAt":"2026-11-24T02:25:32.9361349+00:00","lastSuccessAt":"2026-11-24T00:27:03.6308807+00:00","error":null,"lastVerifiedAt":"2026-11-24T02:25:32.9361349+00:00","snapshotPublishedAt":"2026-11-23T23:48:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}