{"items":[{"id":"NVI-00009808","kind":"supply_chain_event","title":"Malicious code in staking-apr-fetcher (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-5wxm-jv9m-mw2r"],"plain_summary":"GitHub lists this malware advisory for staking-apr-fetcher. 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-62dfb2f6cc474f038147ed6bf9a36f24"],"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-62dfb2f6cc474f038147ed6bf9a36f24","url":"https://github.com/advisories/GHSA-5wxm-jv9m-mw2r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-5wxm-jv9m-mw2r","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:23.261Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-62dfb2f6cc474f038147ed6bf9a36f24"],"technology":"staking-apr-fetcher","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (405ab5b9651b8e8817ae91290042ec22673c5c99c1b58f45747e47cbb85aeacf)\nThe gem declares a native extension whose build script (extconf.rb) decodes a base64-embedded Ruby payload and executes it via eval during `gem install`. The payload double-forks a detached background process that opens a TCP connection to the hardcoded host 45.138.12.177:8089 and bidirectionally copies between that socket and a locally spawned /bin/sh, giving the operator of that endpoint interactive shell access on the installer's machine. Execution is gated by anti-analysis checks: the payload only fires when the environment does not look like CI, an ephemeral/sandbox VM (patterns matching uvm/firecracker/sandbox/vagrant), a generated analyst user (patterns matching uA\\d+/sandbox/tester/analys/scanner), or a known analysis path (/opt/rubygems, /tmp/, /workspace/), and only when system uptime exceeds 1800 seconds and developer-identifying files exist (~/.ssh, ~/.gitconfig, ~/.gem/credentials, ~/.bundle, ~/.npmrc). The gem's advertised identity is a cover story: it is published as `staking-apr-fetcher` with a staking-related summary, but the README is titled `bitcoin-rpc-lite`, the exten","public_affected_ranges":["= 0.9.1"]}],"null_published_at":"2026-10-31T22:13:39.948Z","source_updated_at":"2026-10-14T00:31:18.000Z","source_disclosed_at":"2026-10-11T15:31:14.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"}