# MAL-2026-10897: Malicious code in golan125-homepage-test (npm)


- **Type:** Malicious package
- **Package:** `golan125-homepage-test` (npm)
- **Published:** 20 Jul 2026
- **Also known as:** GHSA-6p3c-6jvh-3pg8

## What is MAL-2026-10897?

MAL-2026-10897 is a malicious package in golan125-homepage-test, published on 20 Jul 2026. 

### Official description

Package self-identifies as a security research test ('Security research test - do not install'). The package.json `homepage` field contains `javascript:alert(document.domain)`, which is an XSS probe targeting any registry or UI frontend that renders homepage values as clickable links without sanitization. The package has no lifecycle scripts (no preinstall/install/postinstall), no network I/O, and `index.js` exports an empty object — installing or requiring this package does not harm the installer's machine. The XSS probe targets registry web UI rendering, not developers who install the package.

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

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

## Sources

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

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