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

agent-strace

Latest version: v0.125.1

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
MCP server Transport: stdio Publisher: Siddhant-K-code
109 Stars
11 Forks
35 Versions
Python Repo language

Scan summary

agent-strace was last scanned on 26 Nov 2026 at version 0.125.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 35 versions; the latest 5 were published within 4 days (23–26 Nov 2026).
  • Findings: No rules fired in version 0.125.1.
  • MCP server: Runs over stdio.

Versions

35 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.125.1 LATEST 26 Nov 2026 No rules fired
0.125.0 26 Nov 2026 No rules fired
0.124.0 25 Nov 2026 No rules fired
0.123.0 25 Nov 2026 Not shown
0.122.0 23 Nov 2026 Not shown

No rules fired in 0.125.1

Findings

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

README

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

agent-trace

PyPI Python CI GitHub Marketplace Open VSX VS Marketplace License

Local evidence and replay for coding agents.

agent-strace records what a coding agent did in a session (prompts, tool calls, file operations, commands, failures) as local files, then does three jobs:

  1. Replay what happened. replay shows the session in order. explain summarizes it in phases.
  2. See what the trace could not prove. health rates the evidence healthy, partial, unknown, or invalid, with observed gaps and known provider capture limits.
  3. Attach safe evidence to review. review checks a PR's reviewability from its authoring session. share writes a privacy-minimized HTML evidence packet; share --dry-run previews what it would disclose.
uv tool install agent-strace
agent-strace setup --cli copilot   # or claude, codex, gemini, cursor; then use the agent
agent-strace replay                # latest session
agent-strace health                # what the capture missed
agent-strace review                # reviewability of this branch

Works with Claude Code, Codex, Copilot CLI, Gemini CLI, Cursor, and any MCP server, plus partial Copilot cloud agent capture. Python 3.10+ standard library only. Secret redaction is on by default. Start with the docs index, provider guides, and PR evidence workflow. Related project: LLMTraceFX measures LLM inference requests (latency, KV cache, server metrics). agent-strace records coding-agent sessions. The two share no code or dependencies; both can export OpenTelemetry.

[!WARNING] Experimental. Do not treat it as a production security boundary without your own threat model, controls, and testing.

Install with your coding agent

Paste this into Claude Code, Copilot CLI, Codex, Gemini CLI, or Cursor; it lists the commands before running them:

