Malicious Code Detected in cassini-hydra-request-fetch Package

cassini-hydra-request-fetch Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-16629: Malicious code in cassini-hydra-request-fetch (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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The cassini-hydra-request-fetch package is an npm library designed for making HTTP requests in a streamlined manner. It is commonly used in JavaScript applications to facilitate data fetching from APIs. However, this package has been identified to contain malicious code, posing a significant risk to applications that depend on it.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the cassini-hydra-request-fetch package. This code can potentially compromise the security of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue is particularly concerning as it affects all versions starting from 0, making it imperative for users to take immediate action.

How To Fix

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

npm uninstall cassini-hydra-request-fetch

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 cassini-hydra-request-fetch package and instead utilize other well-maintained libraries for making HTTP requests, such as axios or fetch. For example, to use axios, you can install it with: npm install axios and then use it in your code as follows:

const axios = require('axios');

axios.get('https://api.example.com/data')

  .then(response => console.log(response.data))
  .catch(error => console.error('Error fetching data:', error));

Conclusion

The cassini-hydra-request-fetch package has been identified as containing malicious code, which poses a serious threat to applications using it. Immediate action is required to mitigate risks by updating or replacing the package. Utilizing tools like Vulert can aid in ongoing vulnerability management.

See every vulnerability recorded for cassini-hydra-request-fetch →

Share this vulnerability

FAQ

It is an npm library used for making HTTP requests in JavaScript applications.

The specific nature of the malicious code has not been disclosed, but it poses security risks to applications.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without signing up.

Consider using alternative libraries for HTTP requests, such as axios or fetch, until you can update.

Yes, using tools like Vulert can help automate the monitoring of your dependencies for vulnerabilities.

How To Fix

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

npm uninstall cassini-hydra-request-fetch

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