MAL-2026-12040

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/forge-extended/MAL-2026-12040.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12040
Aliases
  • GHSA-prw8-rx62-jhmh
Published
2026-08-05T01:22:41Z
Modified
2026-09-09T03:30:12Z
Summary
Malicious code in forge-extended (npm)
Details

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

Source: amazon-inspector (3784f08ba715b7afbeecfaa10b9c953b4406770c976bd07200977fa2f80b0317)

On npm install, the package's preinstall script (index.js) collects installer-side system data — os.hostname(), os.userInfo().username, home directory, DNS server list, and package metadata — reads /etc/passwd and /etc/hosts from the installer's filesystem, and POSTs the aggregated JSON payload over HTTPS to the Burp Collaborator subdomain 67bqctsh977zz60hiszvr1pbc2iu6ku9.oastify.com. The behavior fires automatically as a lifecycle hook, without any user action beyond installation. The oastify.com destination is an out-of-band recon endpoint unrelated to any documented purpose of the package, and the payload structure (host identity + /etc/passwd + /etc/hosts) is a canonical dependency-confusion / reconnaissance beacon.

Source: ghsa-malware (e3192d0035093bded6c59627c9273a6d35bf1c9e7eb08c82687e0ee3f230895c)

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": "IN-MAL-2026-011495",
            "import_time": "2026-08-05T01:39:31.551478015Z",
            "modified_time": "2026-08-05T01:22:41Z",
            "sha256": "3784f08ba715b7afbeecfaa10b9c953b4406770c976bd07200977fa2f80b0317",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "GHSA-prw8-rx62-jhmh",
            "import_time": "2026-09-08T00:15:11.419834566Z",
            "modified_time": "2026-09-07T16:17:42Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "e3192d0035093bded6c59627c9273a6d35bf1c9e7eb08c82687e0ee3f230895c",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-019830",
            "import_time": "2026-09-09T03:21:58.285218216Z",
            "modified_time": "2026-09-09T02:52:15Z",
            "sha256": "77dcb3fd6bac9fb6e7660c7bd7acd2568107c050a65049652a87f9434c171aae",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / forge-extended

Package

Name
forge-extended
View open source insights on deps.dev
Purl
pkg:npm/forge-extended

Affected ranges

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

Affected versions

1.*
1.0.1
1.0.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"
    },
    {
        "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": "90bf8da9bd6fa95c0f5dbadea3830ace14269c4def6e6be6a32ba51e881a857e",
            "tlsh": "f8410395a2da17330dd210c06a0c70852359fa777159e99076cf4396af869f8b7326f3"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/forge-extended/MAL-2026-12040.json"