Scan your whole stack
From OX Research Newsroom
Are you using sqldump?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.1.1
sqldump was last scanned on 30 Nov 2026 at version 2.1.1. Risk score 85 of 100 (high). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 2.1.1 LATEST | 30 Nov 2026 | 1 rule fired |
Findings for v2.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
A file shipped in the package is a pickle (plain, behind a short header, or compressed) that calls a code-running function such as eval, exec, os.system or subprocess when it is loaded. Any program that reads the file with pickle runs that code. Configuration and model files never need such a call. Confirmed on a package that hid the first stage of a remote-access trojan in a compressed pickle named like a config file, which a second package then loaded.
HIGHThe score describes 2.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Parse any SQLite database into plain Python dicts table::rows maps or fully detailed schema/rows/stats output.
json.dumps(..., default=str))dumpb engine option (tables, row_limit, strict_mode, …) works directly on parse()py.typed; fully annotated APIparse_table() for one-table extractspip install sqldump
Requires Python 3.8+.
import sqldump
# Flat mode (default): table name -> list of row dicts
data = sqldump.parse("app.db")
data["users"] # [{'id': 1, 'name': 'alice', 'score': 9.5}, ...]
data["orders"] # [{'id': 1, 'user_id': 1, 'total': 42.0}, ...]
data = sqldump.parse("app.db", detail=True)
data["database"] # 'app.db'
data["stats"] # {'tables': 3, 'rows': 128, 'views': 1, 'indexes': 2}
data["views"] # ['user_emails']
data["indexes"] # ['idx_users_name']
data["errors"] # non-fatal issues collected during the parse
data["tables"]["users"]
# {'schema': 'CREATE TABLE users (...)', 'rows': [...],
# 'row_count': 3, 'truncated': False}
sqldump.parse_table("app.db", "users")
# {'schema': ..., 'rows': [...], 'row_count': 3, 'truncated': False}
Raises sqldump.ParseError if the table does not exist.
sqldump.parse("app.db", tables=["users", "orders"], row_limit=100, strict_mode=True)
All dumpb engine keys are accepted (everything in dumpb.DEFAULT_CONFIG
except tables, which is parse()'s own keyword).
SqldumpError # base error: unknown options, bad values, bad paths
└── ParseError # dump/parse failures (wraps dumpb.DumpbError),
# missing tables, strict-mode issues
import sqldump
from sqldump import SqldumpError, ParseError
try:
data = sqldump.parse("missing.db")
except ParseError as exc:
print("parse failed:", exc)
try:
sqldump.parse("app.db", bogus=1)
except SqldumpError as exc:
print(exc) # unknown parse option 'bogus': valid options are ...
sqlite_* objects (sqlite_sequence, autoindexes, …) are excluded.tables=[] (empty list) parses no tables; None (default) parses all.tables=[...] are recorded in detail['errors']
(flat mode silently skips them) unless strict_mode=True.bytes values of BLOB columns are preserved in dicts; use
json.dumps(data, default=str) for JSON serialization.| API | Description |
|---|---|
parse(db, detail=False, tables=None, **options) |
Database as dict (flat or detail) |
parse_table(db, name, **options) |
Single table as dict |
DEFAULT_OPTIONS |
Default engine options (mirrors dumpb.DEFAULT_CONFIG minus tables) |
SqldumpError |
Base error |
ParseError |
Parse failures, missing tables |
| Module | Exports |
|---|---|
sqldump |
parse, parse_table, SqldumpError, ParseError, DEFAULT_OPTIONS |
sqldump.parser |
parse, parse_table, DEFAULT_OPTIONS |
sqldump.errors |
SqldumpError, ParseError |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.