# MAL-2025-6727: Malicious code in hyperion-react-native-testapp (npm)


- **Type:** Malicious package
- **Package:** `hyperion-react-native-testapp` (npm)
- **Published:** 28 Jul 2025

## What is MAL-2025-6727?

MAL-2025-6727 is a malicious package in hyperion-react-native-testapp, published on 28 Jul 2025. 

### Official description

The package communicates with a domain associated with malicious activity.

package.json declares a preinstall lifecycle script that runs `wget` at npm install time, sending the installer's username ($(whoami)), current working directory ($(pwd)), and hostname ($(hostname)) as URL query parameters to a hardcoded webhook.site collector (https://webhook.site/c4919b2f-dd76-4a2f-adca-2f052bc8ff0e/). This fires unconditionally on `npm install` without user consent and delivers installer identity/environment data to a third-party collector controlled by whoever created the webhook. The package name pattern and beacon shape are consistent with a dependency-confusion proof-of-concept, but the exfiltration behavior is real regardless of intent.

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

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-6727 is a malicious package: hyperion-react-native-testapp (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-6727/ (Markdown: https://insights.sbomify.com/MAL-2025-6727/index.md)
```

## Sources

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

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