# GHSA-Q63G-8PHQ-PCJ6: Malicious code in rechargeapps (RubyGems)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-18
- Modified: 2026-11-18

## Affected versions

- rechargeapps (RubyGems): 999.0.0

## Description

## Source: amazon-inspector (e3adc43a1ce04c304a176f8f8861b89b99f7df1b0a4f940bdcf1274f24ff157f)
The gem's extension build script (run during `gem install`) reads /proc/self/environ (falling back to ENV) and POSTs it base64-encoded to the hardcoded endpoint https://webhook.site/5f869495-8820-4e0a-b759-8c61e0b0d6ce, with a second curl-based repost of /proc/self/environ to the same URL. The library entry point additionally performs a top-level Net::HTTP POST of the full process environment (ENV.to_a, base64-packed) along with pid and hostname to the same webhook.site URL every time `require 'rechargeapps'` is evaluated. The build Makefile is a no-op stub and the module body is otherwise empty, so these two network callbacks are the gem's sole behavior. The published artifact is version 999.0.0 with placeholder metadata (homepage example.com, devops@example.com), consistent with a dependency-confusion squat targeting an internal name 'rechargeapps' to capture CI and build-host environment variables (tokens, cloud keys, registry credentials) at install and load time.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/93dce46b5a6903f44bc9a5af1562abecb8d887a5/osv/malicious/rubygems/rechargeapps/MAL-2026-20137.json))

## References

- https://github.com/ossf/malicious-packages/blob/93dce46b5a6903f44bc9a5af1562abecb8d887a5/osv/malicious/rubygems/rechargeapps/MAL-2026-20137.json
- https://rubygems.org/gems/rechargeapps/versions/999.0.0
- https://github.com/advisories/GHSA-q63g-8phq-pcj6

Page: https://cve.now/GHSA-Q63G-8PHQ-PCJ6

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
