MAL-2026-20277

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@awazevr/mfe-common.contexts.guest-auth/MAL-2026-20277.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20277
Published
2026-11-20T02:14:27Z
Modified
2026-11-20T02:30:08Z
Summary
Malicious code in @awazevr/mfe-common.contexts.guest-auth (npm)
Details

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

Source: amazon-inspector (e2e3bcba4ce94634e40d0c13a284e37e60b2edf4c84479e4e8aa7347a417bc26)

Package @awazevr/mfe-common.contexts.guest-auth publishes to the unregistered public-registry scope @awazevr, which is used by a third-party organization for private internal packages. The package.json declares a postinstall script that executes shell commands (whoami, hostname) on every install, prefixed with an echoed banner identifying the artifact as a dependency-confusion proof-of-concept. Any build system that resolves this scope from the public npm registry (for example, a CI job misconfigured to fetch an internal @awazevr dependency without a scoped-registry pin) auto-executes the author's shell code on install. The current payload only prints local host identifiers rather than exfiltrating or fetching remote code, but the install-time arbitrary command execution path and the scope-shadowing mechanism are fully functional, and the same vector delivers whatever commands subsequent versions place in the postinstall script. Self-identification as bug-bounty research does not change the installer-facing behavior: the lifecycle hook runs attacker-authored commands on the installer host.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022922",
            "import_time": "2026-11-20T02:16:23.215117602Z",
            "modified_time": "2026-11-20T02:14:27Z",
            "sha256": "e2e3bcba4ce94634e40d0c13a284e37e60b2edf4c84479e4e8aa7347a417bc26",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @awazevr/mfe-common.contexts.guest-auth

Package

Name
@awazevr/mfe-common.contexts.guest-auth
View open source insights on deps.dev
Purl
pkg:npm/%40awazevr/mfe-common.contexts.guest-auth

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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": "6f15bcbbbd961c0b0547e501823a7b63aea746d3f24ce4ced9a5a468f5624e78",
            "tlsh": "a3f0dc6928306a3324efc157063ac0d77920d9ab0011790c01ef76ac82d93b30bbe29a"
        }
    ],
    "package_integrity": [
        {
            "filename": "mfe-common.contexts.guest-auth-1.0.0.tgz",
            "hashes": {
                "sha1": "ecfac3eaad3ff04867ee7a36cc33099337d878c7",
                "sha512_sri": "sha512-ea0cMCtINJCoybcDjErBr8EQC398lIzWpoJ6r9kTexjF6whjl04viJkC9giEhnDN6ZA9ViAfDQSpRg/adNO4VQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@awazevr/mfe-common.contexts.guest-auth/MAL-2026-20277.json"