Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
baileys-firebase
Advanced tools
multi session baileys created on firebase 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#firebase"
version npm
"session": "npm:baileys-firebase"
{
"name": "myproject",
"version": "1.0.1",
"author": "Sherly",
"dependencies": {
"session": "github:amiruldev20/baileys-session#firebase"
// and other your depen
}
}
Second step, please call the useFireAuthState function on your client. Example code is below
// for esm import
import { useFireAuthState } from "session"
// for cjs import
const { useFireAuthState } = require("session")
// next code (support all)
const { state, saveCreds, clear, removeCreds, query } =
await useFireAuthState({})
Note:
If there are bugs, please report & open an issue in the main repo.
FAQs
firebase external session for baileys
The npm package baileys-firebase receives a total of 5 weekly downloads. As such, baileys-firebase popularity was classified as not popular.
We found that baileys-firebase 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.