AI-Driven Security Hardening for Any Codebase
Lagune은 AI 에이전트가 시스템 동작을 파악해 코드베이스를 자동 방어 강화
AI 에이전트를 위한 사전 실행 게이트웨이: 결정론적 정책 우선, 에이전트 추론을 읽는 감사자, 위험 실행 전 인간 승인
A pre-execution gateway for AI agents: deterministic policy first, an auditor that reads the agent's reasoning, and human approval before anything risky executes.
보안Python · JavaScriptGitHub @dkritarth온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Early-stage hackathon concept for reviewing AI-agent actions against task scope, permissions, and available reasoning evidence.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Check every agent action before it runs. A pre-execution gateway for AI agents, built for the Nebius × NVIDIA Global AI Hackathon 2026.
Website · Walkthrough video, 2:42 · Live demo replay · Project brief (PDF) · Judge runbook · Project status
Coding agents run shell commands and edit files, and a prompt injection in a README or invoice can steer them. Scopewatch checks each tool action before it runs. A deterministic policy returns ALLOW, HOLD, or DENY. An auditor model reads the agent's exposed reasoning and can hold an allowed action for human review. Every step is recorded as evidence in a reviewer dashboard. It mediates only actions routed through its API.
Run it (no keys, no Docker, no network):
python3 -m venv .venv && . .venv/bin/activate && pip install --require-hashes -r backend/requirements.lock && ./scripts/run_demo.sh
Then open http://127.0.0.1:8000/. Needs Python 3.12+. Node 22+ is only for the frontend test suites (BUILDING.md has details).
Also: hackathon checklist · submission package · website source in site/
DENY is final.ALLOW to HOLD. An audit that was attempted and failed also holds the action. The model cannot grant access.DENY.Reviewer dashboard screenshots, with how each was captured, are in the media gallery.
Adoption and prior art covers who this is for, real vulnerability disclosures, overlap with existing guardrails, and limits under monitoring awareness. No adoption-time or cost savings have been measured. The shipped agent/auditor pair and the live headline scenario are still open (#214).
run_command (backend/scopewatch/executor_docker.py).backend/scopewatch/providers/client.py: message.reasoning_content, message.reasoning, then message.reasoning_details. In reasoning_details, reasoning.text blocks are provider-exposed traces (PROVIDER_EXPOSED_TRACE), reasoning.summary blocks are summaries (AGENT_AUTHORED_SUMMARY), and redacted or unknown variants are UNAVAILABLE. Anything else, including <thinking> text inside message content, is ignored and recorded as UNAVAILABLE. Traces go to the auditor inside <untrusted_reasoning_trace> delimiters. A model can rationalize, omit, or misstate its plan, so a clean trace never proves benign intent. Closed models usually expose no reasoning fields.SCOPEWATCH_CAPTURE_TOKEN is stored as a verified provider trace. Other claims are stored as CALLER_ASSERTED_PROVIDER_TRACE or CALLER_ASSERTED_SUMMARY. Labels are evidence metadata and never change a policy decision../scripts/run_demo.sh seeds the synthetic scenarios, serves the dashboard on 127.0.0.1:8000, and replays them with no model. Override with PORT=... HOST=.... State goes to runtime-data/scopewatch.db (gitignored) and per-run copies of demo/workspace/.
./scripts/run_demo.sh --agent # agent loop with the offline mock provider
./scripts/run_demo.sh --coding # coding scenarios 10-13 (needs Docker, see below)
./scripts/run_demo.sh --db-path /tmp/sw/demo.db --workspace-root /tmp/sw/workspace # keep the repo clean
Scenarios 10 and 13 submit run_command, which policy permits only on the Docker executor. With a reachable Docker daemon the launcher selects SCOPEWATCH_EXECUTOR=docker. Without one it warns before seeding, and every run_command is refused by policy.
Live Nebius inference (needs NEBIUS_API_KEY; keys come from the environment or a gitignored .env, see .env.example):
export NEBIUS_API_KEY="..."
export SCOPEWATCH_AGENT_PROFILE=nebius-demo SCOPEWATCH_AUDITOR_PROFILE=nebius-demo
./scripts/run_demo.sh --agent --profile nebius-demo
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