Set up agent-strace (https://github.com/Siddhant-K-code/agent-trace) to record this coding agent's sessions as local traces. First, say which agent you are and list the commands you'll run. Never use sudo or hand-edit config files; if a step fails, stop and show me the error. 1. Install or upgrade the CLI: `uv tool install --upgrade agent-strace` (no uv: use pipx). If `agent-strace --version` fails, run `uv tool update-shell` (or `pipx ensurepath`), since the hooks call it from PATH. 2. Connect only this agent's capture path: Claude Code: `claude plugin marketplace add Siddhant-K-code/agent-trace`, then `claude plugin install agent-strace@agent-trace`. Copilot CLI: `copilot plugin marketplace add Siddhant-K-code/agent-trace`, then `copilot plugin install agent-strace@agent-trace`. Codex: `codex plugin marketplace add Siddhant-K-code/agent-trace`, then `codex plugin add agent-strace@agent-trace`. Gemini CLI: `agent-strace setup --cli gemini`. Cursor: `agent-strace setup --cli cursor`. Other agents: stop and point me to the agent-trace docs/setup.md guide. 3. Tell me to restart this agent from a new terminal (in Codex, trust the agent-strace hooks in /hooks), do one task, then run `agent-strace replay` and `agent-strace health`. Traces stay local in .agent-traces/; `agent-strace telemetry disable` turns off anonymous telemetry.

Try it without setup: which skills never load

uvx agent-strace skills --from-claude

This reads the Claude Code transcripts already on your machine (~/.claude/projects), writes no persistent trace store (it uses a temporary directory deleted on exit), and reports each skill as available, loaded, followed, and what happened after the load. It reports counts, not a score, and only for what the sessions recorded. --from-copilot and --from-codex do the same for GitHub Copilot and Codex session logs, using the skill list each session recorded. For other agents, record sessions first, then run agent-strace skills. A never-loaded skill is a lead, not a verdict: no task may have needed it. Test it with skills eval. Guide: docs/skills.md.

Sample output (139 recorded sessions, trimmed):

Skills across 139 sessions since 2025-11-09. Availability reflects the filesystem now, not session time.
skill                   avail loaded load rate  user model median t pre-edit  follow  tests
------------------------------------------------------------------------------------------
frontend-design           139      2     2/139     0     3     3.1h      1/2     0/2    0/2
grilling                  139      0     0/139     0     0        -        -       -      -
web-design-guidelines     139      0     0/139     0     0        -        -       -      -

Never loaded (available in >= 5 sessions, loaded in 0):
  grilling (available in 139 sessions)
  web-design-guidelines (available in 139 sessions)

Quick start

Option 1: CLI hooks. Captures the prompts, responses, and tool calls each CLI's hooks expose; coverage and known gaps differ by provider: docs/capture-matrix.md

agent-strace setup             # Claude Code hooks for ~/.claude/settings.json
agent-strace setup --cli claude --verify # check Claude Code hooks + CLI, not live capture
agent-strace setup --cli claude --verify --live # after one real session: fails unless its events were recorded
agent-strace setup --cli codex # OpenAI Codex hooks in ~/.codex/hooks.json
agent-strace setup --cli codex --verify # check Codex user or plugin hooks + CLI, not live capture
agent-strace setup --cli codex --verify --live # after one real session: fails unless its events were recorded
agent-strace setup --cli gemini # Gemini CLI extension under ~/.gemini/extensions
agent-strace setup --cli cursor # Cursor project hooks in .cursor/hooks.json
agent-strace setup --cli copilot # GitHub Copilot CLI hooks in ~/.copilot/hooks
agent-strace list              # list sessions

Claude Code plugin: run claude plugin marketplace add Siddhant-K-code/agent-trace, then claude plugin install agent-strace@agent-trace, for tracing hooks plus the trace analyst agent and skill. See the Claude Code plugin guide.

GitHub Copilot CLI plugin: run copilot plugin marketplace add Siddhant-K-code/agent-trace, then copilot plugin install agent-strace@agent-trace, and restart Copilot CLI. Don't also run agent-strace setup --cli copilot, which would register duplicate hooks. See the Copilot CLI plugin guide.

OpenAI Codex plugin: run codex plugin marketplace add Siddhant-K-code/agent-trace, then codex plugin add agent-strace@agent-trace, and trust the hooks in /hooks. Don't also run agent-strace setup --cli codex. See the Codex plugin guide.

Option 2: MCP proxy. Wraps any MCP server, works with Cursor, Windsurf, and Copilot Desktop MCP servers

agent-strace record -- npx -y @modelcontextprotocol/server-filesystem /tmp
agent-strace replay

Option 3: Python decorator. No MCP required.

from agent_trace import trace_tool, start_session, end_session

start_session(name="my-agent")

@trace_tool
def search_codebase(query: str) -> str:
    return search(query)

end_session()

Sessions go to $AGENT_TRACE_DIR when set, else .agent-traces; an explicit start_session(trace_dir=...) wins.

Full setup guide: docs/setup.md. Machine-wide install for platform teams: docs/platform-install.md

What you can do

Understand a session
Command What it does
agent-strace replay <id> Replay a session in the terminal or as HTML
agent-strace replay <id-a> --diff <id-b> Side-by-side session comparison with tool args and output delta
agent-strace health <id> Evidence health with observed gaps and capture-matrix provider limitations
agent-strace explain <id> Plain-English phase summary, no LLM required
agent-strace timeline <id> Phase-by-phase view with costs and retries
agent-strace why <id> <event> Causal chain for a specific decision
agent-strace diff <id-a> <id-b> Structural or semantic session comparison
agent-strace compare <id-a> <id-b> Regression report with verdict
agent-strace compaction <id> Inspect context loss and behavior changes after compaction
Control and protect
Command What it does
agent-strace watch Live monitor with kill-switch rules
agent-strace watch --timeout 30m --budget 5 Watchdog mode: kills on limit and heartbeats sessions for postmortems
agent-strace mcp-scan Scan runtime MCP poisoning indicators
agent-strace audit <id> Audit tool calls against a policy file
agent-strace policy backtest Test policy impact against historical sessions
agent-strace approval list Human-in-the-loop approval queue
agent-strace rbac assign Org and workspace-scoped role assignments
agent-strace auth login SSO/OIDC login to a hosted collector
agent-strace telemetry status Inspect, disable, or re-enable anonymous CLI telemetry, on by default once its one-time notice is shown
agent-strace apply Apply .agent-strace.yaml config to local store or collector
agent-strace workspace new Create an isolated workspace
agent-strace compliance export Export compliance reports (EU AI Act, SOC 2, HIPAA)
agent-strace record Strip secrets from traces before storage by default
agent-strace export --anonymize Remove PII at export time
Analyse across sessions
Command What it does
agent-strace dashboard Multi-session overview
agent-strace budget-report Weekly spend digest
agent-strace team-report Team spend by author, branch, or PR
agent-strace org-report Monthly organization usage and estimated-cost digest
agent-strace compliance-report Privacy-minimized framework evidence crosswalk
agent-strace cost --breakdown provider Offline spend by provider and model
agent-strace tenant report Per-customer cost, export, and erasure workflows
agent-strace backfill-meta Write missing metadata for older subagent session dirs (dry run by default)
agent-strace cognitive-debt Unreviewed agent-written code by session
agent-strace context-score Compare efficiency stats (cost, tool calls, lint, scope) across AGENTS.md/CLAUDE.md versions. Not an outcome score
agent-strace skills Skill adoption: available → loaded → followed → outcome (no score)
agent-strace skills eval Experimental: run should/shouldn't-trigger tasks and count skill loads
agent-strace lint <id> Flag bad behaviour patterns (loops, spirals, waste)
agent-strace drift Detect behavioural drift over time
agent-strace fingerprint Baseline an agent's behavioural profile
agent-strace tree Show parent/child session hierarchy
agent-strace freeze Freeze a tool-call sequence for regression checks
agent-strace standup Plain-English summary of one session (latest by default)
agent-strace eval <id> Gate a session on named quality criteria and baselines
agent-strace eval ci Run the legacy normalized-score CI workflow
Export and integrate

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

  • MCP Registry io.github.Siddhant-K-code/agent-trace

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

Vulnerability Insights

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229