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

quilltap

Latest version: v4.15.0-dev.120

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: csebold
1 Stars
2 Forks
246 Versions
18.9K Downloads
TypeScript Repo language

Scan summary

quilltap was last scanned on 29 Nov 2026 at version 4.15.0-dev.120. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 246 versions; the latest 5 were published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 4.15.0-dev.120.
  • Downloads: 18,854 downloads.

Versions

246 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.15.0-dev.120 LATEST 29 Nov 2026 No rules fired
4.15.0-dev.112 29 Nov 2026 No rules fired
4.15.0-dev.109 28 Nov 2026 No rules fired
4.15.0-dev.108 28 Nov 2026 Not shown
4.15.0-dev.2 27 Nov 2026 Not shown

No rules fired in 4.15.0-dev.120

Findings

Findings for v4.15.0-dev.120. 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 4.15.0-dev.120; other versions have their own rules, not their own score.

README

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

Quilltap

Self-hosted AI workspace for writers, worldbuilders, roleplayers, and anyone who wants an AI assistant that actually knows what they're working on.

Run Quilltap as a local Node.js server with zero configuration.

Quick Start

npm install -g quilltap
quilltap

Then open http://localhost:3000.

On first run, the CLI downloads the application files (~150-250 MB compressed) and caches them locally. Subsequent launches start instantly.

Installation

Install globally (recommended)
npm install -g quilltap
quilltap
Run directly (no install)
npx quilltap

Usage

quilltap [options]

Options:
  -p, --port <number>     Port to listen on (default: 3000)
  --host <address>        Address to bind (default: 127.0.0.1)
  -d, --data-dir <path>   Data directory (default: platform-specific)
  -o, --open              Open browser after server starts
  -v, --version           Show version number
  --update                Force re-download of application files
  -h, --help              Show this help message
Examples
# Start on default port 3000
quilltap

# Start on a custom port
quilltap --port 8080

# Use a custom data directory
quilltap --data-dir /mnt/data/quilltap

# Listen on every interface (Quilltap has no login: trusted networks only;
# reach it by IP address, or list host names in QUILLTAP_ALLOWED_HOSTS)
quilltap --host 0.0.0.0

# Start and open browser automatically
quilltap --open

# Force re-download after a manual update
quilltap --update

How It Works

The quilltap npm package is a lightweight CLI launcher (~10 KB). On first run, it downloads the pre-built application from GitHub Releases and caches it in a platform-specific directory. The SQLCipher database driver (better-sqlite3) and sharp ship as prebuilt binaries for your platform — the driver is never compiled or rebuilt. node-pty (terminals) uses its prebuilds where they exist and compiles on Linux; if a Node.js upgrade leaves sharp or node-pty built for the old version, the next run rebuilds them automatically. On Linux, the SQLCipher driver needs glibc 2.35 or newer (Ubuntu 22.04, Debian 12, RHEL 9 or newer); older hosts should run the Docker image.

Cache Locations
Platform Cache Directory
macOS ~/Library/Caches/Quilltap/standalone/
Linux ~/.cache/quilltap/standalone/
Windows %LOCALAPPDATA%\Quilltap\standalone\

When you upgrade to a new version (npm update -g quilltap), the next run detects the version mismatch and downloads the matching application files automatically.

Data Directory

Quilltap stores its database, files, and logs in a platform-specific directory:

Platform Default Location
macOS ~/Library/Application Support/Quilltap
Linux ~/.quilltap
Windows %APPDATA%\Quilltap

Override with --data-dir or the QUILLTAP_DATA_DIR environment variable.

Named Instances

Register a data directory once and point the CLI at it by name, instead of repeating --data-dir:

quilltap instances add Friday ~/iCloud/Quilltap/Friday   # Register (prompts for the passphrase if encrypted)
quilltap instances list                                  # Registered instances (* marks the default)
quilltap instances show Friday                           # One instance (passphrase status only, never the value)
quilltap instances path                                  # Print the path to instances.json
quilltap instances set-passphrase Friday                 # Change or clear the stored passphrase (prompts hidden)
quilltap instances default Friday                        # Make it the fall-through for flag-free runs
quilltap instances rename Friday Weekday                 # Rename, preserving the stored passphrase
quilltap instances remove Friday                         # Unregister (aliases: rm, delete)
quilltap instances restore-key Friday                    # Rebuild a lost or passphrase-locked .dbkey
quilltap instances default --clear                       # Revert to the OS platform default
quilltap instances list --json                           # The registry as JSON, for scripts

