Critical Malicious Code Vulnerability in wild-pet-rest-api Package

wild-pet-rest-api Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6669: Malicious code in wild-pet-rest-api (npm). Affects wild-pet-rest-api versions 2.3.1 – 9.9.1. 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 wild-pet-rest-api package is an npm library designed to provide a RESTful API for managing pet-related data. It allows developers to integrate pet management features into their applications seamlessly. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.

Vulnerability Detail

The vulnerability stems from malicious code embedded within specific versions of the wild-pet-rest-api package (2.3.1 and 9.9.1). This code can potentially compromise the security of applications by allowing unauthorized access or manipulation of sensitive data. The issue was discovered by ReversingLabs and is documented in their findings, indicating that users of these versions are at risk of exploitation.

How To Fix

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

npm uninstall wild-pet-rest-api

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 may consider removing the wild-pet-rest-api package from your project until a secure version is confirmed. You can do this by running:

npm uninstall wild-pet-rest-api

This will prevent any potential exploitation while you assess alternative solutions.

Conclusion

The wild-pet-rest-api package has been identified to contain malicious code that poses serious security risks. It is crucial for developers using this package to update to a secure version or remove it from their projects to protect their applications from potential exploitation.

See every vulnerability recorded for wild-pet-rest-api →

Share this vulnerability

FAQ

The wild-pet-rest-api package is an npm library that provides a RESTful API for managing pet-related data in applications.

The malicious code can lead to unauthorized access and manipulation of sensitive data, posing a significant security risk.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can help you determine if your application is affected.

Yes, Vulert allows you to monitor vulnerabilities without requiring access to the code or installation. You can check your application using the Vulert playground at Vulert Scanner.

If you cannot update the package right away, consider removing it from your project as a temporary measure to mitigate risks.

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.

npm uninstall wild-pet-rest-api

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