Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Dependency-free Node.js module for removing EXIF metadata from JPEG images
Dependency-free Node.js module that simply removes all EXIF metadata from a single image or a set of images.
npm install exifremove
or, if you would like to use the CLI:
npm install -g exifremove-cli
Example of module usage:
const fs = require('fs');
const exifremove = require('exifremove');
const image1 = fs.readFileSync('image1.jpg');
const image2 = fs.readFileSync('image2.jpg');
// Remove just one image's Exif
let image = exifremove.remove(image1);
console.log(image); // <Buffer ff d8 ...>
// Remove multiple images' Exif
let images = exifremove.removeMultiple([image1, image2]);
console.log(images);
/*
[
<Buffer ff d8 ...>,
<Buffer ff d8 ...>
]
*/
exifremove [image0] ... [imageN]
Options:
--version Show version number [boolean]
-v, --verbose Print extra messages [count]
--km, --keep-marker Keeps the APP1 marker in the JPEG [boolean]
-h, --help Show help [boolean]
Check out the CLI module's Readme for more information.
[1.0.1] - 2020-06-28
.npmignore
file and files
field to package.json
to ignore unwanted files from being packaged with published module.repository
field to both main module and CLI module's package.json
FAQs
Dependency-free Node.js module for removing EXIF metadata from JPEG images
The npm package exifremove receives a total of 1,062 weekly downloads. As such, exifremove popularity was classified as popular.
We found that exifremove demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.