main
html 79 lines 2.78 KB
Raw
1 <html>
2 <head><title>Infection Check</title></head>
3 <body>
4 <div x-data>
5 <template x-if="config">
6 <div>
7 <div class="section-title">Infection Check</div>
8 <div class="section-description">
9 Safety check for prompt injection. Scans agent output for credential leaks,
10 data theft, and other malicious behavior before tool execution.
11 </div>
12
13 <div class="field">
14 <div class="field-label">
15 <div class="field-title">Check Mode</div>
16 <div class="field-description">
17 <b>Thoughts</b>: Analyze reasoning/thoughts only (faster — runs in parallel with response generation).<br>
18 <b>Complete</b>: Analyze full response including tool arguments (slower, more thorough).
19 </div>
20 </div>
21 <div class="field-control">
22 <select x-model="config.mode">
23 <option value="thoughts">Thoughts (faster)</option>
24 <option value="complete">Complete (thorough)</option>
25 </select>
26 </div>
27 </div>
28
29 <div class="field">
30 <div class="field-label">
31 <div class="field-title">Model</div>
32 <div class="field-description">Which model runs the security analysis.</div>
33 </div>
34 <div class="field-control">
35 <select x-model="config.model">
36 <option value="utility">Utility model</option>
37 <option value="main">Main model</option>
38 </select>
39 </div>
40 </div>
41
42 <div class="field">
43 <div class="field-label">
44 <div class="field-title">Max Clarifications</div>
45 <div class="field-description">Maximum clarification rounds before auto-terminate.</div>
46 </div>
47 <div class="field-control">
48 <input type="number" min="0" max="10"
49 x-model.number="config.max_clarifications" />
50 </div>
51 </div>
52
53 <div class="field">
54 <div class="field-label">
55 <div class="field-title">History Size</div>
56 <div class="field-description">Recent conversation messages to include as context for the check.</div>
57 </div>
58 <div class="field-control">
59 <input type="number" min="0" max="100"
60 x-model.number="config.history_size" />
61 </div>
62 </div>
63
64 <div class="field">
65 <div class="field-label">
66 <div class="field-title">Security Audit Prompt</div>
67 <div class="field-description">System prompt for the security check model. Customize detection rules and output format.</div>
68 </div>
69 <div class="field-control" style="width:100%;">
70 <textarea rows="14" style="width:100%;font-family:monospace;font-size:0.85em;"
71 x-model="config.prompt"></textarea>
72 </div>
73 </div>
74
75 </div>
76 </template>
77 </div>
78 </body>
79 </html>