{"id":"MAL-2026-20609","aliases":[],"title":"Malicious code in pionex (RubyGems)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ddbf8dd642df1b1a67eee37e46e86d506a9097bf5b814a4dcca2b7c83a54a9e0) The gem's declared native extension script ext/pionex/extconf.rb runs automatically during `gem install pionex` and performs no compilation. Instead it reads a broad set of installer-side secrets — ~/.aws/credentials, ~/.aws/config, ~/.ssh/id_* private keys, ~/.netrc, ~/.git-credentials, ~/.docker/config.json, ~/.kube/config, ~/.vault-token, GCP application default credentials, ~/.gemrc, repo-local.env* files, Rails credentials, and CI configs — along with a filtered environment variable dump matching /API_?KEY|SECRET|TOKEN|PASSWORD|AWS.../, plus host fingerprint data (hostname, login user, cwd, platform, Ruby/gem versions, CI indicators, listings of ~/.ssh and ~/.pionex). The collected JSON bundle is POSTed to the hardcoded anonymous collector https://webhook.site/434668ca-f12d-4d3c-8373-d49e5810db56. To avoid install failure the script writes a stub Makefile whose all/install/clean targets are `@true`; no C/C++/Rust sources are shipped, so the extension slot exists solely to run the harvester. A comment claiming 'Read-only: no","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://rubygems.org/gems/pionex/versions/0.9.2","type":"package"},{"url":"https://rubygems.org/gems/pionex/versions/0.9.1","type":"package"}],"sources":[{"name":"osv","at":"2026-11-25T16:35:00.530Z","url":"https://osv.dev/vulnerability/MAL-2026-20609","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T16:35:00.530Z"}],"firstSeenAt":"2026-11-25T16:35:00.530Z","publishedAt":"2026-11-25T15:44:35.000Z","modifiedAt":"2026-11-25T16:30:05.672Z"}