{"items":[{"id":"NVI-00010835","kind":"supply_chain_event","title":"Malicious code in @selfpentest/eslint-pentest-plugin (npm)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-33w6-wqjr-v97m"],"plain_summary":"GitHub lists this malware advisory for @selfpentest/eslint-pentest-plugin. 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-23c2a5de79cbf8209a883209b735d56e"],"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-23c2a5de79cbf8209a883209b735d56e","url":"https://github.com/advisories/GHSA-33w6-wqjr-v97m","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-33w6-wqjr-v97m","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:53.199Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-23c2a5de79cbf8209a883209b735d56e"],"technology":"@selfpentest/eslint-pentest-plugin","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (f338876601180482b20a42fbd799b9d4e1b059bf7d733b5db448f7fc6d3455ff)\nPackage presents itself as an ESLint plugin but the exported plugin object is an empty shell. index.js unconditionally invokes a steal() routine at top level, so any require() of the package (including ESLint auto-loading the plugin) triggers the payload. The payload reads process.env.HOME and process.env.SECRET, reads the first 30 bytes of ~/.ssh/known_hosts via fs.readFileSync(path.join(os.homedir(), '/.ssh/known_hosts')), and issues an HTTP GET to http://localhost:1337/eslint with the collected values as URL query parameters. The package.json description and README state that the package 'pretends to be an eslint plugin but it steals secrets instead' and identify it as a supply-chain-attack demonstration. The exfiltration destination is loopback (127.0.0.1:1337), so bytes do not leave the host unless a local listener collects them, but the credential-read code path executes on every require of the package.\n\n---\n\nCredit: OpenSSF ([source](https://github.com/ossf/malicious-packages/blob/df8912ac853d808526d73c577abd0cdfa8d704f1/osv/malicious/n","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-10-31T23:18:22.399Z","source_updated_at":"2026-09-30T00:32:28.000Z","source_disclosed_at":"2026-09-30T00:32:27.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:53.199Z"}],"next_cursor":null,"snapshot_revision":"42594"}