Malicious Code Injection in turisna-sfpsa-dereaf Package
Summary
MAL-2025-169348: Malicious code in turisna-sfpsa-dereaf (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The turisna-sfpsa-dereaf package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the turisna-sfpsa-dereaf package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to potential pollution of the npm registry. This can result in security risks for applications using this package, including unauthorized access and data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall turisna-sfpsa-dereaf
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 remove the turisna-sfpsa-dereaf package from your project by executing: npm uninstall turisna-sfpsa-dereaf. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The turisna-sfpsa-dereaf package has been identified as containing malicious code that poses significant security risks. It is crucial for developers to update or remove this package to protect their applications from potential vulnerabilities. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for turisna-sfpsa-dereaf →
FAQ
The turisna-sfpsa-dereaf package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications in your application's dependencies, potentially exposing it to security risks and data breaches.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package, consider removing it from your project as a temporary measure until a secure version is available.