# MAL-2025-6694: Malicious code in amdocs-auth-package (npm)


- **Type:** Malicious package
- **Package:** `amdocs-auth-package` (npm)
- **Published:** 3 Aug 2025

## What is MAL-2025-6694?

MAL-2025-6694 is a malicious package in amdocs-auth-package, published on 3 Aug 2025. 

### Official description

The package communicates with a domain associated with malicious activity.

Package name mimics an Amdocs internal package (dependency-confusion lure). package.json declares `preinstall: node index.js`, so `npm install` auto-executes index.js. index.js collects host reconnaissance via Node's os module and child_process (hostname, platform, arch, homedir, username/uid/gid/shell, OS info, plus output of `whoami`, `id`, and `pwd`) and POSTs the JSON payload to a hardcoded Burp Collaborator subdomain at https://bet2pv7fumnp3hnz9u5oxggb329txjl8.oastify.com/detox56. No legitimate functionality is present; the sole install-time effect is reconnaissance exfiltration to an attacker-controlled out-of-band callback host.

The OpenSSF Package Analysis project identified 'amdocs-auth-package' @ 99.1.0 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

- The package executes one or more commands associated with malicious behavior.

## What should I do about MAL-2025-6694?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2025-6694 is a malicious package: amdocs-auth-package (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2025-6694/ (Markdown: https://insights.sbomify.com/MAL-2025-6694/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2025-6694

---
From sbomify Insights: https://insights.sbomify.com/MAL-2025-6694/
Summaries are generated and may contain mistakes; the official description above is the record.
