{"items":[{"id":"NVI-00011002","kind":"supply_chain_event","title":"Malicious code in hardhat-ftp (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-85mm-jcj2-w79v"],"plain_summary":"GitHub lists this malware advisory for hardhat-ftp. 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-8a15b0ca6d8a9521b9ebde3142008cc6"],"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-8a15b0ca6d8a9521b9ebde3142008cc6","url":"https://github.com/advisories/GHSA-85mm-jcj2-w79v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-85mm-jcj2-w79v","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:24.290Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8a15b0ca6d8a9521b9ebde3142008cc6"],"technology":"hardhat-ftp","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (5e916c23a0efbd49d3cfcd5993957df7afbade3f454925d0672acc8c9f68245c)\nThe package's declared main entry index.js unconditionally requires./lib/config, a 4,499,968-byte obfuscator.io-packed file (26,234-entry string array, hex-renamed identifiers, control-flow flattening, top-level IIFE) that executes as soon as any consumer runs `require('hardhat-ftp')`. After string-array decoding the loader resolves to execSync and spawn sinks, and the package declares axios as a dependency, giving the import-time payload both outbound HTTP and local command-execution primitives with the concrete command targets concealed behind the obfuscation. The surrounding package is a cover: it is published under the name hardhat-ftp with a vulnerability-management description, but the README headers, badges, and ecosystem links are lifted from pinojs/pino, and the files under lib/ (proto.js, levels.js, transport.js, multistream.js) mirror the pino source tree. The name/README/code mismatch, the scale of the obfuscation, and the presence of exec+HTTP primitives inside the auto-loaded module match the masquerade-dropper pattern: installing or requiring this package triggers execution","public_affected_ranges":["= 2.0.1"]}],"null_published_at":"2026-10-31T23:18:22.421Z","source_updated_at":"2026-10-05T00:30:39.000Z","source_disclosed_at":"2026-10-05T00:30:38.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:24.290Z"}],"next_cursor":null,"snapshot_revision":"42594"}