
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
jsonlz4-decompress
Advanced tools
A Node.js module and CLI application for decompressing a Firefox bookmark backup jsonlz4 file format into JSON.
To install as a local module and include as a dependency:
npm install --save jsonlz4-decompress
var jsonlz4 = require('jsonlz4-decompress');
var fs = require('fs');
// Open file into buffer
fs.readFile('/path/to/bookmarkbackups/back-up-date.jsonlz4', function(err, fileBuffer) {
// decompress file buffer to JSON
decompressedJson = jsonlz4(fileBuffer);
// do something with the JSON
console.log(decompressedJson);
});
To install as a command line application:
npm install jsonlz4-decompress -g
You may need to prefix the command with sudo.
Usage: index [options] <file>
Decompress a Firefox bookmark backup jsonlz4 file format into JSON.
Options:
-h, --help output usage information
-p, --pretty Pretty print JSON
Output is sent to stdout
Based on a description snippet found here
bytes 0-7: Magic number when converted to a string mozLz40 followed by a null charater.
bytes 8-11: Uncompressed file size. Little endian unsigned 32bit integer.
bytes 12-EOL: LZ4 compressed blocked.
FAQs
Decompress FireFox jsonlz4 bookmark backup files
The npm package jsonlz4-decompress receives a total of 7 weekly downloads. As such, jsonlz4-decompress popularity was classified as not popular.
We found that jsonlz4-decompress 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.