instances set-passphrase changes only the passphrase the registry remembers for an instance, not the one its .dbkey is wrapped with. It first offers to clear the stored passphrase; otherwise it prompts twice, hidden, and checks the new one against the instance's .dbkey before saving — a passphrase that does not unlock it, or a .dbkey that needs none, is refused. With no .dbkey on disk yet, it saves without the check. To change the passphrase the database itself is locked with, use the server's Change Passphrase card.

If an instance's quilltap.dbkey goes missing — or its passphrase does — instances restore-key rebuilds it. The file only wraps the pepper; the pepper itself is the database key, so an operator who kept the one printed at first-run setup can get back in. The pepper is read from ENCRYPTION_MASTER_PEPPER or prompted for hidden, never passed as a flag, and it is proved against the encrypted databases on disk before anything is written. Run it with the server down — the command refuses while the instance lock is held. Flags: --passphrase <pass> / --no-passphrase (the new wrapping), -d, --data-dir <path>, --force (proceed when there is no encrypted database to prove against — a fresh or still-plaintext instance), -y, --yes. An existing key file is backed up to quilltap.dbkey.bak-<timestamp> first, and a registered instance's stored passphrase is updated to match.

It does not re-encrypt character archive bundles. Those are keyed on the passphrase, not the pepper; only the server's Change Passphrase card rewrites them. Bundles made under a passphrase you have just replaced still want the old one.

Every subcommand then accepts --instance <name> in place of --data-dir. The registry lives at <app-support>/Quilltap/instances.json (mode 0600; e.g. ~/Library/Application Support/Quilltap/instances.json on macOS). Resolution precedence: --data-dir > --instance > registered default > QUILLTAP_DATA_DIR > the OS platform default. Pass the instance root (e.g. ~/iCloud/Quilltap/Friday), not its data/ subdirectory — the CLI appends data/quilltap.db itself. instances list --json emits the registry (name, path, hasPassphrase, isDefault) for scripting.

Database Tool

The encrypted SQLite databases (main, LLM logs, mount index) can be queried directly via quilltap db. They are encrypted with ChaCha20-Poly1305 (SQLite3 Multiple Ciphers), so neither the stock sqlite3 binary nor sqlcipher can open them — this is the way in. There are two modes: high-level subcommands that auto-pick the right database and resolve characters/chats/projects by name, and a low-level path for arbitrary SQL.

Subcommands
quilltap db schema                          # Tables grouped by domain
quilltap db schema chat_messages            # Columns, indexes, DDL.md link
quilltap db schema --grep memory            # Find tables/columns by substring

quilltap db find character Friday           # Resolve a name to a UUID (fuzzy)
quilltap db find chat "physical prompts"
quilltap db find project "Quilltap"

quilltap db chats --character Friday        # All chats containing a character
quilltap db chats --project "Quilltap"      # All chats in a project
quilltap db messages --chat <id|title> --last 50 --full
quilltap db logs --chat <id|title>          # LLM logs for a chat
quilltap db logs --message <id>             # LLM logs for a single message
quilltap db logs --character Friday         # LLM logs by character
quilltap db logs --tail 20                  # Recent LLM logs

quilltap db message <id>                    # Full content of one message
quilltap db log <id> [--field request|response|both]
quilltap db memories --character Friday [--about Amy] [--source AUTO] [--tier hot|cold]
quilltap db characters status               # Per-character vault readiness (--id, --diverged, --blocked)

SQLite columns are camelCase, mirroring the Zod/TypeScript types — createdAt, updatedAt, chatType, messageCount, projectId, not created_at. When in doubt, run quilltap db schema <table>.

Character Archive

Archiving prunes a character down to a tombstone and packs everything else into an encrypted ARCHIVE bundle in the file library; rehydrating puts it all back at its original ids.

quilltap db characters archives                     # Archived characters + the bundles on the shelf
quilltap db characters archive Ariadne --write      # Archive her (server must be running)
quilltap db characters rehydrate Ariadne --write    # Wake her again
quilltap db characters export Ariadne --out /tmp    # Plaintext .qtap, archived or live

archives is read-only, and flags loose bundles — survivors of a "keep archived bundles" wipe, which are importable but not rehydratable.

archive and rehydrate run through the running server's API (--port, default 3000), because the export pipeline and the unlocked passphrase live only in the server process; the server, not the CLI, holds the instance lock for the duration. --write is still required as the explicit opt-in. A rehydrate restores the pruned material at its original ids (skip-if-present), clears the tombstone, and queues re-embedding; the bundle stays in the file library afterwards as a spare copy. On failure — wrong-era passphrase, missing bundle, import refusal — the character stays archived and re-running is safe.

