Skip to content
JoasASantosPublic

About

Offensive-security agent built on Raze, a System One model in the Jev family — turns target state into typed, calibrated judgments (exploitability, impact, novelty, next action) gated by deterministic validators.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

Raze

Offensive-security agent built on Raze — a System One model in the Jev family.

Raze turns natural language and target/engagement state into typed, calibrated judgments that ordinary code can combine: is this finding exploitable?, what is the real impact?, which attack path next?, is this a duplicate/known/theoretical issue?

It is not an autonomous attack tool. It is a reasoning and triage layer for authorized offensive-security work (pentests, red-team engagements, bug-bounty triage, CTFs) that keeps a human and deterministic validators in the loop.


The two layers

Raze is one brand, two pieces:

Piece Class What it is
The model Raze (raze.model) A System One model: state -> typed judgment + probability. Small, composable, no free-form autonomy.
The agent RazeAgent (raze.agent) Orchestrates the Raze model, deterministic analyzers, and validators across the offensive-security topic surface, behind an authorization boundary.

Lineage: inspired by browser-use/jev-ultrafast, NandhaKishorM/laya, ikermoel/open-alternative-jev, and TypeSafe's System One / Jev primitives.


Topic coverage

Recon · Web app · Network · Active Directory · Cloud · Mobile · Wireless · Exploit dev · Reverse engineering · Social engineering · Cryptography

See docs/TOPICS.md.


Design principles

  1. Typed over free-form. Every Raze call returns a schema-validated judgment, never prose the caller has to parse.
  2. Calibrated, not confident. Probabilities are reported and measured (ECE), and never re-interpreted as per-finding precision/recall. See benchmarks/README.md.
  3. Deterministic validators gate model output. A finding a validator can disprove (e.g. failed reproduction) is downgraded regardless of Raze's probability.
  4. Human-in-the-loop by default. Raze proposes; the operator disposes. No unattended exploitation.
  5. Authorized use only. Scope and authorization are enforced at the harness boundary. See docs/ARCHITECTURE.md.

Status

Early scaffold. Contributions marked honestly as implemented / measured / proposed — see docs/ARCHITECTURE.md.

Quickstart

No model at all — deterministic decisions from signals + class + CVSS (HeuristicBackend). On the bundled 55-case dataset it scores accuracy 0.82 / precision 1.00 / recall 0.67 with no LLM and no fine-tune; a model backend is an optional upgrade for the semantic verdict (higher recall):

pip install -e .
raze plan benchmarks/offsec_dataset.json --backend heuristic --top 10
python examples/triage_finding.py            # EchoBackend stub (conservative)

With a real model backend (Claude):

pip install -e ".[anthropic]"    # + set ANTHROPIC_API_KEY or `ant auth login`
from raze import Raze
from raze.backends import AnthropicBackend
from raze.judgments import Exploitability, JudgmentContext

raze = Raze(backend=AnthropicBackend(model="claude-opus-5"))
j = raze.judge(Exploitability, JudgmentContext(
    task="Is this reflected input exploitable as XSS?",
    topic="web",
    evidence=["GET /search?q=<svg onload=1> reflected unescaped, no CSP"],
))
print(j.verdict, j.probability, j.rationale)

Any other provider (a TypeSafe System One SDK call, a local model) plugs in via LLMBackend(complete_fn). See docs/RAZE_MODEL_SPEC.md.

CLI

# Campaign-level: decide a whole engagement, correlate attack chains, rank a plan:
raze plan benchmarks/offsec_dataset.json --top 10

# Fast decision: one combined model call, chained multi-factor verdict + priority:
raze decide examples/finding.json --scope examples/scope.json

# Assess a finding, enforcing an authorization scope (offline echo backend):
raze assess examples/finding.json --scope examples/scope.json --json

# Use the Claude backend:
raze assess examples/finding.json --backend anthropic --model claude-opus-5

# List implemented vs proposed topics:
raze topics

Reads a finding JSON (or - for stdin). Exit codes: 0 ok, 1 usage, 2 scope refused, 3 assessment failed.

Providers / harnesses. Every command takes --backend echo|anthropic|openai|gemini (with --model and, for OpenAI-compatible endpoints, --base-url). The model is a primitive — plug it into Claude, OpenAI/Codex, Gemini, a local model, or any harness via LLMBackend(complete_fn). See docs/HARNESSES.md.

As a skill

Raze ships an agent skill (same idea as the TypeSafe System One skill): it teaches an agent when/how to use Raze for offensive-security decisions. Install: cp -r skills/raze ~/.claude/skills/raze. See skills/README.md.

License

Apache-2.0. Copyright 2026 Joás Santos and contributors. See NOTICE.

Authorized offensive-security use only — test only what you own or are explicitly authorized in writing to test.

About

Offensive-security agent built on Raze, a System One model in the Jev family — turns target state into typed, calibrated judgments (exploitability, impact, novelty, next action) gated by deterministic validators.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages