sec-af
sec-af copied to clipboard
AI-native code security auditor on AgentField that proves exploitability with verdicts, traces, and actionable evidence.
## What happened On 2026-11-11, successful sec-af audits on main cee88c9f15cb with Go SDK v0.1.131 returned cost_usd zero while the control plane persisted nonzero harness and direct-LLM usage. The earlier...
## What happened This defect was not exercised by the 2026-11-11 live audits. It was reproduced during verification on sec-af main cee88c9f15cb using the existing no-model test `TestGenerateOutput_ComplianceFrameworksHitThePythonBug`. That test...
## Problem The system has **no feedback loops** between phases. The orchestration is fire-and-forget: 1. **No recon-informed prioritization**: If recon finds a critical misconfiguration (exposed .env), all 12 hunt strategies...
## Problem The orchestrator runs phases **strictly sequentially**: recon must fully complete before hunt starts, and all hunters must finish before any proving begins. This is the single biggest performance...
## Problem In \`phases.py\`, the hunt phase waits for **ALL** hunters to complete before running dedup: \`\`\`python hunt_results = await asyncio.gather(*hunt_calls, return_exceptions=True) all_findings: list[RawFinding] = [] for idx, raw in...
## Problem Every hunter receives the **entire** `ReconResult` dict as context, regardless of domain relevance: ```python # reasoners/phases.py, hunt_phase() async def _run_strategy(strategy: HuntStrategy) -> object: async with semaphore: return await...
## Problem The LLM-facing sub-schemas are well-designed (2-4 attributes). But schemas that cross phase boundaries are bloated: | Schema | Field Count | Used By | |---|---|---| | `RawFinding` |...
## Problem The current multi-turn prompt guidance in harness.py is generic and vague: ```python def _with_multi_turn_prompt(prompt: str) -> str: return ( f"{prompt.rstrip()}\n\n" "IMPORTANT: This is a complex task. Take multiple...
## Problem In `orchestrator.py`, the reachability assessment for verified findings runs as a **sequential loop**: ```python # orchestrator.py, _run_prove() for finding in verified: if not any(tag in reachability_tags for tag...
Let users define org-specific rules: "all endpoints must require auth", "no plaintext credentials in config", "all user input must be validated". AI evaluates against custom policies in addition to standard...