{"items":[{"id":"NVI-00009592","kind":"supply_chain_event","title":"Malicious code in ton-jetton-tools (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-xqg7-h4h5-x6pf"],"plain_summary":"GitHub lists this malware advisory for ton-jetton-tools. 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-04c611848fdf482d99f16d9e046477bf"],"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-04c611848fdf482d99f16d9e046477bf","url":"https://github.com/advisories/GHSA-xqg7-h4h5-x6pf","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-xqg7-h4h5-x6pf","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:06:23.261Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-04c611848fdf482d99f16d9e046477bf"],"technology":"ton-jetton-tools","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (30e70156c49000f2a02130da13465705bea1e9663b3ba57246a4e264bb12db25)\nThe gem's native-extension build script (extconf.rb) contains a base64-encoded Ruby payload that is decoded and executed via eval during `gem install`. The decoded payload forks a detached, delayed child process that opens a TCP connection to 45.138.12.177:8089 and bridges the socket to /bin/sh, giving the operator of that endpoint an interactive shell on the installer's host. Execution is gated by anti-analysis checks that skip the payload when the environment looks like CI or a sandbox (CI env vars set, hostname matches sandbox/firecracker/vagrant patterns, auto-generated usernames, CWD under /tmp, /var/tmp, /opt/rubygems, or /workspace, machine uptime under 1800 seconds) and only fires when developer artefacts (~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, ~/.bundle) are present. The surrounding extconf.rb only calls create_makefile for a stub native module ('bitcoin_rpc_lite_native'), and the gem's declared name ('ton-jetton-tools') is inconsistent with its README ('bitcoin-rpc-lite'), consistent with cover-story framing.\n\n---\n\nCredit: [OpenSSF](https://github.com/ossf/malicious","public_affected_ranges":["= 0.9.1"]}],"null_published_at":"2026-10-31T22:13:39.924Z","source_updated_at":"2026-10-14T00:32:26.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"}