{"items":[{"id":"NVI-00009816","kind":"supply_chain_event","title":"Malicious code in kecack (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-fj4h-hgwh-qmc6"],"plain_summary":"GitHub lists this malware advisory for kecack. 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-6535a1528eb2ad677fce7088621db362"],"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-6535a1528eb2ad677fce7088621db362","url":"https://github.com/advisories/GHSA-fj4h-hgwh-qmc6","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-fj4h-hgwh-qmc6","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:22.853Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6535a1528eb2ad677fce7088621db362"],"technology":"kecack","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (f17f86c78cebe16698b84a8ab5a9b87865c63a890588c23fbe1d2638c4501647)\nThe gem's native extension build script (ext/.../extconf.rb) executes during `gem install` and contains a dropper rather than a real native build. Before `create_makefile`, it enumerates environment indicators to suppress itself inside analysis infrastructure: CI environment variables, hostname patterns matching uvm/firecracker/sandbox/vagrant, usernames matching sandbox/tester/analys/scanner, build paths under /opt/rubygems or /tmp, and a /proc/uptime check requiring the host to have been running for more than ~30 minutes. It additionally requires developer-credential artifacts to be present on disk (~/.ssh, ~/.gitconfig, ~/.gem/credentials, ~/.bundle, ~/.npmrc) before proceeding. When the gating passes, it double-forks, sleeps 20-40 minutes, then base64-decodes and eval's a Ruby payload that reconstructs a URL via XOR of a byte array, downloads http://45.138.122.177:8092/wgkit.tar.gz to /tmp/.w1.tgz, extracts to /tmp/.w1, and executes bash /tmp/.w1/wg_install.sh. The shipped native source is a trivial empty Init_Kecack stub with no real C functionality — the extension exists only to car","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-10-31T22:13:39.948Z","source_updated_at":"2026-10-06T03:31:22.000Z","source_disclosed_at":"2026-10-05T18:34: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:07:22.853Z"}],"next_cursor":null,"snapshot_revision":"42594"}