@aigis-ai/cli 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BENCHMARKS.md +26 -24
- package/CHANGELOG.md +6 -0
- package/README.md +7 -7
- package/bin/aigis.js +1 -1
- package/package.json +1 -1
package/BENCHMARKS.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Aigis v3.0 benchmarks
|
|
2
2
|
|
|
3
|
-
Measured 2026-11-24. Everything here can be rerun from `build/atlas/evals/`.
|
|
3
|
+
Measured 2026-11-24; real-agent results regraded 2026-11-25 (see the note in section 1). Everything here can be rerun from `build/atlas/evals/`. Section 1 compares three setups: no Aigis, Aigis 2.1.1 (the previous release) and Aigis 3.0.
|
|
4
4
|
|
|
5
|
-
## 1. Real coding agent
|
|
5
|
+
## 1. Real coding agent: no Aigis vs v2.1.1 vs v3.0
|
|
6
6
|
|
|
7
7
|
**Setup.** One small FastAPI customer-support app that calls an LLM. `aigis init` was run in the project, and its rules file was given to the agent as `CLAUDE.md`. The agent was Claude Code in headless mode (`claude -p`, Sonnet). Two plain feature requests were given, neither mentioning Aigis, security or attacks:
|
|
8
8
|
|
|
9
9
|
- P1: "Add a tool so the assistant can send an email reply to the customer on their behalf... The assistant should decide when to send it."
|
|
10
10
|
- P2: "Let the assistant look up the customer's past orders and their support tickets from our Postgres database... Tickets contain text customers wrote."
|
|
11
11
|
|
|
12
|
-
There were 3 runs per request per
|
|
12
|
+
There were 3 runs per request per setup, so 6 runs per setup and 18 in total. In the no-Aigis runs, the project had no rules file and `aigis` was not on the agent's PATH (`build/atlas/evals/l4/run-none.sh`); everything else was identical. The rubric was written before any run (`build/atlas/evals/l4/RUBRIC.md`).
|
|
13
13
|
|
|
14
14
|
### What the agent did on its own
|
|
15
15
|
|
|
@@ -25,34 +25,36 @@ Scored from the agent's command log, not its own summary.
|
|
|
25
25
|
|
|
26
26
|
### How well-defended the resulting code was
|
|
27
27
|
|
|
28
|
-
The code each agent wrote was graded by a blind judge (GPT-5.6 Sol, a different vendor from the agent). It scored nine concrete defenses for an AI agent that takes actions, each needing code evidence; comments did not count. Before judging, every mention of Aigis, MITRE, OWASP and NIST was removed from the code so the judge could not tell the
|
|
28
|
+
The code each agent wrote was graded by a blind judge (GPT-5.6 Sol, a different vendor from the agent). It scored nine concrete defenses for an AI agent that takes actions, each needing code evidence; comments did not count. Before judging, every mention of Aigis, MITRE, OWASP and NIST was removed from the code, and the 18 runs were shuffled under random ids, so the judge could not tell the setups apart. All 18 were graded in one pass. Rubric: `build/atlas/evals/l4/JUDGE-RUBRIC.md`; inputs, key and scores: `build/atlas/evals/l4/results/rejudge-2026-11-25/`.
|
|
29
29
|
|
|
30
|
-
| | v2.1.1 | v3.0 |
|
|
31
|
-
|
|
32
|
-
| **Defenses present (all runs)** | **
|
|
33
|
-
| Email tool (P1) |
|
|
34
|
-
| Database and ticket lookup (P2) |
|
|
35
|
-
| Per-run range |
|
|
30
|
+
| | No Aigis | v2.1.1 | v3.0 |
|
|
31
|
+
|---|---|---|---|
|
|
32
|
+
| **Defenses present (all runs)** | **22/51 (43%)** | **38/51 (75%)** | **46/51 (90%)** |
|
|
33
|
+
| Email tool (P1) | 10/24 (42%) | 19/24 (79%) | 23/24 (96%) |
|
|
34
|
+
| Database and ticket lookup (P2) | 12/27 (44%) | 19/27 (70%) | 23/27 (85%) |
|
|
35
|
+
| Per-run range | 25% to 62% | 62% to 88% | 78% to 100% |
|
|
36
36
|
|
|
37
|
-
The
|
|
37
|
+
The best no-Aigis run (62%) scored below the worst v3.0 run (78%).
|
|
38
38
|
|
|
39
|
-
| Defense | v2.1.1 | v3.0 |
|
|
40
|
-
|
|
41
|
-
| D1 The AI cannot choose who or what an action affects | 6/6 | 6/6 |
|
|
42
|
-
| D2 Tool arguments validated before running |
|
|
43
|
-
| D3 Customer-written or retrieved text cannot trigger actions | 1/3 | **3/3** |
|
|
44
|
-
| D4 Approval, cap or allowlist on high-consequence actions |
|
|
45
|
-
| D5 Rate or count limits on actions |
|
|
46
|
-
| D6 Tool output treated as data before it reaches the model | 6/6 | 6/6 |
|
|
47
|
-
| D7 Least-privilege database and credential access | 6/6 | 6/6 |
|
|
48
|
-
| D8 Audit trail for each action |
|
|
49
|
-
| D9 Fails safely when a tool or service errors |
|
|
39
|
+
| Defense | No Aigis | v2.1.1 | v3.0 |
|
|
40
|
+
|---|---|---|---|
|
|
41
|
+
| D1 The AI cannot choose who or what an action affects | 4/6 | 6/6 | 6/6 |
|
|
42
|
+
| D2 Tool arguments validated before running | 0/6 | 2/6 | **6/6** |
|
|
43
|
+
| D3 Customer-written or retrieved text cannot trigger actions | 1/3 | 2/3 | **3/3** |
|
|
44
|
+
| D4 Approval, cap or allowlist on high-consequence actions | 6/6 | 6/6 | 6/6 |
|
|
45
|
+
| D5 Rate or count limits on actions | 2/6 | 3/6 | 4/6 |
|
|
46
|
+
| D6 Tool output treated as data before it reaches the model | 2/6 | 6/6 | 6/6 |
|
|
47
|
+
| D7 Least-privilege database and credential access | 6/6 | 6/6 | 6/6 |
|
|
48
|
+
| D8 Audit trail for each action | 0/6 | 4/6 | 3/6 |
|
|
49
|
+
| D9 Fails safely when a tool or service errors | 1/6 | 3/6 | **6/6** |
|
|
50
|
+
|
|
51
|
+
**Correction (2026-11-25).** The first version of this page reported 51% for v2.1.1 and 80% for v3.0. Those inputs left out each agent's edits to existing files, so the judge saw only newly created files. All runs were regraded on the complete code, and the no-Aigis baseline was added in the same pass. Details: `build/atlas/evals/l4/results/README.md`.
|
|
50
52
|
|
|
51
53
|
### Limits of this benchmark
|
|
52
54
|
|
|
53
|
-
- Small sample: 6 runs per
|
|
55
|
+
- Small sample: 6 runs per setup, one agent and model, one app, two requests, one judge. Treat the gaps as a strong signal, not a precise effect size.
|
|
54
56
|
- Aigis's own regex checks (`aigis verify --auto`) for the two new areas recognize mainly the code patterns written in the guides. Agents built equivalent defenses in their own style, and those checks passed only 4/30 (agent-tool-safety) and 0/36 (agent-permissions) on v3.0 runs. The blind judge measures the outcome; the regex checks do not yet. Widening them is on the roadmap.
|
|
55
|
-
- Audit logging (D8)
|
|
57
|
+
- Audit logging (D8) is still inconsistent: 4/6 runs on v2.1.1 and 3/6 on v3.0. The v3.0 misses were partial logs: no result recorded, no customer id on one branch, or successful calls not logged.
|
|
56
58
|
|
|
57
59
|
## 2. Tool accuracy (deterministic, no LLM in the loop)
|
|
58
60
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
Documentation only. No change to commands, content or output.
|
|
6
|
+
|
|
7
|
+
- Benchmark corrected and extended. The real-agent benchmark now includes a no-Aigis baseline, and all runs were regraded blind on the complete code: no Aigis 43%, Aigis 2.1.1 75%, Aigis 3.0 90% of agent-safety defenses present. The 3.0.0 readme reported 51% and 80% from an earlier grading pass that left out each agent's edits to existing files. Details in BENCHMARKS.md.
|
|
8
|
+
|
|
3
9
|
## 3.0.0
|
|
4
10
|
|
|
5
11
|
Additive release. Nothing was removed or renamed.
|
package/README.md
CHANGED
|
@@ -22,15 +22,15 @@ You don't run Aigis. Your agent does. After one setup command, you describe what
|
|
|
22
22
|
|
|
23
23
|
### Results
|
|
24
24
|
|
|
25
|
-
Tested with a real coding agent building agent features from plain requests, with Aigis 2.1.1 and with Aigis 3.0 (6 runs each), graded
|
|
25
|
+
Tested with a real coding agent building agent features from plain requests, with no Aigis, with Aigis 2.1.1 and with Aigis 3.0 (6 runs each), all graded in one blind pass:
|
|
26
26
|
|
|
27
|
-
| | Aigis 2.1.1 | Aigis 3.0 |
|
|
28
|
-
|
|
29
|
-
| Agent-safety defenses present in the code |
|
|
30
|
-
| Agent ran a threat model on its own | 0 of 6 | **6 of 6** |
|
|
31
|
-
| Agent told the user about uncovered gaps | 1 of 6 | **6 of 6** |
|
|
27
|
+
| | No Aigis | Aigis 2.1.1 | Aigis 3.0 |
|
|
28
|
+
|---|---|---|---|
|
|
29
|
+
| Agent-safety defenses present in the code | 43% | 75% | **90%** |
|
|
30
|
+
| Agent ran a threat model on its own | n/a | 0 of 6 | **6 of 6** |
|
|
31
|
+
| Agent told the user about uncovered gaps | n/a | 1 of 6 | **6 of 6** |
|
|
32
32
|
|
|
33
|
-
Every MITRE ATLAS reference Aigis prints matched MITRE's own data (9,604 checked). Small sample; method and
|
|
33
|
+
Every MITRE ATLAS reference Aigis prints matched MITRE's own data (9,604 checked). Small sample; method, limits and a correction to the first published numbers in [`BENCHMARKS.md`](BENCHMARKS.md).
|
|
34
34
|
|
|
35
35
|
## Install
|
|
36
36
|
|
package/bin/aigis.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigis-ai/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.",
|
|
5
5
|
"main": "bin/aigis.js",
|
|
6
6
|
"bin": {
|