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

claw-forge

Latest version: v1.60.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: bowen31337
56 Versions
6.1K Downloads

Scan summary

claw-forge was last scanned on 27 Nov 2026 at version 1.60.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 56 versions; the latest 4 were published within 7 days (21–27 Nov 2026).
  • Findings: No rules fired in version 1.60.0.
  • Downloads: 6,101 downloads.

Versions

56 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.60.0 LATEST 27 Nov 2026 No rules fired
1.59.1 23 Nov 2026 No rules fired
1.59.0 22 Nov 2026 No rules fired
1.58.0 21 Nov 2026 Not shown
1.57.28 19 Nov 2026 Not shown

No rules fired in 1.60.0

Findings

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

README

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

claw-forge

Autonomous coding agent harness for serious Python projects.

Multi-provider API rotation · Claude Agent SDK core · 21 pre-installed skills · Pure asyncio · Zero Node.js

CI PyPI Python Coverage Mypy ClawHub Benchmark


What it does

claw-forge runs autonomous coding agents that implement features, fix bugs, write tests, and review code — in parallel, across multiple AI providers, with live progress tracked in a Kanban UI.

It is built on the Claude Agent SDK as its execution engine, with a provider pool layer on top for API key rotation, circuit breaking, and cost tracking.


📖 New here? Read the Handbook

The Claw Forge Handbook — a book for humans, in English and 简体中文, covering everything from your first run to production fleets.

🇬🇧 English handbook/en/index.md
🇨🇳 简体中文 handbook/zh/index.md

Its reference chapters are regenerated from the source code on every build and checked in CI, so they describe the version you actually installed. If this README and the handbook ever disagree, believe the handbook — it is the one with a test.


Quick Start

# 1. Install
pip install --pre claw-forge   # or: uv tool install claw-forge --prerelease allow
# Already installed? claw-forge prints a one-line notice when a newer release
# is available, and `claw-forge upgrade` installs it.

# 2. Bootstrap your project (scaffolds .claude/, CLAUDE.md, config, and app_spec.example.xml)
mkdir my-api && cd my-api
claw-forge init
# Output:
# ✓ Created claw-forge.yaml   (edit providers/API keys)
# ✓ Created .env.example      (copy to .env and fill keys)
# ✓ Created .claude/ with settings.json
# ✓ Scaffolded 14 slash commands → .claude/commands/
# ✓ Scaffolded 4 workflow skills → .claude/skills/
# ✓ Created app_spec.example.xml  (XML format reference)
# ✓ Created bug_spec.example.xml  (reference format for a bug spec)

# 3. Add your API key
cp .env.example .env
echo "ANTHROPIC_API_KEY=sk-ant-..." >> .env

# 4. Create your spec — three options:
#   Option A: Open Claude Code in this dir and run /create-spec
#   Option B: Paste your PRD into Claude with this prompt:
#     "Convert this PRD to claw-forge XML. Use app_spec.example.xml as the template.
#      Write the result to app_spec.txt."
#   Option C (non-interactive): resolve the decisions first, then synthesize
#     claw-forge brief init --tier standard
#     claw-forge brief extract docs/prd.md
#     /create-spec   # sees spec_brief.yaml → asks nothing it already answers

# 5. Validate spec quality (structural + shape + LLM checks)
#    Strict shape validation is on by default since v0.8.46
#    Pass --soft-shape during migration on-ramp to keep promotable
#    Layer 4 warnings at WARNING severity.
claw-forge validate-spec app_spec.txt

# 6. Parse spec → feature DAG. Offline and deterministic: no model call, no API key.
claw-forge plan app_spec.txt
# Output:
# ✅ Spec parsed: my-api
# ┌──────────────────────┬───────┐
# │ Authentication       │    8  │
# │ Task Management      │   22  │
# │ Total                │   30  │
# └──────────────────────┴───────┘
# Dependency waves: 3
# Estimated run time: at least ~12 minutes (at concurrency=5) — a floor, not a forecast
# Next steps: claw-forge run --project . --concurrency 5

# 6. Run agents
claw-forge run --concurrency 5

# 7. Open the Kanban board
claw-forge ui
Claude Code routes through claw-forge automatically