export writes a plaintext .qtap and takes no --write. For an archived character it decrypts the bundle straight off the disk, offline (it tries the internal no-passphrase key, then QUILLTAP_DB_PASSPHRASE, then prompts) — the only way to reach packed-away mail, photographs, and summaries without rehydrating. For a live character it runs the server's export pipeline, so the server must be up.

Pre-emptive, not recovery: exporting an archive needs an instance that can still decrypt it. It is no help to someone holding only a restored backup and a forgotten passphrase — which is also why changing an instance's passphrase rewrites every archive bundle. A bundle reported left behind by a partial rewrite still wants the old one.

Maintenance and Snapshots
quilltap db optimize                        # VACUUM + ANALYZE + PRAGMA optimize (all DBs)
quilltap db optimize main                   # one DB; refuses while server is running

quilltap db backup                          # online snapshot of all three DBs
quilltap db backup main --out /tmp/snap     # one DB to a chosen directory
quilltap db backup --json                   # parseable per-target sizes + durations

quilltap db integrity                       # integrity_check (decrypts + verifies every page it reads)
quilltap db integrity llm-logs              # one DB; exit 0 ok, 1 issues, 2 open failure

backup and integrity are safe to run while the server is up; optimize refuses while a live lock is held (see Locking). Backups default to <dataDir>/backups/<timestamp>/ and inherit the source's encryption key transparently.

Most subcommands accept --json (for piping) and --limit N. Names are case-insensitive; aliases are searched alongside character names. Ambiguous matches print all candidates and exit non-zero.

Low-level options
quilltap db --tables                                # List tables in active DB
quilltap db --count chat_messages                   # Row count
quilltap db "SELECT id FROM characters LIMIT 5"     # Raw SQL (read-only)
quilltap db --repl                                  # Interactive prompt (read-only)
quilltap db --write "UPDATE characters SET title = 'rival' WHERE id = '...'"
quilltap db --repl --write                          # Interactive, read-write
quilltap db --llm-logs --tables                     # Target the LLM logs DB
quilltap db --mount-points --tables                 # Target the mount index DB

The database is opened read-only by default. Add --write to make changes: it opens the database read-write, claims the instance lock (<dataDir>/quilltap.lock) for the duration, and releases it on exit. It refuses — with no override — if a running server or another instance holds the lock, so stop the server first. --repl is read-only unless combined with --write. Attempting a write without --write fails with a hint to re-run with the flag. What "held" means, and how to tell a live lock from a stale one, is below.

Compressed text columns (chat_messages.content, llm_logs.request / response and friends) are stored as BLOBs. A raw query's output decodes them for display, so SELECT content … prints text. Inside SQL — WHERE, LIKE, substr, json_extract — wrap the column in qt_text() to work on the text: SELECT json_extract(qt_text(response), '$.error') ….

In the REPL, .cols <table> and .find <text> mirror the subcommand helpers.

Locking

Everything that writes to an instance claims <dataDir>/quilltap.lock — the same lockfile the server itself uses — for the duration, and releases it on exit. That is db --write (including db --repl --write), db optimize, maintenance run, and instances restore-key. All four refuse while the lock is held: stop the server first. Read-only work — plain db, the docs read verbs, memories, logs, migrations, maintenance status, db backup, db integrity — never touches the lock and is safe alongside a running instance.

The five-minute heartbeat window

A lock counts as held until its heartbeat is five minutes stale, whether or not the process that set it is still alive. Freshness is the fallback for every environment, not just containers: a PID check is not reliable everywhere, and cleaning a live instance's lock is much the worse failure.

So for up to five minutes after stopping the server, --write, optimize, maintenance run, restore-key, and --lock-clean all still refuse. That is correct behaviour, not a stale lock. Wait it out; the next startup reclaims the lock regardless.

quilltap db --lock-status      # Who holds it, and how old the heartbeat is
quilltap db --lock-clean       # Remove a lock whose heartbeat has gone stale

--lock-status shows the heartbeat age, which is the tell. --lock-clean says so explicitly rather than muttering about liveness, because that arm is only reached once the PID check has come back dead:

Lock heartbeat is still fresh (82s ago). Cannot clean.
A lock counts as held until its heartbeat is 5 minutes stale, even if its process has gone.
Wait it out, or use --lock-override to force.

When a live process really does hold the lock, it refuses with "Lock is held by a live Quilltap process" instead.

--lock-override exists and is almost never the right answer — it defeats the protection the lock provides. Reach for --lock-status first.

Document Stores (Scriptorium)

quilltap docs exposes the document-store machinery from the command line. Read-only verbs open the mount-index DB directly and work without the server; write and pipeline verbs talk to the running server via /api/v1/mount-points/[id].

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

  • npm quilltap

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (2)
Research

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229