# MAL-2026-4270: Malicious code in clickpy (npm)


- **Type:** Malicious package
- **Package:** `clickpy` (npm)
- **Published:** 22 May 2026

## What is MAL-2026-4270?

MAL-2026-4270 is a malicious package in clickpy, published on 22 May 2026. 

### Official description

On `require('clickpy')`, index.js collects host metadata via `os.hostname()`, `os.userInfo()`, `os.platform()`, `os.arch()`, `process.cwd()`, `process.pid`, and the current time, then issues an HTTPS GET to the hardcoded out-of-band host `fxpkkxatijbbyxuhdclqssj033zarohm1.oast.fun` with these values as query-string parameters (index.js:4 and index.js:25-29). oast.fun is the interactsh/OAST collaborator service used to receive callbacks from victim hosts; there is no legitimate purpose for a published library to beacon installer identifiers to such a host on import. Package metadata is empty (no description, no author), consistent with a throwaway recon/PoC exfiltration package.

The OpenSSF Package Analysis project identified 'clickpy' @ 1.0.1 (npm) as malicious.

It is considered malicious because:

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

## What should I do about MAL-2026-4270?

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-2026-4270 is a malicious package: clickpy (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-2026-4270/ (Markdown: https://insights.sbomify.com/MAL-2026-4270/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-4270

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