{"items":[{"id":"NVI-00011045","kind":"supply_chain_event","title":"Malicious code in cdn-img-fetch (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-34f5-mxpq-x694"],"plain_summary":"GitHub lists this malware advisory for cdn-img-fetch, cdn-img-fetch. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-a770e432ff57e95203addec3270cc9e2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-a770e432ff57e95203addec3270cc9e2","url":"https://github.com/advisories/GHSA-34f5-mxpq-x694","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-34f5-mxpq-x694","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:45.671Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-a770e432ff57e95203addec3270cc9e2"],"technology":"cdn-img-fetch","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (d7922ab741ba357d3d9bb14201acdffd89639cb0b7a8850180d6dd9a8266e9f7)\nOn require() of cdn-img-fetch, index.js unconditionally invokes https.get against https://raw.githubusercontent.com/cavecrew/proj/main/banner.png and pipes the response into a hidden dot-file at os.tmpdir()/._cif_data (written via a.part file and renamed into place). The source is a mutable main-branch URL in a personal GitHub account unrelated to the npm publisher, with no version pin, hash, or signature check, so whoever controls that repo controls the bytes dropped onto the installer's disk on every import. The fetch fires automatically as an IIFE at module load, not from any user-invoked API, and the destination filename is deliberately hidden. The package advertises itself as a CDN image cache helper, which does not explain an import-time download of an opaque file from a third-party personal repo to a hidden tmp location. This is the first-stage dropper / staging shape: the current fetched bytes are written but not executed in this version, but the mechanism gives an off-registry actor a persistent import-time write primitive into every installer's tmp directory.\n\n---\n\nCredit: [Open","public_affected_ranges":["= 1.0.0"]},{"certainty":"source_listed","source_ids":["sr-a770e432ff57e95203addec3270cc9e2"],"technology":"cdn-img-fetch","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (d7922ab741ba357d3d9bb14201acdffd89639cb0b7a8850180d6dd9a8266e9f7)\nOn require() of cdn-img-fetch, index.js unconditionally invokes https.get against https://raw.githubusercontent.com/cavecrew/proj/main/banner.png and pipes the response into a hidden dot-file at os.tmpdir()/._cif_data (written via a.part file and renamed into place). The source is a mutable main-branch URL in a personal GitHub account unrelated to the npm publisher, with no version pin, hash, or signature check, so whoever controls that repo controls the bytes dropped onto the installer's disk on every import. The fetch fires automatically as an IIFE at module load, not from any user-invoked API, and the destination filename is deliberately hidden. The package advertises itself as a CDN image cache helper, which does not explain an import-time download of an opaque file from a third-party personal repo to a hidden tmp location. This is the first-stage dropper / staging shape: the current fetched bytes are written but not executed in this version, but the mechanism gives an off-registry actor a persistent import-time write primitive into every installer's tmp directory.\n\n---\n\nCredit: [Open","public_affected_ranges":["= 1.0.1"]}],"null_published_at":"2026-10-31T23:18:22.426Z","source_updated_at":"2026-09-30T06:31:54.000Z","source_disclosed_at":"2026-09-30T06:31:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T23:13:45.671Z"}],"next_cursor":null,"snapshot_revision":"42594"}