Malicious Code Vulnerability in is-number-object Package

is-number-object Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6526: Malicious code in is-number-object (PyPI). Affects is-number-object versions 1.0.8. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The is-number-object package is a utility library available on PyPI that is designed to determine if a given value is a number object. It is commonly used in JavaScript applications to validate data types. However, this package has been identified to contain malicious code, which poses a significant risk to users who integrate it into their projects.

Vulnerability Detail

The vulnerability in the is-number-object package stems from the inclusion of malicious code in version 1.0.8. This code can potentially compromise the security of applications that utilize the package, leading to unauthorized access or data manipulation. The malicious code was discovered by ReversingLabs, indicating that the package may have been tampered with or intentionally designed to harm users.

How To Fix

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

pip uninstall is-number-object

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 is-number-object package altogether and implement your own number validation logic. For example, you can use the following code snippet to check if a value is a number: 'def is_number(value): return isinstance(value, (int, float))'.

Conclusion

The is-number-object package has been found to contain malicious code that poses a security risk to users. It is crucial to update to a patched version or implement workarounds to mitigate potential threats. Regular monitoring of dependencies using tools like Vulert can help maintain application security.

See every vulnerability recorded for is-number-object →

Share this vulnerability

FAQ

The is-number-object package is a utility library that checks if a given value is a number object, primarily used in JavaScript applications.

The vulnerability was discovered by ReversingLabs, which identified the presence of malicious code in version 1.0.8 of the package.

Using the compromised package can lead to unauthorized access, data manipulation, and other security breaches in applications that rely on it.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.

If you cannot update the package immediately, consider implementing a custom validation function as a temporary workaround to ensure your application remains secure.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall is-number-object

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