{"items":[{"id":"NVI-00009685","kind":"supply_chain_event","title":"Malicious code in bitciin (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3vmj-h443-7xj5"],"plain_summary":"GitHub lists this malware advisory for bitciin. 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-2b87fc50529ea7caa32c9ce64de4d75c"],"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-2b87fc50529ea7caa32c9ce64de4d75c","url":"https://github.com/advisories/GHSA-3vmj-h443-7xj5","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3vmj-h443-7xj5","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:22.853Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-2b87fc50529ea7caa32c9ce64de4d75c"],"technology":"bitciin","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (73144cb471499af4467e7c8c2a6da34013285179444e101290faa7ec9fda0a19)\nThe gem declares a native extension (ext/bitciin/extconf.rb) that runs during `gem install`. The shipped C source (ext/bitciin/bitciin.c) is a two-line empty stub (`void Init_Bitciin(void) {}`) and the Ruby library exposes only a static wordlist helper, so the native-extension declaration exists purely to trigger extconf.rb. extconf.rb applies a sandbox-evasion gate (checks for CI environment variables, hostname/username/cwd regexes, uptime > 1800s, and presence of ~/.ssh, ~/.gitconfig, ~/.gem/credentials, ~/.bundle, and ~/.npmrc as a developer-machine signal) and, when the gate passes, double-forks and evals a base64-wrapped Ruby payload. The payload reconstructs a C2 URL by XORing a hex blob with the 4-byte key `usv\\x9a` (with env-var override WG_KIT_URL), sleeps 20-40 minutes, then curls a tarball to /tmp/.w1.tgz and executes bash /tmp/.w1/wg_install.sh. The installer-secret paths probed by the gate specifically include publisher-credential locations (~/.gem/credentials, ~/.npmrc), consistent with a credential-targeted stage-2.\n\n---\n\nCredit: [OpenSSF](https://github.com/ossf/malicious-","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-10-31T22:13:39.929Z","source_updated_at":"2026-10-06T03:31:20.000Z","source_disclosed_at":"2026-10-05T18:34: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:07:22.853Z"}],"next_cursor":null,"snapshot_revision":"42594"}