MAL-2026-6956

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rio-design-tokens/MAL-2026-6956.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6956
Aliases
  • GHSA-53fp-9cgx-r5rg
Published
2026-07-08T00:20:08Z
Modified
2026-07-09T16:32:01Z
Summary
Malicious code in rio-design-tokens (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (ed72d8256a1831ef61f01d101c9b9de21db822516cb3b61d1fffd1ef7b3bb0c7)

rio-design-tokens@99.99.100 is a dependency-confusion attack package. package.json declares preinstall: node index.js, so npm install auto-executes index.js, which harvests installer secrets and system data and POSTs them to an attacker-controlled oastify.com (Burp Collaborator) subdomain. Specifically, index.js collects os.hostname(), os.userInfo(), output of whoami/id/pwd (via execSync with curl and other commands), the contents of ~/.npmrc and ~/.yarnrc (which contain npm auth tokens), package-lock.json, yarn.lock, /etc/os-release, /etc/hosts, probes AWS IMDS, and reads a targeted env-var list including NPM_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, GITLAB_CI, and CODEARTIFACT_AUTH_TOKEN, then sends the aggregated payload via https.request(... POST) to 7v343wmb7yqwapwew87n2p4stjzbn4bt.oastify.com. The package's own metadata self-identifies as "Dependency Confusion POC" with version 99.99.100 and author "YourName" — the canonical shape of a public-registry package intended to shadow a private internal package name during resolution. Installing this package on a developer workstation, CI runner, or build system will exfiltrate registry auth tokens, cloud credentials, and CI secrets to an external collaborator host.

Source: ghsa-malware (f953c7dfe25e2d7da488167fee4e47d465f58bb2e45a0e52ccdba8f0ae267109)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: ossf-package-analysis (e83e18c7c88cb4c0e488342a49e4d0733087fa7e7ea7e833f1fbb6e8fbf5a35e)

The OpenSSF Package Analysis project identified 'rio-design-tokens' @ 99.99.100 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-08T00:40:33.526824943Z",
            "modified_time": "2026-07-08T00:20:08Z",
            "sha256": "e83e18c7c88cb4c0e488342a49e4d0733087fa7e7ea7e833f1fbb6e8fbf5a35e",
            "source": "ossf-package-analysis",
            "versions": [
                "99.99.100"
            ]
        },
        {
            "id": "GHSA-53fp-9cgx-r5rg",
            "import_time": "2026-07-09T13:22:08.517000149Z",
            "modified_time": "2026-07-09T12:34:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f953c7dfe25e2d7da488167fee4e47d465f58bb2e45a0e52ccdba8f0ae267109",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-009241",
            "import_time": "2026-07-09T16:20:53.738979499Z",
            "modified_time": "2026-07-09T15:48:45Z",
            "sha256": "089069734ecd333dcf73b5549ed0aeb3dc6f1d882b2df64583e9bd6360d75c3d",
            "source": "amazon-inspector",
            "versions": [
                "99.99.99"
            ]
        },
        {
            "id": "IN-MAL-2026-009108",
            "import_time": "2026-07-09T16:20:41.432429632Z",
            "modified_time": "2026-07-09T15:29:27Z",
            "sha256": "ed72d8256a1831ef61f01d101c9b9de21db822516cb3b61d1fffd1ef7b3bb0c7",
            "source": "amazon-inspector",
            "versions": [
                "99.99.100"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / rio-design-tokens

Package

Name
rio-design-tokens
View open source insights on deps.dev
Purl
pkg:npm/rio-design-tokens

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

99.*
99.99.99
99.99.100

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "d198de816e8b116f0e5bfe0cb3970cc883725b8700681de1e724f6ee6d3d60e5",
            "tlsh": "f411ebe481e237741eba89c47494d41816bbe730710aade8f5ce03d157caab420b29f6"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rio-design-tokens/MAL-2026-6956.json"