
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
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
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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.