Scan your whole stack
From OX Research Newsroom
Are you using claude-tap?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.147
claude-tap was last scanned on 25 Nov 2026 at version 0.1.147. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.147 LATEST | 25 Nov 2026 | No rules fired |
| 0.1.146 | 17 Oct 2026 | No rules fired |
Findings for v0.1.147. 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.1.147; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
中文文档
claude-tap is a local proxy and trace viewer for AI coding agents. Run your CLI through it, or listen to local app transcripts, then inspect the real API traffic and agent context: system prompts, conversation history, tool schemas, tool calls, streaming responses, token usage, and request diffs.
Website: Local AI Agent Trace Viewer · Guide: How to view agent traces locally
It works with Claude Code, Codex CLI, Codex App, Gemini CLI, Grok Build CLI, Kimi CLI, MiMo Code, OpenCode, OpenClaw, Pi, Hermes Agent, Cursor CLI, Qoder CLI, Antigravity CLI, and CodeBuddy CLI.
*** before recording, without retaining credential prefixes. Upstream requests receive the original headers. Request/response bodies, URLs, and diagnostic text are not covered by this header redaction.| Client | Typical use |
|---|---|
| Claude Code | Anthropic API, AWS Bedrock, Claude-compatible gateways such as DeepSeek / GLM, or local proxy upstreams such as CC Switch |
| Codex CLI | OpenAI API key mode or ChatGPT subscription OAuth |
| Codex App | Desktop app launched through forward proxy mode so backend HTTP/WebSocket request bodies are captured |
| Gemini CLI | Google OAuth / Code Assist traffic |
| Grok Build CLI | Grok subscription OAuth sessions through the official CLI chat proxy |
| DeepSeek Harness | dsh headless tasks and custom profiles using DeepSeek or compatible gateways |
| Kimi CLI | Legacy kimi-cli and the newer Kimi Code CLI |
| MiMo Code | MiMo Code sessions (OpenCode fork with multi-provider support) |
| OpenCode | Multi-provider OpenCode sessions |
| OpenClaw | Multi-provider OpenClaw sessions |
| Pi | Pi sessions, including OpenAI Codex OAuth providers |
| Hermes Agent | Multi-provider Hermes TUI or gateway sessions |
| Cursor CLI / IDE Agent | Launch cursor-agent + live transcript watch (claude-tap --tap-client cursor) |
| Qoder CLI | Qoder Agent sessions through forward proxy mode |
| Antigravity CLI | Antigravity Agent sessions through forward proxy mode |
| CodeBuddy CLI | Tencent CodeBuddy SaaS or internal Copilot endpoint |
Requires Python 3.11+ and the client you want to trace.
# Recommended
uv tool install claude-tap
# Or with pip
pip install claude-tap
Upgrade: claude-tap update, uv tool upgrade claude-tap, or pip install --upgrade claude-tap
Run the client you want to inspect through claude-tap. Flags after -- are passed to the selected client.
# Claude Code with the live browser viewer enabled by default
claude-tap
# Restore pre-v0.1.75 behavior: no live viewer server
claude-tap --tap-no-live
# Codex CLI
claude-tap --tap-client codex
# Codex App backend request capture
claude-tap --tap-client codexapp
# Gemini CLI
claude-tap --tap-client gemini -- -p "hello"
# Grok Build CLI
claude-tap --tap-client grok -- -p "hello"
# DeepSeek Harness headless task
claude-tap --tap-client dsh -- --profile headless "Reply OK"
# Kimi CLI
claude-tap --tap-client kimi
# New Kimi Code CLI
claude-tap --tap-client kimi-code
# MiMo Code (OpenCode fork)
claude-tap --tap-client mimo
# Pi
claude-tap --tap-client pi -- --model openai-codex/gpt-5.3-codex-spark -p "hello"
# Cursor: launch cursor-agent + live transcript watch + dashboard
claude-tap --tap-client cursor
# Watch IDE Agent transcripts only (no CLI launch)
claude-tap --tap-client cursor --tap-no-launch
# Qoder CLI
claude-tap --tap-client qoder -- -p "hello" --permission-mode dont_ask
# Antigravity CLI
claude-tap --tap-client agy
# CodeBuddy CLI
claude-tap --tap-client codebuddy
# Pass flags through to Claude Code
claude-tap -- --model claude-opus-4-6
claude-tap -c # continue last conversation
# Skip all permission prompts (auto-accept tool calls)
claude-tap -- --dangerously-skip-permissions
# Live viewer is on by default; pass Claude flags after --
claude-tap -- --dangerously-skip-permissions --model claude-sonnet-4-6
claude-tap auto-detects custom Claude Code upstreams from ANTHROPIC_BASE_URL,
ANTHROPIC_BEDROCK_BASE_URL, or ANTHROPIC_VERTEX_BASE_URL in your environment
or Claude settings. Use --tap-target only when you want to override that
detected target.
Local proxy upstreams are supported too: if a tool such as CC Switch points Claude Code at a local ANTHROPIC_BASE_URL, claude-tap detects that value from Claude settings and records the traffic before forwarding it upstream. Use claude-tap in place of claude, such as claude-tap -- <claude-args>; no separate --tap-client value is needed.
For the Claude Code VS Code extension, set Claude Code: Claude Process Wrapper to claude-tap; on Windows, use the full claude-tap.exe path if VS Code cannot find it.
Full English guide: Claude Code with DeepSeek API. Simplified Chinese version: Claude Code 搭配 DeepSeek API.
export ANTHROPIC_AUTH_TOKEN="<your DeepSeek API key>"
unset ANTHROPIC_API_KEY
export ANTHROPIC_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_OPUS_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_SONNET_MODEL="deepseek-v4-pro[1m]"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="deepseek-v4-flash"
export CLAUDE_CODE_SUBAGENT_MODEL="deepseek-v4-flash"
export CLAUDE_CODE_EFFORT_LEVEL=max
export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
claude-tap -- --permission-mode bypassPermissions
claude-tap reads the DeepSeek upstream from ANTHROPIC_BASE_URL, then launches Claude Code against the local proxy. Use --tap-target https://api.deepseek.com/anthropic only as a manual override.
claude-tap supports three Bedrock scenarios and auto-detects which applies:
Anthropic-compatible Bedrock gateway (New API or similar, no SigV4 in Claude Code)
export ANTHROPIC_AUTH_TOKEN="<your gateway token>"
unset ANTHROPIC_API_KEY
export ANTHROPIC_BASE_URL="https://new-api.example.com"
export ANTHROPIC_MODEL="bedrock/claude-opus-4-6"
export ANTHROPIC_DEFAULT_OPUS_MODEL="bedrock/claude-opus-4-6"
export ANTHROPIC_DEFAULT_SONNET_MODEL="bedrock/claude-opus-4-6"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="bedrock/claude-opus-4-6"
claude-tap -- --model bedrock/claude-opus-4-6
claude-tap records the normal Claude Code /v1/messages HTTP/SSE traffic, then
forwards it to the gateway. For model names prefixed with bedrock/, it removes
Claude Code beta-only request options that AWS Bedrock rejects while preserving
the captured trace.
Custom Bedrock gateway (company proxy, no SigV4)
export CLAUDE_CODE_USE_BEDROCK=1
export ANTHROPIC_BEDROCK_BASE_URL="https://your-gateway.company.com/bedrock"
claude-tap
claude-tap detects the non-AWS host, redirects both ANTHROPIC_BASE_URL and ANTHROPIC_BEDROCK_BASE_URL to the local proxy, and decodes the AWS EventStream binary response format to extract token usage and model info.
AWS native Bedrock (SigV4-signed requests)
export CLAUDE_CODE_USE_BEDROCK=1
export ANTHROPIC_BEDROCK_BASE_URL="https://bedrock-runtime.us-east-1.amazonaws.com"
export AWS_REGION="us-east-1"
claude-tap --tap-proxy-mode forward
When the endpoint is a real AWS domain (*.amazonaws.com), claude-tap does not rewrite ANTHROPIC_BEDROCK_BASE_URL to localhost — doing so would break AWS SigV4 signature validation. Use forward proxy mode (--tap-proxy-mode forward) to capture this traffic without modifying the signed request.
Use --tap-target only as a manual override when auto-detection does not apply.
claude-tap supports Claude Code Vertex pass-through gateways that expose the
Vertex rawPredict, streamRawPredict, and count-tokens:rawPredict paths.
export CLAUDE_CODE_USE_VERTEX=1
export CLOUD_ML_REGION="us-east5"
export ANTHROPIC_VERTEX_PROJECT_ID="your-project-id"
export ANTHROPIC_VERTEX_BASE_URL="https://your-gateway.company.com/vertex"
export CLAUDE_CODE_SKIP_VERTEX_AUTH=1 # when your gateway handles auth
claude-tap
When CLAUDE_CODE_USE_VERTEX=1 and ANTHROPIC_VERTEX_BASE_URL is set,
claude-tap detects that upstream, redirects both ANTHROPIC_BASE_URL and
ANTHROPIC_VERTEX_BASE_URL to the local proxy, and records Vertex rawPredict
HTTP/SSE traffic. If Claude Code uses native Google Vertex without
ANTHROPIC_VERTEX_BASE_URL, use forward proxy mode or set the base URL
explicitly so reverse mode has a single target to forward to.
Codex CLI supports two authentication modes with different upstream targets:
| Auth Mode | How to authenticate | Upstream target | Notes |
|---|---|---|---|
| OAuth (ChatGPT subscription) | codex login |
https://chatgpt.com/backend-api/codex |
Default for ChatGPT Plus/Pro/Team users |
| API Key | Set OPENAI_API_KEY |
https://api.openai.com (default) |
Pay-per-use via OpenAI Platform |
claude-tap auto-detects the Codex target from your auth state when possible.
In the default reverse-proxy mode, it launches Codex with a temporary sibling
provider whose supports_websockets setting is disabled. This produces one
HTTP/SSE trace record per request with the complete request context and does
not modify ~/.codex/config.toml.
# OAuth users (ChatGPT Plus/Pro/Team) — auto-detected after `codex login`
claude-tap --tap-client codex
# If auto-detection cannot read your Codex auth file, specify the target explicitly
claude-tap --tap-client codex --tap-target https://chatgpt.com/backend-api/codex
# API Key users — default OpenAI API target works out of the box
claude-tap --tap-client codex
# With specific model
claude-tap --tap-client codex -- --model codex-mini-latest
# Full auto-approval (skip all permission prompts)
claude-tap --tap-client codex -- --full-auto
# OAuth + full auto; live viewer is enabled by default
claude-tap --tap-client codex -- --full-auto
Codex App is launched through claude-tap's forward proxy so the final /backend-api/codex/responses HTTP and WebSocket request bodies can be captured in the same trace viewer as other clients. Current macOS installs ship as ChatGPT.app (bundle id com.openai.codex); older standalone Codex.app installs are still recognized. Non-model product traffic is relayed but not persisted as trace rows. On macOS, claude-tap trusts its local CA in the current user's login keychain when needed so the bundled app-server can connect through the proxy.
# Launch Codex App (ChatGPT.app or Codex.app) and inspect captured backend requests
claude-tap --tap-client codexapp
# Keep raw WebSocket/SSE event arrays in the trace
claude-tap --tap-client codexapp --tap-store-stream-events
# Override the executable when the app is installed outside the default locations
CODEX_APP_EXECUTABLE=/path/to/ChatGPT.app/Contents/MacOS/ChatGPT claude-tap --tap-client codexapp
If Codex/ChatGPT App is already running, claude-tap launches an isolated second instance with a dedicated --user-data-dir under ~/.claude-tap/codex-app-profiles/tap so your current window keeps working. You may need to sign in again in the tapped window. Override the profile with CODEX_APP_USER_DATA_DIR. This mode records live backend traffic instead of importing local session JSONL transcripts.
Use --tap-client kimi for legacy kimi-cli, or --tap-client kimi-code for the newer Kimi Code CLI. Both use reverse proxy mode by default.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.