Malicious Code Detected in avalon-cli-build-ios Package
Summary
MAL-2025-15167: Malicious code in avalon-cli-build-ios (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 avalon-cli-build-ios package is an npm module designed to facilitate the building of iOS applications using the Avalon framework. It provides developers with tools and scripts to streamline the development process. However, recent findings have revealed that this package contains malicious code, posing significant risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the avalon-cli-build-ios package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the user's environment. The issue was introduced in version 0 and affects all subsequent versions, making it critical 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 avalon-cli-build-ios
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, users can avoid using the avalon-cli-build-ios package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the avalon-cli-build-ios package highlights the importance of vigilance when using open-source software. Users are urged to remove this package from their projects and seek alternatives to safeguard their applications from potential threats.
See every vulnerability recorded for avalon-cli-build-ios →
FAQ
The malicious code can potentially allow unauthorized access to the user's system, leading to data theft or other security breaches.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Immediately remove the avalon-cli-build-ios package from your project and consider using a secure alternative.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json file.
It is advisable to keep an eye on the package's repository for any announcements regarding a patched version.