Malicious Code Detected in avalon-cli-prepare-ios Package
Summary
MAL-2025-15171: Malicious code in avalon-cli-prepare-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-prepare-ios package is an npm module designed to facilitate the preparation of iOS applications within the Avalon framework. It provides developers with tools to streamline the build process, manage dependencies, and optimize application performance. However, recent findings have revealed that this package contains malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the avalon-cli-prepare-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 affected systems. The issue arises from the package's version 0 and has been identified as a serious threat, necessitating immediate attention from developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall avalon-cli-prepare-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 measure, users can avoid using the avalon-cli-prepare-ios package until a patched version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the avalon-cli-prepare-ios package highlights the importance of vigilance in open-source software usage. Users are urged to update their packages promptly and consider alternative solutions to mitigate risks. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for avalon-cli-prepare-ios →
FAQ
The malicious code can potentially compromise application security, leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Immediately stop using the package and update to a patched version once it is available. Monitor the package repository for updates.
Yes, consider exploring other npm packages that offer similar functionalities without the security risks.
You can report issues to the package maintainers through the package's repository on GitHub or relevant issue tracking platforms.