New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

actradeck

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actradeck

ActraDeck CLI — preview, install, and verify a local approval and audit cockpit for Claude Code and Codex.

latest
Source
npmnpm
Version
0.9.0
Version published
Weekly downloads
33
26.92%
Maintainers
1
Weekly downloads
 
Created
Source

actradeck

Put risky Claude Code and Codex actions back in front of a human.

ActraDeck is a local approval and audit cockpit for coding agents. This package gives you a zero-side-effect product preview, diagnoses the machine, and verifies the full product before handing off to its quickstart.

This package is a thin, dependency-free bootstrapper. It does not contain the product — the full four-tier stack ships as a signed GitHub Release and a signed GHCR image. The CLI helps you get to a running cockpit and verify what you download.

  • Zero runtime dependencies (Node 20+ built-ins only).
  • No install hooks. npm install/npx never changes your machine. Only the explicit actradeck install fetches anything, and only after verifying it.
  • Fail-closed verification. install checks the release's sha256 checksum and its SLSA build provenance before extracting a single file.

See the safety story first

npx actradeck@latest demo

demo prints a five-second synthetic preview of detect → hold → deny → redact → record. It executes no command, writes no file, starts no subprocess, and makes no network request. The output then points to the cockpit's 30-second demo, which exercises the real ingestion, redaction, projection, and audit pipeline.

Usage

npx actradeck@latest demo          # safe synthetic preview; no side effects or network
npx actradeck@latest doctor        # diagnose: platform / Node / pnpm / git / Docker (offline-safe)
npx actradeck@latest install       # verify + fetch the latest signed release, then quickstart
npx actradeck@latest up            # print the Docker cockpit command (prints only; runs nothing)
npx actradeck@latest version       # your CLI version + whether a newer stable release exists
npx actradeck@latest conformance < events.jsonl   # check an adapter's stream vs the contract

install

Resolves the latest stable GitHub Release (or --version vX.Y.Z), downloads the source tarball + checksums.txt, verifies the sha256 digest (Node crypto) and the build provenance (gh attestation verify), then extracts and hands off to the repo's own scripts/quickstart.

npx actradeck@latest install --version v0.7.0     # a specific tag
npx actradeck@latest install --dry-run            # resolve + verify only; change nothing
npx actradeck@latest install --skip-provenance    # explicit opt-out (checksum still enforced)

Verification is fail-closed and never silently skipped: the checksum is always enforced, and provenance is verified unless you pass --skip-provenance (which requires you to accept the reduced guarantee). --skip-provenance exists only for machines that cannot install the GitHub CLI.

conformance

Validate that a third-party ingestion adapter's event stream satisfies the ActraDeck ingestion contract — without cloning the monorepo. Capture your adapter's emitted NormalizedEvents as JSONL (one JSON object per line, in emission order) and pipe them in:

npx actradeck@latest conformance < events.jsonl      # read JSONL from stdin
npx actradeck@latest conformance events.jsonl        # or from a file
npx actradeck@latest conformance events.jsonl --json # machine-readable JSON report

It checks the stream-level and cross-field invariants a single-event schema parse cannot see: every event parses as a NormalizedEvent; payload.kind === event_type; per-session timestamp is non-decreasing; and per-session seq, when present, is a dense 0-based counter (so the backend can detect silent mid-stream drops — a session that emits no seq is a warning, not an error). A repeated event_id or seq is a warning, not an error — an at-least-once retry is legitimate and the backend dedupes it (§3.3 / §4.4). Redaction is not checked: the backend ingress redaction floor is the sole redaction point, so an adapter cannot and need not prove it.

Exit codes: 0 = conformant (warnings allowed) · 1 = one or more errors · 2 = usage / input error. The checker core is ActraDeck's canonical checkConformance, bundled into this CLI at build time — the published package still has zero runtime dependencies. It is the same check as the in-repo scripts/check-conformance.mjs (see docs/ingestion-contract.md §8); for piped output it is byte-identical (an interactive TTY differs only in ANSI color). The input is read fully into memory, which suits adapter sample streams rather than an unbounded live feed.

Environment

VariableDefaultMeaning
ACTRADECK_REPOactradeck/actradeckowner/name (or git URL) to resolve releases from
ACTRADECK_INSTALL_DIR~/actradeckwhere install extracts the verified source

License

Apache-2.0.

Keywords

actradeck

FAQs

Package last updated on 01 Sep 2026

Related posts