# MAL-2025-6695: Malicious code in amdocs-core-package (npm)


- **Type:** Malicious package
- **Package:** `amdocs-core-package` (npm)
- **Published:** 1 Aug 2025

## What is MAL-2025-6695?

MAL-2025-6695 is a malicious package in amdocs-core-package, published on 1 Aug 2025. 

### Official description

The package communicates with a domain associated with malicious activity.

The package declares a preinstall hook that runs index.js on npm install. index.js requires https and os, reads os.hostname(), and issues an https.request POST to a hardcoded *.oastify.com Burp Collaborator subdomain, additionally embedding the hostname into the DNS label of that subdomain for out-of-band capture. Package metadata is placeholder (empty description and author, version 11.11.11, name shaped like an internal 'amdocs' scope), consistent with a dependency-confusion payload targeting an internal namespace. Installing the package causes the installer's host identifier to leave the machine to an attacker-controlled collaborator domain.

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

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-6695 is a malicious package: amdocs-core-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-6695/ (Markdown: https://insights.sbomify.com/MAL-2025-6695/index.md)
```

## Sources

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

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