{"items":[{"id":"NVI-00010050","kind":"supply_chain_event","title":"Malicious code in gas-refuel-bridge (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-vpf2-wcf3-pq8j"],"plain_summary":"GitHub lists this malware advisory for gas-refuel-bridge. 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-c9f4aeefc5171c75c6570af09601eebb"],"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-c9f4aeefc5171c75c6570af09601eebb","url":"https://github.com/advisories/GHSA-vpf2-wcf3-pq8j","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-vpf2-wcf3-pq8j","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:23.261Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c9f4aeefc5171c75c6570af09601eebb"],"technology":"gas-refuel-bridge","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (37bd99ebd0f028669dafee3405a3ac4ebb9e264b7d9bfce963e68b259dfe88a3)\nThe gem's native extension build script extconf.rb base64-decodes an embedded Ruby payload and eval's it during `gem install`. The payload double-forks a detached background process that sleeps for 20-40 minutes and then opens a TCP socket to 45.138.12.177:8089, piping it to /bin/sh in a reconnect loop — a persistent reverse shell on the installer's host. Execution is gated by anti-analysis checks: it skips when common CI environment variables are present, when the hostname looks ephemeral or the username looks auto-generated, when the working directory is under /tmp, /opt/rubygems, or /workspace, when system uptime is under 1800 seconds, and only proceeds when developer-identity markers are present on disk (~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, ~/.bundle). The gem's advertised identity is a cover story: the gemspec summary describes 'gas refuel bridge helpers', the README is titled 'bitcoin-rpc-lite', and lib/gas_refuel_bridge.rb contains only inert stubs (VERSION, build_id returning 'ok', healthy? returning true). The extension hook is the package's entire functional paylo","public_affected_ranges":["= 0.9.1"]}],"null_published_at":"2026-10-31T22:13:44.208Z","source_updated_at":"2026-10-14T00:31:18.000Z","source_disclosed_at":"2026-10-11T15:31:13.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-31T22:06:23.261Z"}],"next_cursor":null,"snapshot_revision":"42594"}