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.
binlog-triggers-mysql
Advanced tools
This library provides API for listening to binlog events. Events can be filtered by table name and/or operation type (insert, delete etc.)
API for listening to MySQL binlog events.
This library provides API for listening to binlog events. Events can be filtered by table name and/or operation type (insert, delete etc.)
import {BinlogTriggers, DbConfig} from "binlog-triggers-mysql"
const binlogTriggers = new BinlogTriggers()
binlogTriggers.table("test", {
insert: (rows) => {
console.log("Got new rows", rows)
countRows++
}
})
binlogTriggers.start({
database: "binlog_demo",
host: "localhost",
password: "test",
user: "test",
port: 3306,
})
To parse MySQL binlog messages, it uses https://github.com/nevill/zongji .
In addition to API binlog-triggers-mysql
also provides MySQL reconnect. It is useful on
network issues or MySQL server restarts.
FAQs
This library provides API for listening to binlog events. Events can be filtered by table name and/or operation type (insert, delete etc.)
The npm package binlog-triggers-mysql receives a total of 9 weekly downloads. As such, binlog-triggers-mysql popularity was classified as not popular.
We found that binlog-triggers-mysql 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
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.