This is an advisory for a malicious package.
We recommend immediate removal of malicious versions of this package. Safety Firewall is actively blocking installation and will help you identify any existing installations of the package.
npm: cro-defi-swap-periphery
GHSA-phc3-7653-7v4c
Safety vulnerability ID: SFTY-20250819-20625
The package cro-defi-swap-periphery was found to contain malicious code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/cro-defi-swap-periphery/MAL-2025-17690.json))
Overview
Malicious code in cro-defi-swap-periphery (npm)
Advisory
Malicious code in cro-defi-swap-periphery (npm)
How to Fix
We recommend updating cro-defi-swap-periphery to the latest non-vulnerable version.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20250819-20625
- https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/cro-defi-swap-periphery/MAL-2025-17690.json
- https://github.com/ossf/malicious-packages/blob/78792aee23e5c759f309a3d2e9397caf2439773e/osv/malicious/npm/cro-defi-swap-periphery/MAL-2025-17690.json
- https://github.com/advisories/GHSA-phc3-7653-7v4c
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more