claw-forge init also installs four routing skills into .claude/skills/: claw-forge-feature, claw-forge-bug, claw-forge-ops, and claw-forge-verify. Once they're installed, a Claude Code session working in this project recognizes feature and bug work on its own — "add a settings page" or "fix this failing test" — and routes it through the spec → validate → plan → run pipeline instead of editing code by hand, so parallel work stays safe under the file-claim locks and merge-gating described below. claw-forge-verify is the follow-up: after a run it checks each user journey of the finished app in a real browser and turns failures into bug specs.

It always asks before running claw-forge run — a run spawns parallel agents, writes to git, and consumes provider tokens for potentially hours, so the skills report what would be dispatched and wait for an explicit yes. Already-scaffolded projects pick these up via claw-forge init --refresh.



Writing a Project Spec

The spec is the single input that drives everything. The initializer agent reads it, breaks it into atomic tasks, infers dependencies, and creates an execution plan. The quality of your spec directly determines the quality of what gets built.

claw-forge supports two spec formats:

Format When to use Command
Plain text (app_spec.txt) Quick greenfield projects claw-forge plan app_spec.txt
XML (app_spec.xml) Richer greenfield specs with phases, DB schema, API summary claw-forge plan app_spec.xml
Brownfield XML (additions_spec.xml) Adding features to an existing codebase claw-forge plan additions_spec.xml

The /create-spec slash command generates whichever format is appropriate — it auto-detects whether you're in a greenfield or brownfield project and runs the matching conversational flow.

Ways to create a spec

Option 1 — Write it yourself (best control)

Project: my-api
Stack:   Python 3.12, FastAPI, SQLAlchemy, pytest

Features:

1. User authentication
   Description: JWT-based register/login/logout using bcrypt; access tokens expire in 1h, refresh tokens in 7d; use python-jose for JWT and passlib for bcrypt.
   - POST /auth/register creates user, returns 201 with user_id
   - POST /auth/login returns {access_token, refresh_token, expires_in}
   - POST /auth/refresh exchanges refresh_token for new access_token
   - POST /auth/logout invalidates the refresh token
   - Passwords hashed with bcrypt (cost factor 12)
   - 15 unit tests, all passing

2. Task CRUD
   Description: Full CRUD for tasks with title, description, status (todo/in_progress/done), priority (1–5), due_date, and tags.
   - POST /tasks — create, returns 201
   - GET /tasks  — list with pagination (?page=1&per_page=20)
   - PATCH /tasks/{id} — partial update
   - DELETE /tasks/{id} — soft delete (sets deleted_at)
   - All endpoints require valid JWT (401 if missing)
   - Users can only access their own tasks (403 otherwise)
   Depends on: 1

3. Integration test suite
   Description: End-to-end API tests using pytest + httpx AsyncClient, against in-memory SQLite with no external dependencies.
   - Coverage ≥ 90% across all modules
   - Tests cover auth flow, CRUD, and error cases
   - All tests pass: pytest tests/ -v
   Depends on: 1, 2

Each numbered item is one task. The - bullets under it are that task's steps — write them as the acceptance criteria. Keep Description: on one line: a wrapped second line is dropped. A line that is only a word and a colon (Acceptance criteria:) is read as a section header, not a field: every bullet under it would become its own task and the Depends on: line after it would be lost.

Option 2 — XML spec (recommended for complex projects)

XML gives you richer structure: implementation phases, DB schema, API endpoint summary, design system, and success criteria. Each <feature> becomes one task in the DAG.

<!-- app_spec.xml -->
<project_specification>
  <project_name>my-api</project_name>
  <overview>A REST API for task management with JWT auth.</overview>
  <technology_stack>Python 3.12, FastAPI, SQLAlchemy, PostgreSQL, pytest</technology_stack>

  <core_features>
    <category name="Authentication">
      <feature index="1" shape="plugin" plugin="auth">
        <description>User can register with email and password</description>
      </feature>
      <feature index="2" shape="plugin" plugin="auth">
        <description>System validates email format and enforces password strength</description>
      </feature>
      <feature index="3" shape="plugin" plugin="auth">
        <description>User can log in and receive JWT access + refresh tokens</description>
      </feature>
    </category>
    <category name="Tasks">
      <feature index="4" shape="plugin" plugin="tasks">
        <description>User can create tasks with title, description, status, and priority</description>
      </feature>
      <feature index="5" shape="plugin" plugin="tasks">
        <description>User can list their tasks with pagination</description>
      </feature>
    </category>
    <category name="API Layer">
      <feature index="6" shape="core"
               touches_files="src/api/middleware/jwt_auth.py">
        <description>All endpoints validate JWT and return 401 on missing/expired tokens</description>
      </feature>
    </category>
  </core_features>

  <database_schema>
    Users: id, email, password_hash, created_at
    Tasks: id, owner_id, title, description, status, priority, created_at
  </database_schema>

  <implementation_steps>
    <phase name="Auth">User registration, login, JWT tokens</phase>
    <phase name="Tasks">Task CRUD endpoints</phase>
    <phase name="Tests">Integration test suite, coverage ≥ 90%</phase>
  </implementation_steps>

  <success_criteria>
    All endpoints tested, coverage ≥ 90%, ruff + mypy clean
  </success_criteria>
