MAL-2026-3149 Malicious code in agents-a365-runtime (npm)
- Package
- agents-a365-runtime
- Registry
- npm
What is MAL-2026-3149?
MAL-2026-3149 is a malicious package in agents-a365-runtime, published on 29 Apr 2026.
Official description
Malicious npm package published by threat actor "raya4321" as part of a coordinated typosquatting campaign impersonating Apple internal infrastructure services (authentication, PKI, telemetry, CloudKit, and cloud infrastructure). All packages in this campaign execute credential-theft payloads during npm installation via preinstall or postinstall lifecycle hooks.
Trigger: preinstall. Executes ms_audit.sh on install, performing Kubernetes pod infiltration: reads Kubernetes service account tokens from /var/run/secrets/kubernetes.io/serviceaccount/token, captures the pod namespace, and scans environment variables for KUBE/SERVICE/API/PORT/PROTO patterns; exfiltrates to https://webhook.site/42fb16cd-cddc-4a22-a7aa-ea6505ede8d6. The package also bundles pwn.sh, which hunts for npm/GitHub authentication tokens (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, NPM_AUTH_TOKEN) in the environment and ~/.npmrc, then uses any found token to publish a trojanized version of apple-app-store-server-library to the npm registry (supply chain attack), and exfiltrates results to https://webhook.site/85f78e76-dc73-4cb5-a65c-27f2c10db591.
The package agents-a365-runtime was found to contain malicious code.
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.
What should I do about MAL-2026-3149?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-98v9-9pjp-6p9m.