
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.
lowdb-encryption
Advanced tools
Lowdb add-on for ecnryption.
npm:
npm install lowdb-encryption
Yarn:
yarn add lowdb-encryption
GitHub:
git clone https://github.com/mazecodes/lowdb-encryption.git
const lowdb = require('lowdb');
const FileSync = require('lowdb/adapters/FileSync');
const lowdbEncryption = require('lowdb-encryption');
const adapter = new FileSync('db.json', {
...lowdbEncryption({
secret: 's3cr3t',
iterations: 100_000,
}),
});
const db = lowdb(adapter);
iterations is the number of iterations used for key derivation. The encryption key will be derived from secret. (Iterations is set to 100,000 by default)
Lowdb Encryption uses PBKDF2 for key derivation with 100,000 iterations set by default and uses AES256 in CBC mode for encryption. It also uses HMAC-SHA256 for signing and validation the state.
All contributions, issues and feature requests are welcome!
Please feel free to check issues page.
git checkout -b feature/AwesomeFeature)git commit -m "Add Awesome Feature")git push origin feature/AwesomeFeature)Maze Peterson:
Give a ⭐ if you liked this project!
MIT © Maze Peterson
FAQs
Lowdb add-on for encryption.
We found that lowdb-encryption 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.