</project_specification>
claw-forge plan app_spec.xml

Use app_spec.example.xml as your starting point — claw-forge init copies it into your project automatically.

Stack layouts — by default plugin="auth" expands to src/plugins/auth/** (single-package layout). For stacks with their own workspace conventions — pnpm/turbo monorepos with a decoupled UI and API, uv workspaces, Go services — declare a <layout> and plugin footprints expand into that stack's directories instead (one glob per root: a UI/API feature is a single vertical slice spanning apps/web/src/features/auth/** and apps/api/src/modules/auth/**). Polyglot apps (Python API + TS web) compose per-subtree zones plus a regenerated API-client contract:

<layout profile="pnpm-monorepo"/>                    <!-- TS full-stack monorepo -->

<layout>                                             <!-- or: Python API + TS web -->
  <zone root="apps/api" profile="uv-workspace"/>
  <zone root="apps/web" profile="pnpm-single-app"/>
  <contract path="packages/api-client/**" regen="pnpm --filter api-client generate"/>
</layout>

Built-in profiles: single-package (default) · pnpm-monorepo · pnpm-single-app · uv-workspace · go-service · maven-single-module. Each profile also teaches the harness the stack's collision seams (turbo.json, workspace manifests, module loaders) — validated at plan time, auto-resolved or serialized at merge time, and explained to every agent in its prompt. See docs/commands.md → claw-forge plan → Stack layout.

Option 3 — Brownfield XML spec (adding features to an existing project)

When you want to add a set of related features to an existing codebase, use additions_spec.xml. The mode="brownfield" attribute tells claw-forge to load brownfield_manifest.json and inject existing conventions into agent context.

<!-- additions_spec.xml -->
<project_specification mode="brownfield">
  <project_name>my-api — Stripe Integration</project_name>
  <addition_summary>Add Stripe payment processing to the existing FastAPI app.</addition_summary>

  <existing_context>
    <!-- Auto-populated by /create-spec when brownfield_manifest.json exists -->
    <stack>Python / FastAPI / PostgreSQL</stack>
    <test_baseline>47 tests passing, 87% coverage</test_baseline>
    <conventions>snake_case, async handlers, pydantic v2 models</conventions>
  </existing_context>

  <features_to_add>
    <category name="Payments">
      <feature index="1" shape="plugin" plugin="payments">
        <description>User can add a payment method via Stripe Elements</description>
      </feature>
      <feature index="2" shape="plugin" plugin="payments" depends_on="1">
        <description>System charges stored payment method on subscription creation</description>
      </feature>
      <feature index="3" shape="plugin" plugin="payments">
        <description>Admin can issue refunds from the dashboard</description>
      </feature>
    </category>
    <category name="Cross-cutting">
      <feature index="4" shape="core"
               touches_files="src/core/db/models/user.py">
        <description>Extend User model with stripe_customer_id field</description>
      </feature>
    </category>
  </features_to_add>

  <integration_points>
    Extends User model with stripe_customer_id field
    Adds /payments router alongside existing /auth and /tasks routers
  </integration_points>

  <constraints>
    Must not modify existing auth flow
    All 47 existing tests must stay green
    Follow existing async handler pattern in routers/
  </constraints>

  <implementation_steps>
    <phase name="Stripe Setup">Stripe client, webhook handler, config</phase>
    <phase name="Payment Methods">Add/remove cards, default card</phase>
    <phase name="Subscriptions">Create, cancel, webhook events</phase>
  </implementation_steps>
</project_specification>
claw-forge validate-spec additions_spec.xml --project-root .
claw-forge plan additions_spec.xml
claw-forge run --concurrency 3

Use templates/app_spec.brownfield.template.xml as a starting point.

Option 4 — Interactive with /create-spec (easiest)

Open Claude Code in your project directory and type /create-spec. It picks one of three modes, checked in this order:

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 claw-forge

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229