
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
sqlite-crypto
Advanced tools
Using node-sqlite3, handles SQLite databases that need to be encrypted. It comes with SQLite so there's no need to install an external library.
npm install sqlite-crypto
var crypts = require('sqlite-crypto');
// Initialize it.
var db = crypts.init({
file: 'Path to your .db file relative to root', // Default '/db.db'
password: 'supersecretpassword', // Default '6yhbVFT6AlSkDjFhG'
algorithm: 'aes-256-ctr',
encrypt_offset: 700, //Default 700. The time in milliseconds to wait before re-encrypting the database file. Helps avoid unnecessary decrypt/encrypt in rapid succession
});
//Run a query and get a promises. Promise returns errors, response.
db.run({
sql: "SOME cray SQLs",
method: "sqlite3 methods(like all, get, etc). Default is run"
}).then(function(error, response){
console.log(errors);
console.log(respnse);
});
See the node-sqlite3 API documentation in the wiki. Written by Mediafly Inc.
FAQs
Handles SQLite databases that need to be encrypted
The npm package sqlite-crypto receives a total of 18 weekly downloads. As such, sqlite-crypto popularity was classified as not popular.
We found that sqlite-crypto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.