
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
yvr-helpers
Advanced tools
yvr-helpers is a utility package for Node.js that simplifies the process of loading Mongoose models in your project. It allows you to define a global path for your models directory and easily import models wherever you need them.
To install the package, use npm:
npm install yvr-helpers
To use yvr-helpers in your project, follow these steps:
// app.js
const { setModelsPath } = require('yvr-helpers');
// Set the path to your models directory
setModelsPath('./src/models');
// Now the models path is globally available for the entire project
// In any other file, e.g., routes.js
const { loadModels } = require('yvr-helpers');
// Load the models
const { Collection, User, Product } = loadModels();
// Now you can use your models as needed
// Example: Fetch all users from the database
async function getAllUsers(req, res) {
const users = await User.find({});
res.json(users);
}
FAQs
A collection of helper functions for @bilalyaver/nodejs-boilerplate
We found that yvr-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.