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

abx-dl

Latest version: v1.13.392

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: org:archivebox
155 Stars
10 Forks
156 Versions
120.4K Downloads
Python Repo language

Scan summary

abx-dl was last scanned on 24 Nov 2026 at version 1.13.392. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 156 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 1.13.392.
  • Downloads: 120,408 downloads.

Versions

156 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.13.392 LATEST 24 Nov 2026 No rules fired
1.13.390 23 Nov 2026 No rules fired
1.13.389 23 Nov 2026 No rules fired
1.13.388 23 Nov 2026 Not shown
1.13.387 23 Nov 2026 Not shown

No rules fired in 1.13.392

Findings

Findings for v1.13.392. 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.

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

README

The publisher’s own README, as collected from the registry.

⬇️ abx-dl

A simple all-in-one CLI tool to auto-detect and download everything available from a URL.

uvx abx-dl 'https://example.com'

✨ Ever wish you could yt-dlp, gallery-dl, wget, curl, puppeteer, etc. all in one command?

abx-dl is an all-in-one CLI tool for downloading URLs "by any means necessary".

It's useful for scraping, downloading, OSINT, digital preservation, and more. abx-dl provides a simpler one-shot CLI interface to the ArchiveBox plugin ecosystem.


🍜 What does it save?
abx-dl --plugins=wget,title,screenshot,pdf,readability 'https://example.com'

abx-dl runs all plugins by default (and auto installs dependencies). You can specify --plugins=wget,favicon,title or filters like --output=html,pdf,ico,text/ to limit plugin selection.

  • HTML, JS, CSS, images, etc. rendered with a headless browser
  • title, favicon, headers, outlinks, and other metadata
  • audio, video, subtitles, playlists, comments
  • snapshot of the page as a PDF, screenshot, and Singlefile HTML
  • article text, git source code
  • and much more...
🧩 How does it work?

abx-dl uses the Plugin Library (shared with ArchiveBox) to run a collection of downloading and scraping tools.

Plugins are loaded from the installed abx-plugins package (or from ABX_PLUGINS_DIR if you override it) and execute in distinct phases:

  1. Install phase runner reads plugins config.json: required_binaries and emits BinaryRequestEvents for abxpkg.binary_service.BinaryService, which resolves or installs binaries using built-in providers such as env, pip, npm, brew, apt, cargo, and browser-specific providers. abxpkg owns the persistent binary cache; abx-dl only projects resolved paths into the current run's in-memory config.
  2. CrawlSetup hooks (on_CrawlSetup__*) launch/configure expensive crawl-scoped processes like chrome, or trigger side effects. background hooks use their first stdout line as the readiness boundary and emit no stdout JSONL records.
  3. Snapshot hooks (on_Snapshot__*) run per URL to extract content. background hooks use their first stdout line as the readiness boundary; JSONL records after that are ArchiveResult, Snapshot, and Tag.

Applications embedding the runtime use the same framework-free interfaces as the CLI: PluginCatalog for inventory, PluginConfigResolver for config, the service classes for explicit listener composition, typed events for phase dispatch, execute_hook() for a single finite hook, and OutputManifest for output metadata. These APIs accept plain mappings, filesystem paths, environment variables, and CLI arguments; they do not depend on Django or an application database.

Standalone download() attaches both CrawlService (plugin crawl hooks) and CrawlLifecycleService (phase sequencing). Embedders can attach only the listener suites whose behavior they want and dispatch the corresponding typed events directly.

For database-backed queues, pass an async run_snapshots(CrawlStartEvent) callback to CrawlLifecycleService. The callback admits and awaits snapshot work, draining already-admitted tasks in its finally block if scheduling fails. The service still owns setup, cleanup, and completion; embedders must not duplicate those phases. Omitting the callback runs the usual single snapshot. An explicit user abort completes after cleanup; an execution takeover (CrawlAbortEvent(user_initiated=False)) leaves completion to its new owner.

If a background crawl-setup resource required by another selected plugin fails after readiness, the owner stops new snapshot admissions through CrawlAbortEvent with user_initiated=False and its error. Already-started captures clean up and complete with that failure; queued URLs are not attempted against the dead resource. An empty error with user_initiated=False remains ownership takeover and emits no terminal completion. Optional monitors and snapshot-level background downloads keep their independent failure behavior; this does not restart or recover a browser.

Before destroying an embedded event bus, await ProcessService.stop() to stop its remaining hooks and deliver their process-completion facts. Keep per-snapshot services registered until this finishes, before calling their close() methods: their takeover and cleanup consumers are still needed during the drain. This uses the same takeover control path and does not complete interrupted snapshots or crawls. Abrupt process death can still interrupt shutdown; the next owner starts a fresh snapshot attempt rather than depending on this drain for recovery.

