# MAL-2026-13752: Malicious code in chapters-core (npm)


- **Type:** Malicious package
- **Package:** `chapters-core` (npm)
- **Published:** 11 Aug 2026

## What is MAL-2026-13752?

MAL-2026-13752 is a malicious package in chapters-core, published on 11 Aug 2026. 

### Official description

The package registers preinstall/postinstall lifecycle scripts that execute poc.js on npm install. poc.js collects os.hostname(), os.userInfo().username, process.cwd(), and CI/CD attribution environment variables (GITHUB_REPOSITORY, GITHUB_ACTOR, GITHUB_RUN_ID, RUNNER_NAME, npm_config_registry, AWS_REGION, JENKINS_URL, and similar) and transmits them via DNS lookups and HTTP/HTTPS POST to a hardcoded Interactsh callback subdomain awfhvaksncnsxtcdjvmnhhqbt59dzenf8.oast.fun. The package name chapters-core at version 9.999.999 is shaped as a dependency-confusion squat of an internal package name, and poc.js additionally writes a marker file samsung-depconf-poc.json into the caller's working directory. Any self-labeling of the file as research does not alter the observed behavior: install-time collection of installer host identity and internal build-environment attribution and transmission to a hardcoded, non-first-party destination.

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

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

## Sources

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

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