{"id":"MAL-2026-15907","revision":null,"records":[{"revision":"7a36b0063a9c40018a7e5efa972d62ba","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15907","aliases":[],"title":"Malicious code in tiny-folder-tree (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fb7707665659f287294c31f37c4eff9ceba537e9b54859837615929c296a9540)\ntiny-folder-tree@0.1.0 declares a postinstall script (src/build.js) that runs on `npm install`. The script performs a DNS TXT lookup for spreadsheets-documents.com and, when the first character of the first TXT record is '1', invokes src/tools.js which issues an HTTPS request to a URL reconstructed at runtime from obfuscated numeric constants in src/const.js (base-77/base-45 encoded strings decoding to 'https' and an 'HTTPS://...' URL). The response's 'm' header is passed directly to child_process.execSync, yielding arbitrary attacker-controlled shell execution on the installer's machine. The require target for the HTTPS module and the destination URL are both reconstructed via helpers (normalize_hash / normalize_hash_map) to evade static analysis. An author-username bypass ('justin') skips execution on the author's own host, confirming the code is intended to fire on other installers rather than the maintainer.\n","state":0,"publishedAt":"2026-09-04T03:45:10+00:00","modifiedAt":"2026-09-04T04:30:06.5633473+00:00","affected":[{"ecosystem":"npm","name":"tiny-folder-tree","ranges":[],"versions":["0.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/tiny-folder-tree/v/0.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15907","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15907","identifiers":["MAL-2026-15907"]},"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-19T16:01:32.3378751+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5150383+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5150392+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-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-904a496cfc2893b6972fc00fe6b94b8c15ebc7e7734e22a279b080b306ca2c5a","complete":true,"records":428801,"lastAttemptAt":"2026-11-19T15:59:46.3350418+00:00","lastSuccessAt":"2026-11-19T15:59:46.1873259+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.3350418+00:00","snapshotPublishedAt":"2026-11-19T15:24:49+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-69424b4db00e49a28b63b6ee21ba535c","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T16:05:47.083784+00:00","lastSuccessAt":"2026-11-19T16:05:47.1446487+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:05:47.1446487+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"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-19T16:01:32.3378751+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5160974+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5160976+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-3d346fd985e841b1aac7f0b69a8e04b9","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T16:01:33.1329967+00:00","lastSuccessAt":"2026-11-19T15:01:35.314+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:35.314+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"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-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T16:01:32.1967929+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.1967929+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T15:59:46.4850134+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.4850134+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T16:01:32.2995638+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.2995638+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+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-c279061b33e5f41f15925204f8c9fb11104b657e25ab9e8bb013c39c52fe29cb","complete":true,"records":232765,"lastAttemptAt":"2026-11-19T16:01:32.0667728+00:00","lastSuccessAt":"2026-11-19T16:01:31.0253043+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.0667728+00:00","snapshotPublishedAt":"2026-11-19T15:33:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}