cvelo
P2 · HighMalware

Malicious code in @awazevr/mfe-common.contexts.guest-auth (npm)

  • GHSA-33v7-c769-3ww7

Description

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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/@awazevr/mfe-common.contexts.guest-auth/MAL-2026-20277.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • @awazevr/mfe-common.contexts.guest-authnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.