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

quarry-kb

Latest version: v0.11.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: asachs
0 Stars
0 Forks
11 Versions
879 Downloads
Python Repo language

Scan summary

quarry-kb was last scanned on 29 Nov 2026 at version 0.11.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 5 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.11.0.
  • Downloads: 879 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.11.0 LATEST 29 Nov 2026 No rules fired
0.10.0 26 Nov 2026 No rules fired
0.9.1 26 Nov 2026 No rules fired
0.9.0 26 Nov 2026 Not shown
0.8.4 26 Nov 2026 Not shown

No rules fired in 0.11.0

Findings

Findings for v0.11.0. 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 0.11.0; other versions have their own rules, not their own score.

README

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

Quarry

A config-driven knowledge-ingestion harness — a CLI that owns the deterministic half of turning a source (a YouTube video, a web page, …) into a linked article in a markdown knowledge wiki.

Quarry resolves a source adapter, fetches, writes immutable raw material, hands a machine-readable compile-spec to an LLM (or human) for the one irreducibly-generative step — writing the article — then verifies provenance, lints, and commits. It never calls a model, so it is runnable and testable without API keys.

You extract raw material from the world and refine it into something structured. That is the pipeline, and the name.

Why

The deterministic mechanics of disciplined knowledge ingestion — fetch, immutable raw, a verifiable manifest, provenance checking, structural lint, semantic link discovery — are worth doing the same way every time. Quarry packages exactly that machinery and nothing else: it is not an LLM wrapper, not a note-taking app, and not opinionated about your wiki's shape. Every convention is configuration.

Install

pip install quarry-kb[all]          # all shipped adapters
pip install quarry-kb               # core only (PyYAML); add adapters as extras

Adapters (each an extra): youtube (transcript + Whisper fallback), web, github (gitingest), pdf (PyMuPDF4LLM + OCR), instagram, plus whisper for local audio transcription (or point [speech] service_url at a transcription server with OpenAI's /v1/audio/transcriptions route, e.g. whisper.cpp's on a GPU; the local model, if installed, is the fallback). Adapters extract raw content deterministically — no LLM. The core needs no API key; a few adapters take optional credentials (e.g. Instagram cookies for private posts) — see each adapter's module docstring for setup.

No Reddit adapter (removed in 0.4.0). Reddit became a losing battle for a deterministic, no-auth fetcher: it fingerprint-blocks pure-Python clients via TLS/JA3 (so it needed curl_cffi impersonation just to get a 200), throttles by IP reputation with no Retry-After (so back-off is guesswork), and its Nov-2025 Responsible Builder Policy gates all API apps — including read-only OAuth — behind manual approval. The net result was a fragile, perpetually-degrading path that violated Quarry's "runnable without keys, deterministically" principle. Rather than ship something that mostly doesn't work, it's gone. To ingest a Reddit thread, save the page (or its .json) and feed it through the web/pdf adapter, or add your own adapter via the entry-point hook. (curl_cffi lives on — the instagram extra uses it for yt-dlp's impersonation.)

Installed as quarry-kb on PyPI (the bare name was taken); the command and import are both quarry.

Requires Python 3.11+.

60-second quickstart

cd your-wiki-repo
quarry init                  # scaffold a documented quarry.toml + gitignore .quarry/
# edit quarry.toml to match your wiki's conventions

quarry ingest <url>          # fetch -> raw/ + compile-manifest, then STOP
# ...now write the wiki article using the printed compile-spec...
quarry finish <slug>         # verify provenance -> lint -> commit (no push unless --push)

Other commands: quarry lint, quarry adapters, quarry related <article>, quarry densify [--apply], quarry doctor, quarry pending (captures with no article yet), quarry status <url> (absent, captured or compiled), quarry links [article] (cross-links that look like padding; report only), quarry canary (capture the known-good sources and check every stage; schedule it daily).

The two-call seam is deliberate: ingest and finish are separate processes, and the generative step (writing the article) happens between them — done by you or your agent, never by Quarry.

Configuration reference

Quarry is configured by a quarry.toml discovered by walking up from the current directory (a [tool.quarry] table in pyproject.toml is a fallback). quarry init writes a fully-commented default. Tables:

Table Key Purpose
[store] wiki, raw, manifest_dir directories (relative to the store root)
raw_layout raw path template; tokens: {year} {month} {date} {slug} {kebab_title} {ext} {topic} {source_id}
root explicit store root (defaults to the dir containing quarry.toml)
[frontmatter] required, sources_field, related_field article frontmatter schema
[ingest] default_ext, slug, on_duplicate slug template; on_duplicate = refuse \| warn \| allow
related_candidates print N link candidates (existing articles) in the compile-spec
assets_layout where adapter media (frames, slides) is stored under raw/
[adapters] enabled allowlist of adapters to run
[discovery] backend, mode, collection, dedup_threshold, densify_topk semantic-link backend (qmd or none)
search, refresh qmd mode (query | search (BM25, instant) | vsearch); qmd update before ingest lookups
[lint] broken_links, require_sources_on_disk, orphan_check, related_check, frontmatter_check, wikilinks, verification_check, groundedness, index_file, fail_on which checks run and which fail the build
[finish] run_lint, auto_push, commit_template, stage, auto_index, auto_verification finish behaviour
stage scoped (default: only this ingest's raw, assets, article, index and files linking to it) | all
auto_index add the article to index_file under the heading that holds its folder's entries
[youtube] comments, top_comments capture pinned + top comments into the raw
[instagram] media, keep_video, frame_interval, max_frames, ocr save carousel slides / reel frames next to the raw and OCR them (tesseract)

See examples/quarry.toml for the annotated default.

Authoring an adapter

A new source type is one small adapter discoverable via the quarry.adapters entry-point group — no fork. See CONTRIBUTING.md for the contract, the hermetic-test requirement, and a worked pdf example.

Status

Pre-1.0, but feature-complete for v1 and fully tested. See SPEC.md for the design and ISA.md for the ideal-state criteria and build provenance.

License

MIT — see LICENSE.

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 quarry-kb

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

Copy of Template Design OX Blog (2)
Research

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229