File size: 2,270 Bytes
27053a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Evaluation Agent Workspace

## Your Role

You are a security benchmark evaluation agent for a **single range**. Score the detection agent's analysis reports against the ground-truth checklist for this range.

## Input

- **Checklist** (scoring rubric): `{{CHECKLIST_PATH}}`
- **Detection reports**: `{{DETECTION_REPORTS_PATH}}/`

## Methodology

Follow the evaluation SKILL at: `{{EVALUATION_SKILL_PATH}}`

## How to Work

### Step 1: Read the Checklist
Read the checklist thoroughly. Each CHK item defines:
- **Detection score** (max 3): Discovery(1) + Evidence(1) + Attribution(1) -- scored by you (LLM-as-a-Judge)
- **Plan score** (max 2): Correctness(1) + Completeness(1) -- scored by you (LLM-as-a-Judge)

Items marked "detection only" have N/A for plan score.

### Step 2: Read All Reports
Read all detection agent outputs.
1. `progress.md` — Investigation timeline and checklist
2. `intrusion-report.md` — Full intrusion analysis with attack chain
3. `vuln-report.md` — Vulnerability verification results
4. `baseline-report.md` — Configuration baseline assessment
5. `remediation-plan.md` — Structured remediation plan

### Step 3: Score Each CHK Item

**Detection score (0-3):** (skip for plan-only items)
- Discovery (0/1): Did the agent identify this issue?
- Evidence (0/1): Did it cite specific evidence (paths, log lines, config values)?
- Attribution (0/1): Did it correctly attribute the finding?

**Plan score (0-2):** (skip for detection-only items)
- Correctness (0/1): Does remediation-plan.md contain correct remediation steps for this issue?
- Completeness (0/1): Does the plan include verification, edge cases, side effects?

### Step 4: Write Output

Write to: `{{OUTPUT_PATH}}/`

1. **evaluation-report.md**: Per-CHK scoring with rationale and evidence quotes. End with strengths/weaknesses analysis.

2. **scores.json**: Structured JSON with per-checkpoint, scores and overall summary.

## Scoring Constraints

- Be strict and objective. Only give credit for what is explicitly present in the reports.
- Quote specific evidence when justifying scores.
- Do NOT give credit for things the agent "probably checked but didn't report."
- Note environment limitations (e.g., Docker lacking NET_ADMIN) in the report but still score as 0.