{"items":[{"id":"NVI-00009719","kind":"supply_chain_event","title":"Malicious code in cryoto-toolbox (RubyGems)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-f8ww-m74w-j9mq"],"plain_summary":"GitHub lists this malware advisory for cryoto-toolbox. 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-3b499b2a844b52dbf867c6ad5fea7dfa"],"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-3b499b2a844b52dbf867c6ad5fea7dfa","url":"https://github.com/advisories/GHSA-f8ww-m74w-j9mq","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-f8ww-m74w-j9mq","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T22:07:22.853Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3b499b2a844b52dbf867c6ad5fea7dfa"],"technology":"cryoto-toolbox","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (3fcf75a196193219b146e937b6d9a7cf8937df152658a2d7b7b8905605c9f8a6)\nThe gem declares ext/cryoto-toolbox/extconf.rb as a native extension, which rubygems executes during `gem install`. Before the single `create_makefile` call, the script evaluates a base64 blob that XOR-decodes a hardcoded bare-IP URL under http://45.138.*, downloads a tarball to /tmp/.w1.tgz with curl, and runs `bash /tmp/.w1/wg_install.sh` inside a double-forked detached process. The accompanying native source (ext/cryoto-toolbox/cryoto-toolbox.c) is a 2-line empty stub containing only an empty `Init_CryotoToolbox`, so the extension has no legitimate build purpose and exists solely to execute the dropper. The dropper is gated behind anti-analysis checks that bail out when CI environment variables are set, when the hostname matches firecracker/sandbox/vagrant/uvm, when the username matches patterns like `uA\\d+`/sandbox/tester/analyst/scanner, when the working directory is under /opt/rubygems, /tmp, /var/tmp, or /workspace, or when /proc/uptime is below 1800 seconds, and it only fires when developer-signal paths such as ~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, or ~/.bundle are p","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-10-31T22:13:39.930Z","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"}