Skip to content

v4.1.0

Latest

Choose a tag to compare

@Coff0xc Coff0xc released this 24 Nov 18:04

[4.1.0] - 2026-11-25

Added

  • tool_enable grant ledger (autort.capability.grants/v1): catalog unlocks are recorded in-process, optionally persisted with AUTORT_GRANT_LOG, and capped with AUTORT_GRANT_BUDGET. Resident surfaces do not consume the budget. Replay of the same (kind, name) does not duplicate. autort capabilities grants reads the log. Third-party MCP grant growth stays unread. MCP02 remains partial
  • RuntimeLoop MODEL_CALL is only engage.pick via core.llm.provider.LLMProvider. It picks among coverage-open, currently actionable steps. AUTORT_LLM_PROVIDER=none fail-closes. Shell and browser kinds stay blocked. Unknown model_call names stay blocked
  • Aggregator idempotent execution ledger: tool_execution_id is sha256(name, inputs, dry_run). A completed id is replayed and does not re-run the engine. Failures are not recorded, so a retry still executes. Doom-loop still stops after three identical planner fingerprints that do not close a gap
  • Engage model pick is limited to coverage ledger open rows that map to currently actionable steps. The model may reply with a row id (phase:detect, finding:url|type|param) or a step name. Examined/ruled_out rows, export_findings while verify is open, and unknown names (exploit_run) are ignored. Default AUTORT_LLM_PROVIDER stays none
  • Juice Shop confirmation-rate demo: autort engage confirmation-rate verifies product-search SQLi against an authorized local Juice Shop and scores a homepage XSS self-report. Scorecard confirmation_rate is confirmed/total. Default CI stays dry-run; the live pin is tests/test_engage_juiceshop.py (integration/network, skipped when 127.0.0.1:3000 is down)
  • Verify receipts: verify_finding stores autort.engage.provenance/v1 with request URL/payload and response status/length/SHA-256/preview. require_receipt keeps findings [UNCONFIRMED] without a bound receipt. Scorecard proof=bound only when the receipt is present. World graph stores provenance_bound and body_sha256, not response bodies
  • Engagement coverage ledger (autort.engage.coverage/v1): in-scope phases plus discovered ports and findings, each examined / ruled_out / open. engage status and engage run print the denominator. coverage_rate is null when total is 0. Contradicted findings are ruled out
  • Engagement world model (autort.engage.world/v1): aggregators write asset/fact/finding nodes into world.sqlite via SQLiteKnowledgeStore. Planner reads the compact index (coverage flags, counts, unverified keys). Scan JSON stays out of the graph. Finding confidence is tentative until verify
  • plan_next reads open gaps from engagement state and returns aggregator steps (recon_run, detect_run, nuclei_scan, verify_finding, export_findings). Findings skip recon; unverified findings block export. Optional nuclei phase. engage.* names stay aliases
  • RuntimeLoop dispatches resident aggregators recon_run, detect_run, verify_finding, nuclei_scan, and export_findings. Dry-run records shared engage_state without target contact (config/runtime.aggregators.example.yaml). Live paths require the matching capability profile and target allowlist. Unknown steps, shells, and model_call still fail closed
  • autort ai-surface ledger (autort.owasp.mcp/v1): offline OWASP MCP Top 10 coverage map
  • Static mappings for MCP01 (mcp.MCP01.secret-env-key), MCP05 (mcp.MCP05.general-command), MCP07 (mcp_tool.auth-*), and MCP09 (mcp.MCP09.remote-endpoint)
  • GAPS.md: MCP08 stays a gap; MCP02 stays partial
  • In-process MCP initialize / tools/list (plus prompts and resources list) matches the resident set for safe / scan / active-lab / full
  • Orchestrator checkpoint persist/resume pin (tests/test_orchestrator_checkpoint.py): SessionStorage on tmp_path, stubbed phase executors, no live target
  • autort.engage.scorecard/v1 additive fields: unverified, contradicted, confirmation_rate (null when total is 0), per-row proof (bound / none), and gaps (no_findings_is_not_clean on an empty finding list)
  • Optional LLM path: code-owned authorized-engagement system prompt plus nonce AUTORT_DATA envelope for engage pick and decision analysis. Nested marker stems are neutralized. Jailbreak strings stay out of those prompts. Default AUTORT_LLM_PROVIDER remains none

Changed

  • Ubuntu pytest fast suite no longer uses --maxfail; Windows and Ubuntu now both run the suite to completion
  • Default CLI --help hides Internal groups code-agent, runtime-api, and sandbox; they stay callable
  • Default CLI --help hides pentest (auto_pentest). smart_analyze, attack_chain_plan, plan_attack_path, kg_attack_paths, and auto_pentest stay catalog/Experimental and still resolve under the matching profile. RuntimeLoop fail-closes those names as unknown local steps. Resident MCP counts are unchanged.
  • Catalog MCP tools ext_nmap_scan, ext_nuclei_scan, ext_sqlmap_scan, ext_ffuf_fuzz, and ext_masscan_scan drop unbounded extra_args. Presets and ffuf modes are Literal enums. ext_sqlmap_scan preset=exploit and ext_ffuf_fuzz fail closed unless confirmed=true. Internally built flags still pass validate_extra_args.
  • Mixed-profile scan and active-lab handler registrars load from sibling modules only when the current profile enables them. Parent modules that contain a safe surface still import under safe.
  • Optional engage _model_pick wraps state as DATA, passes the authorized system prompt, continues remaining in-scope steps, and treats HITL on live engage.verify as code. A HITL permit is not verification evidence. Unknown model replies fall back to the heuristic queue.
  • Version is 4.1.0 in _version.py only. The GitHub Action pin v3.1 is unchanged

Fixed

  • Restore GitHub Action baseline input so self-audit can run ai-surface diff --ci
  • AutoPentestOrchestrator.resume loads PentestState from ScanContext.metadata, restores OrchestratorConfig, and run() skips completed or skipped phases