Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sqldump

Latest version: v2.1.1

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
AI: Suspicious PyPI package Publisher: pushion
1 Versions

Scan summary

sqldump was last scanned on 30 Nov 2026 at version 2.1.1. Risk score 85 of 100 (high). High-severity rules fired.

  • Releases: First and only release on 30 Nov 2026.
  • Findings: 1 rule fired in version 2.1.1 (1 high). The score describes this version only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
2.1.1 LATEST 30 Nov 2026 1 rule fired

Rules fired in 2.1.1: 1

Findings

1 High

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.

Shipped pickle runs code when it is loaded

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.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 2.1.1; other versions have their own rules, not their own score.

README

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.

Features

  • Two output modes: flat dict keyed by table name, or full detail with schema, stats, views, and indexes
  • Plain dicts: no result objects to unwrap; output is JSON-ready (BLOBs stringified safely by json.dumps(..., default=str))
  • Option passthrough: every dumpb engine option (tables, row_limit, strict_mode, …) works directly on parse()
  • Strict validation: unknown options and bad option types raise immediately with the list of valid keys
  • Typed: ships py.typed; fully annotated API
  • Single-table helper: parse_table() for one-table extracts

Installation

pip install sqldump

Requires Python 3.8+.

Quickstart

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}, ...]
Detail mode
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}
Single table
sqldump.parse_table("app.db", "users")
# {'schema': ..., 'rows': [...], 'row_count': 3, 'truncated': False}

Raises sqldump.ParseError if the table does not exist.

Options passthrough
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).

Error handling

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 ...

Behavior notes

  • Internal sqlite_* objects (sqlite_sequence, autoindexes, …) are excluded.
  • Views and indexes appear only in detail mode as name lists.
  • tables=[] (empty list) parses no tables; None (default) parses all.
  • Missing tables under tables=[...] are recorded in detail['errors'] (flat mode silently skips them) unless strict_mode=True.
  • The bytes values of BLOB columns are preserved in dicts; use json.dumps(data, default=str) for JSON serialization.

API reference

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

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases sqldump

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229