
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@expo/image-utils
Advanced tools
@expo/image-utilsA library for image processing functionality in Expo CLI. It uses sharp for image processing if it's available through a global sharp-cli installation. Otherwise it uses jimp, a Node library with no native dependencies, and warns the user that they may want to install sharp-cli for faster image processing.
This package can be configured using the following environment variables.
When truthy, this will force global sharp-cli resolution methods like isAvailableAsync() and findSharpInstanceAsync() to fail. Other processes can use this to fallback on Jimp for image modifications. By default this is falsy (undefined).
findSharpInstanceAsync() will throw an error if disabled because it shouldn't be invoked if isAvailableAsync() returns false.
Sharp is a high-performance image processing library that supports resizing, cropping, compositing, and format conversion. It is known for its speed and efficiency, making it a popular choice for server-side image processing. Compared to @expo/image-utils, Sharp offers more advanced features and better performance but may be more complex to set up and use.
Jimp is a JavaScript image processing library that works in both Node.js and the browser. It supports a wide range of image manipulation tasks, including resizing, cropping, and color adjustments. Jimp is easier to use and more versatile than @expo/image-utils, but it may not be as performant for large-scale image processing tasks.
GraphicsMagick (gm) is a Node.js wrapper for the GraphicsMagick and ImageMagick command-line tools. It provides a wide range of image processing capabilities, including resizing, cropping, and format conversion. While gm offers extensive functionality, it requires the installation of external dependencies, making it more complex to set up compared to @expo/image-utils.
FAQs
A package used by Expo CLI for processing images
The npm package @expo/image-utils receives a total of 2,453,287 weekly downloads. As such, @expo/image-utils popularity was classified as popular.
We found that @expo/image-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.