Malicious Code Injection in my-ctf-helper-script-9921: Exposing User Cookies

my-ctf-helper-script-9921 Updated 22 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16365: Malicious code in my-ctf-helper-script-9921 (npm). Affects my-ctf-helper-script-9921 versions 1.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package 'my-ctf-helper-script-9921' is an npm module designed for use in Capture The Flag (CTF) competitions. It is intended to assist users in managing various tasks related to CTF challenges. However, this package has been found to contain malicious code that executes upon import, compromising user security by sending sensitive cookie data to an external server.

Vulnerability Detail

The vulnerability originates from the package's main module, which executes a top-level fetch to a hardcoded URL (https://webhook.site/99e9df7b-fe86-4c60-822a-5352b1f9edf0/) when required or imported. This fetch appends the document.cookie as a query-string parameter, effectively leaking the user's cookies to a third-party webhook endpoint controlled by malicious actors. The implications of this vulnerability are severe, as it can lead to unauthorized access to user sessions and sensitive information.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall my-ctf-helper-script-9921

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, you can avoid using the 'my-ctf-helper-script-9921' package altogether until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the risk of malicious code.

Conclusion

The 'my-ctf-helper-script-9921' package contains a serious vulnerability that exposes user cookies to malicious actors. Immediate action is required to remove the package and safeguard user data. Regular monitoring and updates are essential to maintain application security.

See every vulnerability recorded for my-ctf-helper-script-9921 →

Share this vulnerability

FAQ

The vulnerability allows the package to send user cookies to a malicious third-party server, potentially compromising user sessions.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Remove the package from your project immediately and monitor for any updates or patches that may be released.

As of now, there is no safe version available. It is best to avoid using this package until a patched version is released.

Regularly audit your dependencies for vulnerabilities, use tools like Vulert to monitor your packages, and keep your libraries up to date.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall my-ctf-helper-script-9921

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback