tradeforge
by yousifnazhat
README.md
# tradeforge
**Your tradecraft should compound. Your agents should stay disciplined.**
Keep your executor — ARTEX, Cairn, Strix, HexStrike, anything. Tradeforge is the memory and the discipline layer they don't have: a compounding technique vault, an in-code authorization gate, evidence-enforced findings, a research-ingestion pipeline, and a honeypot detector for your agents.
## Why
Every agentic pentest framework dies with the project it ran. Your executor's findings live in a database; your technique knowledge lives nowhere. The two field-documented gaps in the entire agentic-pentest space are (a) no cross-engagement compounding memory and (b) no in-code authorization enforcement — the 2026 field survey calls in-code scope checking "largely open ground," and Elastic Security Labs' source review of five frameworks found *"none of the five frameworks enforces authorization in code by default."* tradeforge ships exactly those two layers, executor-agnostic, over MCP.
## Quickstart
```bash
pipx install tradeforge
tradeforge init ~/vault --demo # scaffold + two live-fetched seed entries
cd ~/vault
claude mcp add tradeforge -- tradeforge mcp serve
```
Then in Claude Code (or Codex, or any MCP client):
```text
> record the authorization gate: target lab.example, scope *.example,
basis "owned lab", type coordinated-disclosure
> gate status # complete: true
> ingest paper 2611.16744 # arXiv source-fetch, never prose
> triage P-002 --decision promote --method-name "Visual Prompt Injection"
> log finding ... --evidence recon/nmap.out
> close # dedup, backlinks, redaction lint
```
## Setups
Tradeforge makes **zero LLM calls** (your agent client owns the model — any provider) and bundles **no executors** (bring whatever you run, or start with nothing):
- **Laptop only** — works day one: vault, gate, discipline, passive OSINT.
- **Kali attack box — recommended** — all target-facing traffic from a dedicated box, tools co-located. See `SETUP.md`.
- **Kali + executor add-ons** — Decepticon, Strix, HexStrike, ARTEX pointers; tradeforge wraps them. See `SETUP.md`.
## What it enforces
- **Authorization gate** — 4 fields (target, scope, basis, engagement type), blocked-until-complete, archived audit trail. Findings refuse to log without it.
- **Evidence-per-finding** — `log_finding` rejects findings without an on-disk evidence artifact. No evidence, no finding.
- **Status verbs** — Reported / Vendor-confirmed / Public. "Patched" without written vendor sign-off is rejected by the lint.
- **Redaction lint** — close aborts while live secrets (Stripe keys, AWS keys, JWTs, private keys) remain in findings.
- **Deception check** — a pre-action honeypot detector: canary-registry match, imperative instructions, unprotected locations, sink-directed credentials, chain-isolated discoveries. A honeypot is prompt injection authored by the blue team; your agents should call `deception_check` before using any discovered credential or path.
## Tools
CLI: `init`, `ingest paper|advisory`, `gate record|status|clear`, `triage`, `log-finding`, `close`, `deception check`, `mcp serve`. MCP: the same 9 operations as tools for any agent client.
## License
Apache-2.0.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues