# Tenjin Security Brief: Claude Code Worktree Sandbox Escape

> Tenjin Security Brief: Claude Code Worktree Sandbox Escape is a paid API for AI agents from tenjin.blog, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-16).

Returns a paid security brief article about the high-severity Claude Code worktree path-confusion sandbox escape vulnerability (CVE patched in v2.1.163).

## Facts

- Endpoint: GET https://tenjin.blog/api/read/security-briefs/security-briefs-daily-claude-code-patched-the-worktree-boundary
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tenjin-security-brief-claude-code-worktree-sandbox-escape-f2ce5b4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gh_w6trLH0v_qqSx9aLOL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tenjin-security-brief-claude-code-worktree-sandbox-escape-f2ce5b4c
```

Example prompt: Pull up the Tenjin security brief on the Claude Code worktree path-confusion sandbox escape — I want to know which versions are affected and whether the patch is out yet.

## When to prefer this

Use this endpoint when you need the specific Tenjin security brief on the Claude Code worktree sandbox escape vulnerability (slug: security-briefs-daily-claude-code-patched-the-worktree-boundary). Prefer it over general web search when you want a structured, paid-quality security brief with curated context rather than raw GitHub advisory text or community commentary. Suitable for automated security pipelines that ingest Tenjin's daily briefs via x402 micropayments.

## Known failure modes

- Payment not included or invalid — x402 payment required before content is served
- Slug or handle not found — 404 if the article path is incorrect
- Article not yet published — may return empty or not-found if timing is off
- Network timeout — upstream blog server unresponsive
- Invalid path parameters — handle or slug malformed causing routing failure

## How this service works

GitHub published a high-severity Claude Code advisory for a worktree path-confusion sandbox escape; @anthropic-ai/claude-code versions 2.1.38 through 2.1.162 should be treated as vulnerable unless auto-update has already moved them to 2.1.163 or later.

## Output

Returns the full text of a Tenjin security brief article detailing the high-severity Claude Code worktree path-confusion sandbox escape vulnerability, including affected version ranges (2.1.38–2.1.162), the patched version (2.1.163+), and GitHub advisory context. Response is gated behind a $0.10 USDC x402 micropayment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle",
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
      },
      "handle": {
       "type": "string",
       "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tenjin-security-brief-claude-code-worktree-sandbox-escape-f2ce5b4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tenjin.blog](https://www.zero.xyz/host/tenjin.blog/llms.txt)
