
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
ImageVoodoo is an Image manipulation library with a ImageScience-compatible API for JRuby.
http://github.com/jruby/image_voodoo
ImageVoodoo.with_image(ARGV[0]) do |img|
img.cropped_thumbnail(100) { |img2| img2.save "CTH.jpg" }
img.with_crop(100, 200, 400, 600) { |img2| img2.save "CR.jpg" }
img.thumbnail(50) { |img2| img2.save "TH.jpg" }
img.resize(100, 150) do |img2|
img2.save "HEH.jpg"
img2.save "HEH.png"
end
img.quality(0.75).save("reduced.jpg")
end
image_voodoo can also be run from the commandline:
% image_voodoo -p a.gif --thumbnail 50 -p --save a_thumb.gif
In this command-line you will preview a.gif which will pop up a rendered a.gif on your screen; Then you will scale your image to a thumb to a 50 pixel size; then preview the new thumbnail image; then save it to a_thumb.gif. The CLI tool uses the same names as the API and can be a very handly command-line tool.
FAQs
Unknown package
We found that image_voodoo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.