
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
mysql-procedure-map
Advanced tools
Maps a mysql database and generates a code file for all procedures in a given database
Automatically generate a script file housing all of the procedures in a given MySQL Database.
const MySQL = require("mysql-procedure-map");
const db = new MySQL.Database({
host : 'localhost',
user : 'user',
password: 'password',
database: 'my_database'
});
//Create the database connection as detailed above.
//Call generateProcedureMapFile with the output filename and callback function.
db.generateJavascriptFile("./procedures.js",function(err){
if(err){
console.error(err);
return;
}
console.log('procedures.js generated from the MySQL Database');
});
//Create the database connection as detailed above.
//Call generateProcedureMapFile with the output filename and callback function.
db.generateTypescriptFile("./procedures.ts",function(err){
if(err){
console.error(err);
return;
}
console.log('procedures.ts generated from the MySQL Database');
});
//Require the generate script file.
const Database = require("./procedures.js");
//Create a new instance of the pre-generated script - Create the database connection as detailed above and pass it into new Procedures(database).
const procedures = new Database.Procedures(db);
//Call the on of the pre-generated procedures.
procedures.sp_select_users(1,2,'hello',(err, tables, parameters)=>{
if(err){
console.error(`Error: ${err.message}`);
return;
}
console.log(`Tables: ${tables.length}`);
console.log(`Parameters: ${parameters}`);
});
FAQs
Maps a mysql database and generates a code file for all procedures in a given database
We found that mysql-procedure-map 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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.