saktum 0.1.4 → 0.2.0
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/README.md +20 -3
- package/package.json +1 -1
- package/saktum.mjs +1244 -583
package/README.md
CHANGED
|
@@ -36,7 +36,22 @@ Runs on your machine. Nothing is uploaded. Your own environment variables are ne
|
|
|
36
36
|
use your tools safely and cheaply (danger annotations, descriptions, context cost). Readiness never changes the trust
|
|
37
37
|
grade. Every report ends with **OWASP MCP Top 10 coverage**: which categories this run tested and which come later.
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Functional testing, performance and your own test cases
|
|
40
|
+
|
|
41
|
+
- **`--active`** (only against servers you own): Saktum calls your **read-only** tools with arguments generated from
|
|
42
|
+
their schemas, validates results against any declared `outputSchema`, checks invalid arguments are rejected gracefully,
|
|
43
|
+
confirms the server survives, and measures latency percentiles and behaviour at 1, 5 and 20 concurrent callers.
|
|
44
|
+
Destructive tools are never called automatically; name others with `--call <tool>`.
|
|
45
|
+
- **Your test cases** (`saktum.tests.yaml`, guide in [docs/TESTS.md](docs/TESTS.md)): what your tools should actually
|
|
46
|
+
return, run with `npx saktum test` locally and in CI.
|
|
47
|
+
- **Capability profile:** what your tools can do (run code, reach the network, touch files, change data, send messages,
|
|
48
|
+
move money), declared or conservatively inferred, with a warning when private data, untrusted content and an outbound
|
|
49
|
+
channel combine.
|
|
50
|
+
- **Trust card and scope:** every report says, dimension by dimension, what was tested, what was not, and why.
|
|
51
|
+
`npx saktum checks` lists every check with the standard behind it ([docs/CHECKS.md](docs/CHECKS.md)).
|
|
52
|
+
- **Control:** `--ignore check.id="reason"` (shown in the report, not scored) and `--badge badge.svg` for your README.
|
|
53
|
+
|
|
54
|
+
## What it checks
|
|
40
55
|
|
|
41
56
|
| Area | Checks |
|
|
42
57
|
| --- | --- |
|
|
@@ -44,9 +59,11 @@ grade. Every report ends with **OWASP MCP Top 10 coverage**: which categories th
|
|
|
44
59
|
| Sign-in (remote servers) | HTTPS; 401 with a Bearer challenge pointing to resource metadata (RFC 9728); protected resource metadata; authorization server metadata with PKCE S256 (RFC 8414, RFC 7636); invalid tokens rejected (RFC 6750) |
|
|
45
60
|
| Security | Hidden instructions to the agent, invisible and bidirectional characters, terminal escape sequences, secrets in tools or errors (always redacted), stack traces and source paths in errors |
|
|
46
61
|
| Agent experience | Danger annotations, description quality, context cost in tokens and dollars |
|
|
47
|
-
|
|
|
62
|
+
| Functional (`--active` or test cases) | Tools respond to valid arguments; results well-formed and matching their `outputSchema`; invalid arguments rejected gracefully; the server survives |
|
|
63
|
+
| Performance (never scored) | Start-up, latency percentiles, behaviour at 1, 5 and 20 concurrent callers, memory of the whole process tree |
|
|
48
64
|
|
|
49
|
-
Validated on
|
|
65
|
+
Validated on real public MCP servers before every release ([docs/VALIDATION.md](docs/VALIDATION.md)), including active
|
|
66
|
+
runs, with no false failures. Each check cites the specification clause or OWASP item it verifies.
|
|
50
67
|
|
|
51
68
|
## Options
|
|
52
69
|
|
package/package.json
CHANGED