
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
baileys-mysql
Advanced tools
multi session baileys created on mysql databases
First, you need to add the session package in package.json. You can use the github or npm version
version github
"session": "github.com/amiruldev20/baileys-session#mysql"
version npm
"session": "npm:baileys-mysql@latest"
{
"name": "myproject",
"version": "1.0.1",
"author": "sanzydev",
"dependencies": {
"session": "github:amiruldev20/baileys-session#mysql"
// and other your depen
}
}
Second step, please call the useMongoAuthState function on your client. Example code is below
// for esm import
import { useSqlAuthState } from "session"
// for cjs import
const { useSqlAuthState } = require("session")
// next code (support all)
const config = {
host: 'host',
user: 'user',
password: 'password',
database: 'dbname'
};
const { state, saveCreds, clear, removeCreds, query } = await useSqlAuthState(config);
Note:
If there are bugs, please report & open an issue in the main repo.
FAQs
MySQL external session for Baileys
The npm package baileys-mysql receives a total of 24 weekly downloads. As such, baileys-mysql popularity was classified as not popular.
We found that baileys-mysql demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.