
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
redis-orm-lite
Advanced tools
A lightweight Redis ORM with a Mongoose-like API (find, findOne, updateMany, skip, limit, sort, etc.)
A lightweight Redis ORM for Node.js with a Mongoose-like API.
Supports .find(), .findOne(), .findById(), .updateOne(), .updateMany(), .deleteOne(), .deleteMany(), .countDocuments(), and query chaining with .sort(), .skip(), .limit(), .exec().
npm install redis-orm-lite
import { RedisModel, connectRedis } from "redis-orm-lite";
interface User {
id?: string;
name: string;
email: string;
age: number;
}
// Connect to Redis
await connectRedis("redis://localhost:6379");
// Create model
const UserModel = new RedisModel<User>("User");
(async () => {
// Create documents
const alice = await UserModel.create({ name: "Alice", email: "a@mail.com", age: 25 });
await UserModel.create({ name: "Bob", email: "b@mail.com", age: 30 });
await UserModel.create({ name: "Charlie", email: "c@mail.com", age: 40 });
// Find with query + chaining
const adults = await UserModel.find({ age: { $gte: 18 } })
.sort({ age: -1 })
.skip(0)
.limit(10)
.exec();
console.log("Adults:", adults);
// Find one
const firstAdult = await UserModel.findOne({ age: { $gte: 18 } });
console.log("First adult:", firstAdult);
// Find by ID
if (alice.id) {
const userById = await UserModel.findById(alice.id);
console.log("Find by ID:", userById);
}
// Count documents
const count = await UserModel.countDocuments({ age: { $gte: 18 } });
console.log("Adult count:", count);
// Update one
const updatedOne = await UserModel.updateOne({ id: alice.id }, { age: 26 });
console.log("Updated one:", updatedOne);
// Update many
const updatedMany = await UserModel.updateMany({ age: { $lt: 25 } }, { age: 25 });
console.log("Updated many:", updatedMany);
// Delete one
const deletedOne = await UserModel.deleteOne({ id: alice.id });
console.log("Deleted one:", deletedOne);
// Delete many
const deletedMany = await UserModel.deleteMany({ age: { $gte: 100 } });
console.log("Deleted many:", deletedMany);
})();
$gt → greater than$gte → greater than or equal$lt → less than$lte → less than or equal$in → value in array$nin → value not in array$ne → not equal
.create(), .find(), .findOne(), .findById().updateMany(), .updateOne().deleteMany(), .deleteOne()`.countDocuments().sort({ field: 1 | -1 }).skip(n).limit(n).exec()_id fieldsFAQs
A lightweight Redis ORM with a Mongoose-like API (find, findOne, updateMany, skip, limit, sort, etc.)
The npm package redis-orm-lite receives a total of 4 weekly downloads. As such, redis-orm-lite popularity was classified as not popular.
We found that redis-orm-lite demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.

Research
A malicious package uses a QR code as steganography in an innovative technique.

Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.