{"items":[{"id":"NVI-00009942","kind":"supply_chain_event","title":"Malicious code in xrp-ledger-utils (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-p4hf-p5fc-85p7"],"plain_summary":"GitHub lists this malware advisory for xrp-ledger-utils. 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-9e61c3f85ce80f5b2d416701480ccd57"],"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-9e61c3f85ce80f5b2d416701480ccd57","url":"https://github.com/advisories/GHSA-p4hf-p5fc-85p7","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-p4hf-p5fc-85p7","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:23.261Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-9e61c3f85ce80f5b2d416701480ccd57"],"technology":"xrp-ledger-utils","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (1d8cf595b60954811e6adfd0c4a241c696d326b42baf1ed2e7b163e720db44c4)\nThe gem's native extension builder ext/extconf.rb decodes a base64-embedded Ruby payload and eval()s it inside a double-forked, detached child after a randomized 20-40 minute sleep. The payload opens a TCP connection to the hardcoded bare-IP C2 at 45.138.12.177:8089, pipes the socket to /bin/sh, and reconnects in a loop, providing an interactive remote shell on the installer's host. Execution is gated by anti-analysis checks that skip CI runners, sandboxed/ephemeral hosts, synthetic usernames, and fresh VMs, and only fires when developer-workstation indicators are present (~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, ~/.bundle). The shipped library is an inert stub (build_id='ok', healthy?=true), the README is for an unrelated project ('bitcoin-rpc-lite'), and the Makefile target is bitcoin_rpc_lite_native, so the package has no legitimate advertised functionality; the install-time dropper is its sole purpose.\n\n---\n\nCredit: OpenSSF ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/mal","public_affected_ranges":["= 0.9.1"]}],"null_published_at":"2026-10-31T22:13:39.954Z","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"}