SnapshotCompletedEvent means an attempt has settled, not that every plugin succeeded. Its error contains a handled execution or persistence failure; existing hook failures retain their own ArchiveResults. Completion is emitted only after actual hook processes stop, and never for task cancellation or ownership takeover. A handled snapshot failure allows independent snapshots to finish and produces a nonzero final crawl outcome. SnapshotCleanupEvent.error carries the owner's failure context to later final-metadata consumers before the terminal event is emitted. Preparation consumers run before the runtime owner on the serial SnapshotEvent; a recorded preparation exception prevents hooks from starting. Final-metadata consumers register after runtime cleanup on serial SnapshotCleanupEvent, and act only when finalize_snapshot=True.

CrawlCompletedEvent.error likewise records a handled failure after the crawl's processes stop. The original exception still reaches the caller after completion consumers finish. This fact ends one execution; an embedder may still have queued snapshots to run. Cancellation, takeover, or live writers prevent completion.

Interactive Ctrl+C remains a live-session control: it can interrupt a hook, wait for the user's choice, then retry that hook, skip it, or abort the capture. That in-memory prompt does not persist a paused snapshot. A dead or replaced owner cannot continue a half-finished snapshot; a later attempt starts fresh.

Hook preparation failures (before a process starts) retain their failed result and allow independent hooks to finish. After cleanup and completion consumers finish, the crawl raises SnapshotAttemptError so CLI callers do not report a false success. Ordinary extractor exits remain per-hook outcomes. Failed foreground crawl-setup hooks are likewise reported after independent work finishes; optional setup hooks express best-effort behavior in their own exit status.

parse_input(source_text, catalog, output_dir) is the framework-free import path for pasted text and bookmark/feed exports. It writes staticfile/stdin.txt, runs only plugins declaring x-accepts-internal-input, and returns metadata-preserving Snapshot facts at depth zero. It does not create a crawl, database row, or synthetic URL.

⚙️ Configuration

Configuration is handled via environment variables plus a user config file under the platformdirs user config path (<user-config>/abx/config.env). Resolved binary paths are projected into the current run in memory; persistent binary state lives only in the abxpkg library cache:

abx-dl config                        # show all config (global + per-plugin)
abx-dl config --get WGET_TIMEOUT     # get a specific value
abx-dl config --set TIMEOUT=120      # set persistently (resolves aliases)

Output is grouped by section:

# GLOBAL
TIMEOUT=60
USER_AGENT="Mozilla/5.0 ..."
...

# plugins/wget
WGET_BINARY="wget"
WGET_TIMEOUT=60
...

# plugins/chrome
CHROME_BINARY="chromium"
...

Common options:

  • TIMEOUT=60 - default timeout for hooks
  • MEMORY_LIMIT - best-effort per-hook process-tree RSS limit in bytes, checked once per second; 0 or absent disables it. The base plugin config supplies a 2GiB default and CHROME_MEMORY_LIMIT=0 exempts shared Chrome. {PLUGIN}_MEMORY_LIMIT overrides it. Exceeding the limit kills that hook tree and records a failure while preserving saved files. This is not a hard allocation limit: sudden growth between checks can still exhaust memory, and RSS counts shared pages more than once.
  • MEMORY_MIN_FREE - best-effort host RAM reserve, checked by the same process monitor. The base plugin supplies a 512MiB default; 0 disables this reserve. Below it, owned hook trees using at least 256MiB RSS are stopped through the same failure path, including Chrome with its fixed cap disabled. This protects against other host services consuming memory after admission; it cannot guarantee protection against sudden allocations between checks.
  • USER_AGENT - optional HTTP user agent override; empty uses Chrome's detected identity after browser setup. yt-dlp keeps its native identity and its own argument overrides.
  • {PLUGIN}_BINARY - path or name of the binary to use (e.g. WGET_BINARY=wget or CHROME_BINARY=/usr/bin/chromium)
  • {PLUGIN}_ENABLED=True/False - enable/disable specific plugins
  • {PLUGIN}_TIMEOUT=120 - per-plugin timeout overrides

Aliases are automatically resolved (e.g. --set USE_WGET=false saves as WGET_ENABLED=false).

One-off config is easy via env vars or CLI args:

env \
  TIMEOUT=120 \
  WGET_TIMEOUT=120 \
  abx-dl \
    --dir=./config-example \
    --plugins=title,wget \
    --timeout=90 \
    'https://example.com'

📦 Install
uv tool install abx-dl
abx-dl version
uvx abx-dl version
abx-dl install wget title
Docker

archivebox/abx-dl:main-unstable and the universal :sha-<12-character-commit> image are published after both Docker build/check jobs pass, before the remaining CI finishes. They use the exact main checkout and its locked dependencies. After full CI passes, the same image is promoted to :main and the release tags without rebuilding. All tags include amd64 and arm64; ordinary installations should use the fully tested release channels.

The image includes the downloader plugins and their dependencies. Mount an output directory at /out to keep the downloaded files:

