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

dap-cli

Latest version: v0.4.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: rafallagowski
1 Stars
0 Forks
3 Versions
21 Downloads
Python Repo language

Scan summary

dap-cli was last scanned on 28 Nov 2026 at version 0.4.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 28 Nov 2026.
  • Findings: No rules fired in version 0.4.2.
  • Downloads: 21 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.2 LATEST 28 Nov 2026 No rules fired
0.4.1 28 Nov 2026 No rules fired
0.4.0 28 Nov 2026 No rules fired

No rules fired in 0.4.2

Findings

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

README

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

dap-cli

The command-line launcher for DAP (Deterministic Agent Pipeline). Installs as a single binary that spawns both the engine and the Next.js dashboard, with all five first-party packages (dap-engine, dap-schemas, dap-runtimes, dap-prompt-dsl, and this CLI) pulled in as dependencies.

For most installations, dap-cli is the only package you install directly — everything else arrives transitively.

Installation

The recommended path is pipx, which installs the CLI in an isolated virtualenv but exposes the dap binary on PATH:

pipx install dap-cli

Standard pip --user works too:

pip install --user dap-cli

After install:

dap --version              # → 0.3.0
dap --help                 # subcommand list

The wheel ships with the Next.js dashboard pre-built — dap start spawns it inline when Node is available on PATH; otherwise it falls back to engine-only mode (the CLI prints a hint).

Commands

Command Purpose
dap --version Print the installed version
dap --help List subcommands
dap init Initialise ./.dap/ and bootstrap the admin user
dap start Spawn engine (127.0.0.1:7333) + dashboard (127.0.0.1:7332)
dap stop Stop the running engine + dashboard cleanly
dap status Show project state: admin bootstrap, engine PID/uptime, runtime adapter health
dap init

Creates ./.dap/ with config.json, state.db (SQLite), and the admin bootstrap. Three credential modes:

# 1. Flag-driven (password lands in shell history — local dev).
dap init --admin-email=you@example.com --admin-password=hunter12345

# 2. Stdin (kubectl-style — automation-friendly).
echo 'hunter12345' | dap init --admin-email=you@example.com --admin-password-stdin

# 3. Interactive (getpass + confirmation, no echo).
dap init --admin-email=you@example.com

Empty password in interactive mode triggers a random 22-character generation, printed exactly once. Re-running with --force is idempotent — an existing email gets promoted to admin; the password is rotated only when --admin-password=... is supplied explicitly.

DAP_DB_PATH is honored — useful when bootstrapping inside the Docker container (where compose sets DAP_DB_PATH=/data/state.db).

dap start

Starts both processes in parallel under the current shell. The engine runs in-process (so its uvicorn logs print directly to stdout/stderr), and the dashboard is spawned as a subprocess whose stdout/stderr is inherited unchanged — both streams interleave on your terminal without an extra prefix. Ctrl-C tears the whole stack down cleanly.

(The ./scripts/dev wrapper used during source-checkout development does prefix lines with [engine] / [dashboard]. The packaged dap start does not — keeping the install-from-PyPI binary simple.)

Flags:

Flag Default Description
--engine-host 127.0.0.1 Engine bind address
--engine-port 7333 Engine port
--dashboard-port 7332 Dashboard port
--no-dashboard off Run engine-only even if Node is present
dap status

Reports the current state without modifying anything:

✓ admin bootstrap: you@example.com (2026-05-13T10:00:00+00:00)
● engine: running  PID 12345 port 7333 uptime 3h12m

  Runtime adapters
  ├─ api-call   ✓ healthy
  ├─ bash       ✓ healthy
  ├─ claude-code  ✓ healthy
  ├─ codex      ✗ codex not found on PATH
  └─ ...

Useful in CI / health probes — exits non-zero if anything is broken.

Quick start

# 1. Install.
pipx install dap-cli

# 2. Initialise.
dap init --admin-email=you@example.com

# 3. Run.
dap start
# Browser: http://localhost:7332 (dashboard)
#          http://localhost:7333 (engine API + /docs)

# 4. Stop when done.
dap stop

See docs/quick-start.md for the full decision tree (laptop vs VPS, SQLite vs Postgres, Docker vs no-Docker) and the per-path walkthroughs.

Running from a source checkout

If you're developing DAP itself or want to run against an unreleased commit:

git clone https://github.com/lagowski/dap.git
cd dap
./scripts/setup
./scripts/dev

The scripts/dev wrapper brings engine + dashboard up in one terminal with hot reload on both sides.

Compatibility

  • Python 3.13+
  • Node 22+ (optional — required only for the bundled dashboard; engine works without it)

See also

License

See the main repository for licensing details.

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 dap-cli

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

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