Malicious Code Vulnerability in concerned_swift_0xrequest Package
Summary
MAL-2025-100812: Malicious code in concerned_swift_0xrequest (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 concerned_swift_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate interactions with the tea protocol, which incentivizes developers through token rewards. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the concerned_swift_0xrequest package. This code is designed to manipulate the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially harming developers' reputations and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall concerned_swift_0xrequest
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 measure, you can remove the concerned_swift_0xrequest package from your project by executing the following command: npm uninstall concerned_swift_0xrequest. This will prevent any malicious activity associated with the package until a secure version is available.
Conclusion
The concerned_swift_0xrequest package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to take immediate action by updating or uninstalling the package to mitigate potential risks.
See every vulnerability recorded for concerned_swift_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed for interactions with the tea protocol.
The malicious code modifies package.json files, removes private flags, and republishes variants to pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
As a workaround, you can uninstall the concerned_swift_0xrequest package to prevent any malicious activity until a secure version is available.
For more details, you can reach out to Amazon Inspector at actran@amazon.com.