Critical Malicious Code Vulnerability in @strapbuild/react-native-perspective-image-cropper-2 Package

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190826: Malicious code in @strapbuild/react-native-perspective-image-cropper-2 (npm). Affects @strapbuild/react-native-perspective-image-cropper-2 versions 0.4.7. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @strapbuild/react-native-perspective-image-cropper-2 package is a tool used in React Native applications for cropping images with perspective transformations. It is designed to enhance the user experience by providing advanced image manipulation capabilities. However, this package has been identified as containing malicious code, which poses a significant risk to any system that has it installed.

Vulnerability Detail

The vulnerability originates from the presence of embedded malicious code within the @strapbuild/react-native-perspective-image-cropper-2 package. This code can compromise the security of any computer running the package, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that once installed, the package can grant full control of the system to an external entity, making it imperative for users to act swiftly to mitigate potential damage.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @strapbuild/react-native-perspective-image-cropper-2

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

Currently, there are no workarounds to safely use the affected package without risking system security. The only recommended action is to uninstall the package and monitor your system for any signs of compromise.

Conclusion

The discovery of malicious code in the @strapbuild/react-native-perspective-image-cropper-2 package highlights the importance of vigilance in managing dependencies. Users must act quickly to remove the affected package and secure their systems to prevent unauthorized access and data breaches.

See every vulnerability recorded for @strapbuild/react-native-perspective-image-cropper-2 →

Share this vulnerability

FAQ

Immediately uninstall the package using the command: npm uninstall @strapbuild/react-native-perspective-image-cropper-2 and rotate any sensitive information stored on the system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Failing to remove the package can lead to unauthorized access to your system, potential data breaches, and loss of sensitive information.

No, there is currently no patched version available for this package. The best course of action is to uninstall it.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights without needing access to the code.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @strapbuild/react-native-perspective-image-cropper-2

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback