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.
Then you've come to the wrong place.
This is a very small database management system to store a minuscule amount of data in one of the worst possible ways. But hey, atleast its easy to use .
Installation is super easy. Just use your favorite package manager.
pip install dumbdb
from dumbdb import DumbDB
my_db = DumbDB(location="/tmp", file_name="temp_data.json")
# Use .set to set value
my_db.set("int", 1)
my_db.set("list", [])
my_db.set("cars", {})
# Use .get to get value
my_db.get("int")
# You can optionally pass a default value to the get method
my_db.get("new_key", default="Default Val")
A good DMBS is characterized by the following. You can have a look how well the module fits the ideal DMBS.
Desired Feature | Module Status |
---|---|
Data Availability | Data is stored in a file in JSON format. Your operating system handles data availability, but it is only accessible locally and only by users with priveledge to read the file |
Minimized Redundancy | None. No effort at all |
Data Security | Your operating system worries about this. Not this module |
Easiness in Data Management | An easy to get started system |
Data Structuring | None. You worry about that. |
Querying Language | Two methods! Thats all you get. |
Contributions are always welcome!
FAQs
A super easy, but really really bad DBMS
We found that dumbdb 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.