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.
Handy utility tools for interacting with a MySQL database with Python. This
project was created with a need to interact with MySQL utilizing lots of CSVs,
but the complexity of pandas
was a bit overkill. Perhaps as my needs grow,
I'll see the light and move over to pandas
.
You'll primarily want to interact with the DBConnection class. Example:
from pykn_mysqltools import utilities as pyknmt
my_conn = pyknmt.DBConnection(
db_hostname="hostname",
db_username="username",
db_password="password",
db_schema="schema",
db_port="port"
)
From here you can interact with your database through my_conn
, and access
helpful tools like the import_csv
method:
my_conn.import_csv("./path/to/your.csv", "tablename")
If your use case calls for inserting data directly, the insert
method is your
friend.
FAQs
Utilities for interacting with MySQL and CSVs.
We found that pykn-mysqltools 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.