# MAL-2026-6997: Malicious code in goofy-sdk (npm)


- **Type:** Malicious package
- **Package:** `goofy-sdk` (npm)
- **Published:** 8 Jul 2026

## What is MAL-2026-6997?

MAL-2026-6997 is a malicious package in goofy-sdk, published on 8 Jul 2026. 

### Official description

goofy-sdk@9999.0.0 is a dependency-confusion squat: the version is inflated to 9999.0.0 to shadow an internal package of the same name in build systems that resolve unscoped names against the public npm registry. On install, the package's preinstall hook executes callback.js, which reads os.hostname(), os.userInfo().username, process.platform, and process.cwd() and transmits them out-of-band to *.oast.fun (Interactsh OAST callback infrastructure) via a DNS subdomain-encoded lookup and an HTTPS POST. Any build system that mis-resolves the internal name to this public package will silently leak internal host identity to a third-party callback service. Self-declared bug-bounty/research framing does not change the installer-side impact — the harm (unconsented host-identity beacon on install) is the same regardless of motive.

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

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

## Sources

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

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