set -Eeuo pipefail
output_dir="$(mktemp -d)"
image="${ABXDL_IMAGE:-archivebox/abx-dl:latest}"
trap 'rm -rf "$output_dir"' EXIT
docker run --rm \
  --volume "$output_dir:/out" \
  "$image" \
  --no-install --plugins=title,wget 'https://example.com'
test -s "$output_dir/index.jsonl"
test -s "$output_dir/title/title.txt"
test -s "$output_dir/wget/example.com/index.html"
grep -q 'Example Domain' "$output_dir/title/title.txt"
grep -q 'Example Domain' "$output_dir/wget/example.com/index.html"

To persist browser personas, also mount their directory at /data/personas. The image does not create an anonymous persona volume.

🔠 Usage
abx-dl --plugins=title,wget --dir=./downloads --timeout=120 'https://example.com'
# Default command - a bare URL archives with all enabled plugins:
abx-dl 'https://example.com'

# Select plugins by output type (mimetypes, categories, or file extensions):
abx-dl --output=html,pdf,video/ 'https://example.com'
abx-dl -o text -o image -o mp4 'https://example.com'

# Limit work to a subset of plugins by name:
abx-dl --plugins=wget,title,screenshot,pdf 'https://example.com'

# Skip auto-installing missing dependencies (emit warnings instead):
abx-dl --no-install 'https://example.com'

# Specify output directory (default is current working dir):
abx-dl --dir=./downloads 'https://example.com'

# Set timeout:
abx-dl --timeout=120 'https://example.com'
Commands
abx-dl <url>                              # Download URL (default shorthand)
abx-dl plugins                            # Check + show info for all plugins
abx-dl plugins wget ytdlp git             # Check + show info for specific plugins
abx-dl install wget ytdlp git             # Pre-install plugin dependencies
abx-dl config                             # Show all config values
abx-dl config --get TIMEOUT               # Get a specific config value
abx-dl config --set TIMEOUT=120           # Set a config value persistently
Installing Dependencies

Many plugins require external binaries (e.g., wget, chrome, yt-dlp, single-file).

By default, abx-dl lazily installs missing dependencies as needed when you download a URL. Use --no-install to skip plugins with missing dependencies instead. install runs only the pre-run dependency pipeline (required_binaries → BinaryRequestEvent → BinaryEvent) without starting crawl setup or snapshot extraction:

abx-dl install wget title
abx-dl plugins wget title
abx-dl 'https://example.com'              # checks and installs missing deps before hooks run
abx-dl --no-install 'https://example.com' # skips plugins with missing deps and emits warnings
abx-dl install wget singlefile ytdlp      # installs dependencies for specific plugins only
abx-dl plugins                            # checks which dependencies are available/missing

Every preflight request is resolved through abxpkg. Compatible host binaries are selected first and projected into ABXPKG_LIB_DIR/env/bin; otherwise the configured managed provider installs and projects the dependency. Hook subprocesses then use the resolved Python or Node interpreter and projected runtime environment directly.

During capture, a dependency failure leaves that plugin's real hook to report its failure while unrelated plugins continue. Explicit abx-dl install commands still fail when a requested dependency cannot be installed. Crawl setup readiness failures remain fatal because later hooks may require those shared services.

The normal runtime flow after dependency preflight is:

  • CrawlEvent (internal lifecycle root)
  • CrawlSetupEvent → plugin on_CrawlSetup__* hooks
  • CrawlStartEvent → SnapshotEvent
  • SnapshotEvent → plugin on_Snapshot__* hooks
  • SnapshotCleanupEvent / CrawlCleanupEvent

Hook output contract:

  • EXTRA_CONTEXT is opaque correlation data reflected into output records only. Hooks must never inspect it. Snapshot hooks receive --url, --snapshot-id, and --depth as explicit arguments; archived titles/tags stay in filesystem data. Embedders provide download(snapshot=Snapshot(...)) for an existing snapshot, not identity or depth hidden in configuration.
  • binary preflight is driven by plugin required_binaries and handled by abxpkg, not by plugin hooks
  • on_CrawlSetup__* background hooks emit a first stdout readiness line, but no stdout JSONL records
  • on_Snapshot__* background hooks emit a first stdout readiness line; hook JSONL records after that are only ArchiveResult, Snapshot, and Tag
  • the TUI and services consume structured events derived from those hook records

Dependencies are installed to <user-config>/abx/lib/{arch}/ using the appropriate package manager:

  • pip packages → <user-config>/abx/lib/{arch}/pip/venv/
  • npm packages → <user-config>/abx/lib/{arch}/npm/
  • brew/apt packages → system locations

You can override the install location with ABXPKG_LIB_DIR=/path/to/lib abx-dl install wget.


Output Structure

By default, abx-dl writes results into the current working directory. Each run creates an index.jsonl manifest plus one subdirectory per plugin that produced output. If you want to keep runs isolated, cd into a scratch directory first or pass --dir=/path/to/run.

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 abx-dl

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229