Malicious Code Injection in monkey-tags-ip Package

monkey-tags-ip Updated 14 Oct 2026

Summary

13/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17875: Malicious code in monkey-tags-ip (npm). Affected versions are not published. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The monkey-tags-ip package is an npm library that is designed to assist with IP geolocation functionalities. However, it has been compromised through a dependency confusion attack, where a malicious version of the package has been published to exploit users with misconfigured package resolvers. This vulnerability allows attackers to execute harmful code during the installation process.

Vulnerability Detail

The vulnerability arises from a malicious code injection in the monkey-tags-ip package, specifically in version 53.4.1. An npm user named 'conx3993' published this package as part of a dependency confusion campaign, squatting on a name that resembles an internal package. The malicious version contains a 'preinstall' hook that executes 'ip.js', which sends a request to an attacker-controlled server (realwbx.com) with the victim's public IP address and a hard-coded authorization token. This allows the attacker to track which internal package was installed by the victim, posing significant privacy and security risks.

How To Fix

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

npm uninstall monkey-tags-ip

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 workaround, you can avoid using the monkey-tags-ip package altogether and look for alternative libraries that provide similar functionality without the associated risks. Additionally, ensure that your package manager is configured correctly to prevent dependency confusion.

Conclusion

The monkey-tags-ip package has been compromised through a dependency confusion attack, leading to the injection of malicious code that can expose users' IP addresses. It is crucial to remove this package and replace it with a legitimate alternative to mitigate security risks.

See every vulnerability recorded for monkey-tags-ip →

Share this vulnerability

FAQ

Dependency confusion occurs when an attacker publishes a package with the same name as an internal package, tricking package managers into installing the malicious version instead of the legitimate one.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without needing to sign up.

If you have installed the monkey-tags-ip package, immediately uninstall it and replace it with a legitimate alternative. Review your code for any potential security breaches.

The malicious code in the monkey-tags-ip package sends a request to an attacker-controlled server with the user's public IP address and a unique authorization token, allowing the attacker to track installations.

The primary risks include exposure of sensitive information, such as the user's public IP address, and potential unauthorized access to internal systems if the package is used in a corporate environment.

How To Fix

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

npm uninstall monkey-tags-ip

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