MAL-2026-20609

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/pionex/MAL-2026-20609.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20609
Published
2026-11-25T15:44:35Z
Modified
2026-11-25T16:30:05Z
Summary
Malicious code in pionex (RubyGems)
Details

-= 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: nothing on the host is modified' and a PIONEX_CANARY_FORCE=1 override accompany the exfil path.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023123",
            "import_time":  "2026-11-25T16:15:54.911472846Z",
            "modified_time":  "2026-11-25T15:44:41Z",
            "sha256":  "729ad5da01db9ef3fd827e7a90ebf22175feaa2d75267856a11feaa834b277af",
            "source":  "amazon-inspector",
            "versions":  [
                "0.9.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-023122",
            "import_time":  "2026-11-25T16:15:54.797772423Z",
            "modified_time":  "2026-11-25T15:44:35Z",
            "sha256":  "ddbf8dd642df1b1a67eee37e46e86d506a9097bf5b814a4dcca2b7c83a54a9e0",
            "source":  "amazon-inspector",
            "versions":  [
                "0.9.1"
            ]
        }
    ]
}
References
Credits

Affected packages

RubyGems / pionex

Package

Name
pionex
Purl
pkg:gem/pionex

Affected ranges

Affected versions

0.*
0.9.1
0.9.2

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "ext/pionex/extconf.rb",
            "sha256":  "8c211dcd4920435cb369445e11fab95281fda09d324c82f224701c786512e397",
            "tlsh":  "b491a86f19a51ca2455ae1f214046041ff20fb4695901471ba6c373def8c72fa6f47bd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "pionex-0.9.2.gem",
            "hashes":  {
                "sha256":  "caad1087d79941009e0dc1e5d8dcf2685a739546f6d23798fcb358e89699a7f5"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/pionex/MAL-2026-20609.json"