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.
tracardi-mysql-connector
Advanced tools
The purpose of this plugin is to connect with mysql database and perform query.
This plugin connects to Mysql and executes a SQL query.
Example
{
"source": {
"name": "mysql",
"id": "a8430a5c-43de-44eb-9c25-2b1426aed3a0"
},
"type": "select",
"query": "SELECT * FROM user WHERE User=%s;",
"data": [
"root"
],
"timeout": 10
}
It returns the data in JSON.
Example
{
"result": [
{
"Host": "%",
"User": "root",
"Select_priv": "Y",
"Insert_priv": "Y",
"Update_priv": "Y",
"Delete_priv": "Y",
"Create_priv": "Y",
"Drop_priv": "Y"
},
{
"Host": "localhost",
"User": "root",
"Select_priv": "Y",
"Insert_priv": "Y",
"Update_priv": "Y",
"Delete_priv": "Y",
"Create_priv": "Y",
"Drop_priv": "Y"
}
]
}
If the query is of insert type then the output result will have last inserted record id.
If the query is of type "delete","update", or "create" then the output result will have input payload.
Not all arguments converted during string formatting
This error is raised when the number of %s placeholders and data do not match. That means the number of placeholders is not equal to the number of data.
FAQs
The purpose of this plugin is to connect with mysql database and perform query.
We found that tracardi-mysql-connector 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.