@agent-custody/receipts 0.14.0 → 0.16.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 +48 -21
- package/dist/acs.d.ts +47 -0
- package/dist/acs.js +235 -0
- package/dist/addresses.d.ts +6 -0
- package/dist/addresses.js +90 -0
- package/dist/check.d.ts +10 -0
- package/dist/check.js +179 -3
- package/dist/cli.js +147 -12
- package/dist/config.d.ts +198 -1
- package/dist/config.js +154 -3
- package/dist/console.js +16 -7
- package/dist/deny-report.js +1 -1
- package/dist/door.d.ts +203 -0
- package/dist/door.js +712 -0
- package/dist/egress-draft.d.ts +43 -0
- package/dist/egress-draft.js +153 -0
- package/dist/egress.d.ts +116 -0
- package/dist/egress.js +585 -0
- package/dist/export.d.ts +39 -0
- package/dist/export.js +95 -0
- package/dist/gateway.js +53 -21
- package/dist/index.d.ts +15 -0
- package/dist/index.js +10 -0
- package/dist/issue.js +5 -65
- package/dist/lock.d.ts +12 -0
- package/dist/lock.js +124 -0
- package/dist/log.d.ts +11 -5
- package/dist/log.js +63 -43
- package/dist/opa-server.d.ts +34 -0
- package/dist/opa-server.js +93 -0
- package/dist/policy-rego.d.ts +30 -0
- package/dist/policy-rego.js +116 -0
- package/dist/portal.js +147 -41
- package/dist/pr-summary.d.ts +25 -0
- package/dist/pr-summary.js +87 -0
- package/dist/receipt.d.ts +8 -2
- package/dist/retention.d.ts +1 -1
- package/dist/retention.js +14 -4
- package/dist/sdk/index.js +10 -3
- package/dist/simulate.d.ts +3 -1
- package/dist/simulate.js +15 -7
- package/dist/verify.js +35 -4
- package/docs/acs.md +107 -0
- package/docs/configuration.md +3 -3
- package/docs/door-signals.md +66 -0
- package/docs/door.md +168 -0
- package/docs/egress.md +177 -0
- package/docs/github-action.md +164 -0
- package/docs/policies.md +112 -1
- package/docs/sdk.md +25 -9
- package/docs/threat-model.md +1 -1
- package/docs/tutorials.md +7 -0
- package/docs/usage.md +2 -2
- package/docs/verification.md +16 -2
- package/package.json +14 -13
- package/templates/claude-code.cedar +287 -10
- package/vectors/audit.json +27 -27
- package/vectors/canonical.json +5 -5
- package/vectors/merkle.json +123 -0
- package/vectors/receipts.json +1951 -1005
package/docs/usage.md
CHANGED
|
@@ -148,7 +148,7 @@ The grant is checked on every call, not only when the session opens: a call afte
|
|
|
148
148
|
|
|
149
149
|
The outbox is appended in the order of the signed statements' timestamps, oldest first. A log refusal stops the flush, so one receipt that the log refuses holds the receipts after it. `GET /health` on the HTTP gateway reports `pendingReceipts`. Only a gateway that serves (stdio, `--http`, `--a2a`) runs the flush, at start and every 30 seconds; `check`, `reconcile`, and the other commands never append the outbox. A gateway that stops waits for a flush that runs. A gateway that stops before the log takes the receipt keeps the outbox on disk and appends it on the next start. The gateway writes the outbox entry to disk, and syncs the file and its directory, before the agent gets the result.
|
|
150
150
|
|
|
151
|
-
Several gateways, or a gateway and a command, can share one `receipts/` directory. A flush takes the lock file `receipts/outbox/.lock` with an exclusive create. When another process holds the lock, the flush does nothing and reports the entries as `pending`. The gateway breaks a lock whose owner process no longer runs on this host,
|
|
151
|
+
Several gateways, or a gateway and a command, can share one `receipts/` directory. A flush takes the lock file `receipts/outbox/.lock` with an exclusive create. When another process holds the lock, the flush does nothing and reports the entries as `pending`. The gateway breaks a lock whose owner process no longer runs on this host. It never breaks the lock of a live process on this host. It breaks the lock of a process on another host, or a lock file with no readable owner, when nobody has touched it for 15 minutes (one minute for a file with no owner). It uses the same break procedure as the local log ([sdk.md](sdk.md)).
|
|
152
152
|
|
|
153
153
|
When the log takes a receipt, the gateway records the log's answer in the outbox entry before it writes the bundle. If the bundle write then fails (a full disk, a permission error), the gateway prints the error on stderr, and the next flush writes the bundle from the recorded answer and does not append the leaf again. A process that dies between the append and that record appends the leaf again on the next flush; the log then holds it twice, and either copy proves the receipt. A gateway that dies after the forward and before the outbox write leaves no receipt; `precommit` is the guard for the calls where that matters. Before the gateway appends an outbox entry, it checks the entry. It renames an entry to `<name>.bad`, does not append it, and prints a warning, when the file is damaged, when the entry carries this gateway's key id but the signature does not verify, or when the receipt id in the statement is not the id in the file name. An entry that another key signed (a rotated gateway key, or a restored backup) is not appended, is not called forged, and stays in the outbox; the gateway prints a warning on each flush. Restore the key that signed it, or move the entry away. Until the log takes a pending receipt, `receipts/<id>.json` does not exist, so `verify`, `explain`, `blast`, the review console, and `prune` do not see the call yet.
|
|
154
154
|
|
|
@@ -253,7 +253,7 @@ A reviewer verifies such a receipt three ways:
|
|
|
253
253
|
- With the key: `agent-custody verify ... --capture-key-env AGENT_CUSTODY_CAPTURE_KEY` decrypts every encrypted value, checks each against its commitment, and recomputes the digests and the upstream's signature from the real values. A key that is not the one the values were encrypted under fails the checks, naming the key id, rather than passing them as committed.
|
|
254
254
|
- With a disclosure: `agent-custody verify ... --disclose disclosure.json` does the same from a file holding, at each withheld path, the real value and the salt its commitment was made with: `{ "receiptId", "request": { "args": { "$rest": { "$custody": "disclosed", "salt": "<hex>", "value": { "reason": "…" } } } }, "execution": { "result": { "$rest": { … } }, "error", "upstream": { "rawBody", "signature", "bind" } }, "policy": { "errors" }, "facts": { "<name>": { "value": { "$rest": { … } }, "args": { … }, "resultDigest" } } }`, any part of it. A disclosed `$rest` is folded back into its object before the digest is recomputed. A value without its salt cannot be checked and is refused as such. A disclosure that contradicts a commitment fails the check with the path named, a fact's value included: a reviewer cannot be handed a false policy fact. A disclosure for another receipt is refused.
|
|
255
255
|
|
|
256
|
-
`agent-custody reveal receipts/<id>.json --capture-key-env AGENT_CUSTODY_CAPTURE_KEY --issuer-key keys/gateway.pub --out disclosure.json` writes that disclosure from the key, every encrypted value decrypted and checked against its commitment, with its salt. The bundle must verify against the issuer key given, and each ciphertext is bound to its receipt and path, so a bundle someone assembled around another receipt's ciphertexts reveals nothing. The file is written owner-only and never through a symlink. A value withheld as a digest only carries nothing to reveal, and the command says which paths it could not reveal. With `--include-salts` it also writes, at each such path, the salt from the issuer's salts file beside the receipt, for whoever holds the value to add `value` beside; a file with a salt and no value does not verify, so it cannot be handed over unfinished by mistake. Hand the finished file to the reviewer with the receipt, never the salts file.
|
|
256
|
+
`agent-custody reveal receipts/<id>.json --capture-key-env AGENT_CUSTODY_CAPTURE_KEY --issuer-key keys/gateway.pub --out disclosure.json` writes that disclosure from the key, every encrypted value decrypted and checked against its commitment, with its salt. The bundle must verify against the issuer key given, and each ciphertext is bound to its receipt and path, so a bundle someone assembled around another receipt's ciphertexts reveals nothing. The file is written owner-only and never through a symlink. A value withheld as a digest only carries nothing to reveal, and the command says which paths it could not reveal. With `--include-salts` it also writes, at each such path, the salt from the issuer's salts file beside the receipt, for whoever holds the value to add `value` beside; a file with a salt and no value does not verify, so it cannot be handed over unfinished by mistake. Hand the finished file to the reviewer with the receipt, never the salts file. To put receipts into a pull request, use `agent-custody export`: it copies only the receipts that keep their values private, and never the salts ([receipts on a pull request](github-action.md)).
|
|
257
257
|
|
|
258
258
|
The salts file, `receipts/salts/<id>.json`, is written for the owner alone (mode 0600 in a 0700 directory) and is as sensitive as the values: with it a guess can be confirmed. In mode `digest` it is also the only copy of each salt: lose it, and nobody can disclose those values again, not even the party that holds them, since a value alone cannot be checked against its commitment; the receipt then verifies only as committed. Back the directory up with the receipts, under the same access control as the values themselves. Mode `encrypted` carries each salt inside the ciphertext and nowhere else (the salts file holds only the digest-only ones), so the key alone recovers everything; choose it when a key is easier to keep safe than a directory of files. The key must be 32 random bytes: a reviewer sees its sha256 as `keyid` in every encrypted commitment, which is harmless for a random key and an offline oracle for a key derived from a passphrase. `agent-custody prune` removes the salts and the pre-committed authorization with the receipt.
|
|
259
259
|
|
package/docs/verification.md
CHANGED
|
@@ -69,16 +69,28 @@ execution observed executed
|
|
|
69
69
|
|
|
70
70
|
A refused call's `execution` row carries the reason the receipt records, for example `denied: delegation grant has been revoked`, and so does a `withheld` one. Under a capture rule the reason is a commitment, and the row says `(reason withheld under the capture rule)` rather than printing it.
|
|
71
71
|
|
|
72
|
+
## A directory of receipts, as a Markdown table
|
|
73
|
+
|
|
74
|
+
`verify --markdown <dir> --issuer-key <pub>` verifies every bundle in a directory and prints one table: the receipt id, the tool, the status (`executed`, `denied`, `failed`, `error`, `withheld`), and `verified` or the names of the failed checks. It takes the same key and log options as `verify`. It reads regular `.json` files only, not symbolic links in the directory; it follows a link that is itself the file argument or the directory argument, and the table shows only fixed error text or verified fields. It does not combine with `--json` or `--disclose`. The exit code is 1 when one receipt does not verify and when the directory holds no receipt. The [GitHub Action](github-action.md) posts this table on a pull request. A receipt that goes into a repository publishes its arguments and result unless a capture rule withholds them; that page says how to commit private receipts.
|
|
75
|
+
|
|
72
76
|
## What each check means
|
|
73
77
|
|
|
74
78
|
| check | what it establishes | what a failure usually means |
|
|
75
79
|
| --- | --- | --- |
|
|
76
80
|
| receipt signature (issuer key) | the bundle's envelope was signed by a key you trust as an issuer and has not changed since | edited receipt, or an issuer key you do not trust |
|
|
77
81
|
| receipt payload type | the payload is an in-toto Statement with this project's predicate type | wrong file, or a different envelope replayed as a receipt |
|
|
78
|
-
| issuer kind is known | the receipt says whether a gateway or an SDK produced it; the detail shows which, and the framework | a predicate this verifier does not understand |
|
|
82
|
+
| issuer kind is known | the receipt says whether a gateway, a door, an egress witness, an ACS Guardian, or an SDK produced it; the detail shows which, and the framework | a predicate this verifier does not understand |
|
|
79
83
|
| issuer keyid matches signer | the receipt's own claim of who signed it matches the actual signature | mixed-up or forged predicate |
|
|
80
84
|
| gateway receipt carries a delegation | gateway receipts always embed the signed grant they enforced | an SDK receipt relabelled as gateway |
|
|
81
85
|
| gateway receipt carries a policy decision | gateway receipts always record the Cedar decision | same |
|
|
86
|
+
| door receipt carries a policy decision | a door decides every arrival by policy; it carries a grant only when the arrival presented one, so there is no delegation check for it | a record-only receipt relabelled as door |
|
|
87
|
+
| egress receipt carries a policy decision | an egress witness decides every connection by policy | a record-only receipt relabelled as egress |
|
|
88
|
+
| egress destination observed | the receipt's tool, `host:port`, is the witness's observation and equals the destination fact the policy decided on; an observed bypass of the gateway, not a record of what was sent | a receipt re-signed to name another destination |
|
|
89
|
+
| egress open committed before relaying | a relayed connection carries the authorization the witness committed to the log before any byte moved | a bypass with no record until it closed, or a receipt re-signed to drop the commitment |
|
|
90
|
+
| egress peer matches the destination | for an IP literal, the witness connected to that very address; for a host name, to a public address | a permit for a public name turned into a request to the metadata service or the private network, or a receipt re-signed to show another peer |
|
|
91
|
+
| egress relayed only for a checked agent | a connection that was relayed (executed, failed, or error) names an agent whose proxy credential the witness checked (`observed`) | an issuer that relayed for an unidentified agent, or a receipt re-signed to hide who it was |
|
|
92
|
+
| guardian receipt carries a policy decision | an ACS Guardian decides every step by policy | a record-only receipt relabelled as guardian |
|
|
93
|
+
| guardian decided, executed nothing | an allowed step is `withheld` (a Guardian forwards nothing) and a denied one is `denied`; the agent asked, reports the call itself, and is trusted to honor the answer ([the ACS Guardian](acs.md)) | a guardian receipt re-signed to claim the call was executed |
|
|
82
94
|
| delegation signature (principal key) | the embedded grant was signed by a key you trust as a principal | a grant the principal never issued |
|
|
83
95
|
| delegation chain to the principal | only when the grant embeds a parent: every link is signed by the key its parent names, holds no scope its parent lacks, sits inside its parent's window, and names the same principal, up to three delegations deep | a sub-agent given more than its delegator had, a link signed by the wrong key, a chain that never reaches a trusted principal |
|
|
84
96
|
| delegation binds principal and agent | the grant names the same principal and agent the receipt names, and the principal keyid matches | a valid grant for someone else, spliced in |
|
|
@@ -204,6 +216,8 @@ The remote log also serves `GET /head`, its current tree head signed with the lo
|
|
|
204
216
|
|
|
205
217
|
`vectors/` in the package holds fixed receipts, keys, logs, proofs, and the verdicts this verifier produces for them, generated by `bun run vectors` and checked by the test suite on every run. A verifier written elsewhere proves it agrees by reproducing every verdict. They are published at [agent-custody.dev/receipt/vectors](https://agent-custody.dev/receipt/vectors).
|
|
206
218
|
|
|
219
|
+
The Lean 4 model in [`spec/lean`](../../../spec/lean/README.md) checks the Merkle vectors as a third implementation. It also proves the inclusion check of `log.ts` complete and sound: for every tree, each audit path verifies, and an accepted proof places the leaf at its index unless the node hash has a collision. A differential fuzzer in `spec/lean/fuzz` gives the model, `log.ts`, the browser verifier, and the Python verifier the same tens of thousands of generated proofs, for trees of up to 2^53 − 1 leaves, and fails when any two disagree.
|
|
220
|
+
|
|
207
221
|
## Attested execution
|
|
208
222
|
|
|
209
223
|
On a gateway receipt the execution is `observed`: the gateway saw what the upstream returned. An upstream that holds a key can do better and sign its result for the receipt being issued; the gateway embeds the signature, and a verifier given the upstream's public key checks it and reports the execution as `attested` by that key. The check binds the signature to the receipt id, the tool, and the digest of the result content, so a signature cannot be moved between receipts.
|
|
@@ -228,5 +242,5 @@ Receipts hold values: request arguments, results, facts. The log is append-only
|
|
|
228
242
|
node src/cli.ts prune --log log.jsonl --before 2026-06-01T00:00:00Z --receipts receipts
|
|
229
243
|
```
|
|
230
244
|
|
|
231
|
-
Every leaf whose receipt is older than the cutoff is replaced in the file by its leaf hash, and the receipt's bundle file is deleted. The Merkle tree is built from leaf hashes, so every root, every inclusion proof, and every consistency proof for the remaining leaves is unchanged, and `--log` verification of later receipts still passes. Someone who kept a pruned receipt's bundle can still prove it was in the log; nobody holding only the log can recover what it said. Run it on the same schedule as memory retention.
|
|
245
|
+
Every leaf whose receipt is older than the cutoff is replaced in the file by its leaf hash, and the receipt's bundle file is deleted. The Merkle tree is built from leaf hashes, so every root, every inclusion proof, and every consistency proof for the remaining leaves is unchanged, and `--log` verification of later receipts still passes. Someone who kept a pruned receipt's bundle can still prove it was in the log; nobody holding only the log can recover what it said. `prune` holds the log lock (`<log>.lock`) while it rewrites the file, so a process that appends at the same time waits, and its leaf is kept. `prune` waits up to 20 seconds for the lock. Run it on the same schedule as memory retention.
|
|
232
246
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-custody/receipts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"mcpName": "io.github.svayatta/agent-custody",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Proof of what your AI agents did. Give your agents real power, without losing control of them: signed, verifiable receipts for tool calls, an MCP gateway with Cedar or Rego policy, and a Merkle transparency log.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -72,22 +72,23 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@cedar-policy/cedar-wasm": "4.12.0",
|
|
75
|
-
"@modelcontextprotocol/sdk": "
|
|
76
|
-
"
|
|
75
|
+
"@modelcontextprotocol/sdk": "1.30.0",
|
|
76
|
+
"@open-policy-agent/opa-wasm": "1.10.0",
|
|
77
|
+
"zod": "4.5.4"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@electric-sql/pglite": "0.5.8",
|
|
80
|
-
"@langchain/core": "
|
|
81
|
-
"@node-saml/node-saml": "
|
|
82
|
-
"@openai/agents": "
|
|
83
|
-
"@types/node": "
|
|
84
|
-
"ai": "
|
|
81
|
+
"@langchain/core": "1.2.9",
|
|
82
|
+
"@node-saml/node-saml": "5.1.0",
|
|
83
|
+
"@openai/agents": "0.18.0",
|
|
84
|
+
"@types/node": "26.4.1",
|
|
85
|
+
"ai": "7.0.93",
|
|
85
86
|
"langchain": "1.5.15",
|
|
86
|
-
"tsx": "
|
|
87
|
-
"typescript": "
|
|
87
|
+
"tsx": "4.23.13",
|
|
88
|
+
"typescript": "7.0.2",
|
|
88
89
|
"viem": "2.57.4",
|
|
89
|
-
"vitest": "
|
|
90
|
-
"xml-crypto": "
|
|
90
|
+
"vitest": "5.0.0",
|
|
91
|
+
"xml-crypto": "6.4.0"
|
|
91
92
|
},
|
|
92
93
|
"peerDependencies": {
|
|
93
94
|
"@langchain/core": ">=1.0.0",
|
|
@@ -3,24 +3,81 @@
|
|
|
3
3
|
// A pattern matches the text of the command. It is not a sandbox: it catches the plain form of each command.
|
|
4
4
|
// Each rule has a `@reason`. The hook shows it to the agent and to the person who reads the session.
|
|
5
5
|
// The `like` operator is case-sensitive, and `*` is its only wildcard, so each SQL keyword has a rule for each case.
|
|
6
|
+
// A rule id is the place of the rule in this file (policy1, policy2, and so on). Change a rule in place. Add a new rule
|
|
7
|
+
// at the end, so that an id keeps naming the same rule.
|
|
6
8
|
permit(principal, action, resource);
|
|
7
9
|
|
|
8
10
|
// Rewriting shared history.
|
|
9
11
|
// `--force-with-lease` is a force push that fails when the remote has new commits. The policy allows it.
|
|
10
|
-
// A
|
|
11
|
-
//
|
|
12
|
+
// A force push has `--force`, `-f`, or a refspec that starts with `+`, such as `git push origin +main`. The push can
|
|
13
|
+
// be `git push` or `git -C <dir> push`.
|
|
14
|
+
// `like` cannot find where one shell command ends. So a flag counts in three cases: it is the first argument of the
|
|
15
|
+
// push, or no `&`, `|`, `;`, or newline follows the push, or one of them follows the flag. In
|
|
16
|
+
// `git push origin main && npm install --force` the flag comes after the operator, and the command passes. A chain with
|
|
17
|
+
// two operators after the push can be denied by mistake: `git push && npm install --force && echo done`.
|
|
18
|
+
|
|
12
19
|
@reason("force push rewrites shared history (git push --force-with-lease is allowed)")
|
|
13
20
|
forbid(principal, action == Action::"Bash", resource)
|
|
14
21
|
when {
|
|
15
22
|
context.args has command && (
|
|
16
|
-
context.args.command like "*git push
|
|
17
|
-
|| context.args.command like "*git push
|
|
23
|
+
context.args.command like "*git push --force *"
|
|
24
|
+
|| context.args.command like "*git push --force"
|
|
18
25
|
|| context.args.command like "*git push -f*"
|
|
19
|
-
|| context.args.command like "*git push
|
|
26
|
+
|| context.args.command like "*git push +*"
|
|
27
|
+
|| context.args.command like "*git -* push --force *"
|
|
28
|
+
|| context.args.command like "*git -* push --force"
|
|
29
|
+
|| context.args.command like "*git -* push -f*"
|
|
30
|
+
|| context.args.command like "*git -* push +*"
|
|
31
|
+
|| (!(context.args.command like "*git push*&*" || context.args.command like "*git push*|*" || context.args.command like "*git push*;*" || context.args.command like "*git push*\n*") && (
|
|
32
|
+
context.args.command like "*git push* --force *"
|
|
33
|
+
|| context.args.command like "*git push* --force"
|
|
34
|
+
|| context.args.command like "*git push* -f*"
|
|
35
|
+
|| context.args.command like "*git push* +*"
|
|
36
|
+
))
|
|
37
|
+
|| (!(context.args.command like "*git -* push*&*" || context.args.command like "*git -* push*|*" || context.args.command like "*git -* push*;*" || context.args.command like "*git -* push*\n*") && (
|
|
38
|
+
context.args.command like "*git -* push* --force *"
|
|
39
|
+
|| context.args.command like "*git -* push* --force"
|
|
40
|
+
|| context.args.command like "*git -* push* -f*"
|
|
41
|
+
|| context.args.command like "*git -* push* +*"
|
|
42
|
+
))
|
|
43
|
+
|| context.args.command like "*git push* --force *&*"
|
|
44
|
+
|| context.args.command like "*git push* --force&*"
|
|
45
|
+
|| context.args.command like "*git push* -f*&*"
|
|
46
|
+
|| context.args.command like "*git push* +*&*"
|
|
47
|
+
|| context.args.command like "*git push* --force *|*"
|
|
48
|
+
|| context.args.command like "*git push* --force|*"
|
|
49
|
+
|| context.args.command like "*git push* -f*|*"
|
|
50
|
+
|| context.args.command like "*git push* +*|*"
|
|
51
|
+
|| context.args.command like "*git push* --force *;*"
|
|
52
|
+
|| context.args.command like "*git push* --force;*"
|
|
53
|
+
|| context.args.command like "*git push* -f*;*"
|
|
54
|
+
|| context.args.command like "*git push* +*;*"
|
|
55
|
+
|| context.args.command like "*git push* --force *\n*"
|
|
56
|
+
|| context.args.command like "*git push* --force\n*"
|
|
57
|
+
|| context.args.command like "*git push* -f*\n*"
|
|
58
|
+
|| context.args.command like "*git push* +*\n*"
|
|
59
|
+
|| context.args.command like "*git -* push* --force *&*"
|
|
60
|
+
|| context.args.command like "*git -* push* --force&*"
|
|
61
|
+
|| context.args.command like "*git -* push* -f*&*"
|
|
62
|
+
|| context.args.command like "*git -* push* +*&*"
|
|
63
|
+
|| context.args.command like "*git -* push* --force *|*"
|
|
64
|
+
|| context.args.command like "*git -* push* --force|*"
|
|
65
|
+
|| context.args.command like "*git -* push* -f*|*"
|
|
66
|
+
|| context.args.command like "*git -* push* +*|*"
|
|
67
|
+
|| context.args.command like "*git -* push* --force *;*"
|
|
68
|
+
|| context.args.command like "*git -* push* --force;*"
|
|
69
|
+
|| context.args.command like "*git -* push* -f*;*"
|
|
70
|
+
|| context.args.command like "*git -* push* +*;*"
|
|
71
|
+
|| context.args.command like "*git -* push* --force *\n*"
|
|
72
|
+
|| context.args.command like "*git -* push* --force\n*"
|
|
73
|
+
|| context.args.command like "*git -* push* -f*\n*"
|
|
74
|
+
|| context.args.command like "*git -* push* +*\n*"
|
|
20
75
|
)
|
|
21
76
|
};
|
|
22
77
|
|
|
23
78
|
// Deleting the root directory or the home directory.
|
|
79
|
+
// The flags are -rf, -fr, -Rf, -fR, and the separate forms -r -f, -f -r, -R -f, -f -R. The target is the directory, the
|
|
80
|
+
// directory with more arguments after it, or all its files (`/*`). The home directory may be quoted: `"$HOME"`.
|
|
24
81
|
@reason("rm -rf on the root directory")
|
|
25
82
|
forbid(principal, action == Action::"Bash", resource)
|
|
26
83
|
when {
|
|
@@ -31,6 +88,24 @@ when {
|
|
|
31
88
|
|| context.args.command like "*rm -fr /"
|
|
32
89
|
|| context.args.command like "*rm -fr / *"
|
|
33
90
|
|| context.args.command like "*rm -fr /\*"
|
|
91
|
+
|| context.args.command like "*rm -Rf /"
|
|
92
|
+
|| context.args.command like "*rm -Rf / *"
|
|
93
|
+
|| context.args.command like "*rm -Rf /\*"
|
|
94
|
+
|| context.args.command like "*rm -fR /"
|
|
95
|
+
|| context.args.command like "*rm -fR / *"
|
|
96
|
+
|| context.args.command like "*rm -fR /\*"
|
|
97
|
+
|| context.args.command like "*rm -r -f /"
|
|
98
|
+
|| context.args.command like "*rm -r -f / *"
|
|
99
|
+
|| context.args.command like "*rm -r -f /\*"
|
|
100
|
+
|| context.args.command like "*rm -f -r /"
|
|
101
|
+
|| context.args.command like "*rm -f -r / *"
|
|
102
|
+
|| context.args.command like "*rm -f -r /\*"
|
|
103
|
+
|| context.args.command like "*rm -R -f /"
|
|
104
|
+
|| context.args.command like "*rm -R -f / *"
|
|
105
|
+
|| context.args.command like "*rm -R -f /\*"
|
|
106
|
+
|| context.args.command like "*rm -f -R /"
|
|
107
|
+
|| context.args.command like "*rm -f -R / *"
|
|
108
|
+
|| context.args.command like "*rm -f -R /\*"
|
|
34
109
|
)
|
|
35
110
|
};
|
|
36
111
|
|
|
@@ -48,6 +123,36 @@ when {
|
|
|
48
123
|
|| context.args.command like "*rm -fr ~/"
|
|
49
124
|
|| context.args.command like "*rm -fr ~/ *"
|
|
50
125
|
|| context.args.command like "*rm -fr ~/\*"
|
|
126
|
+
|| context.args.command like "*rm -Rf ~"
|
|
127
|
+
|| context.args.command like "*rm -Rf ~ *"
|
|
128
|
+
|| context.args.command like "*rm -Rf ~/"
|
|
129
|
+
|| context.args.command like "*rm -Rf ~/ *"
|
|
130
|
+
|| context.args.command like "*rm -Rf ~/\*"
|
|
131
|
+
|| context.args.command like "*rm -fR ~"
|
|
132
|
+
|| context.args.command like "*rm -fR ~ *"
|
|
133
|
+
|| context.args.command like "*rm -fR ~/"
|
|
134
|
+
|| context.args.command like "*rm -fR ~/ *"
|
|
135
|
+
|| context.args.command like "*rm -fR ~/\*"
|
|
136
|
+
|| context.args.command like "*rm -r -f ~"
|
|
137
|
+
|| context.args.command like "*rm -r -f ~ *"
|
|
138
|
+
|| context.args.command like "*rm -r -f ~/"
|
|
139
|
+
|| context.args.command like "*rm -r -f ~/ *"
|
|
140
|
+
|| context.args.command like "*rm -r -f ~/\*"
|
|
141
|
+
|| context.args.command like "*rm -f -r ~"
|
|
142
|
+
|| context.args.command like "*rm -f -r ~ *"
|
|
143
|
+
|| context.args.command like "*rm -f -r ~/"
|
|
144
|
+
|| context.args.command like "*rm -f -r ~/ *"
|
|
145
|
+
|| context.args.command like "*rm -f -r ~/\*"
|
|
146
|
+
|| context.args.command like "*rm -R -f ~"
|
|
147
|
+
|| context.args.command like "*rm -R -f ~ *"
|
|
148
|
+
|| context.args.command like "*rm -R -f ~/"
|
|
149
|
+
|| context.args.command like "*rm -R -f ~/ *"
|
|
150
|
+
|| context.args.command like "*rm -R -f ~/\*"
|
|
151
|
+
|| context.args.command like "*rm -f -R ~"
|
|
152
|
+
|| context.args.command like "*rm -f -R ~ *"
|
|
153
|
+
|| context.args.command like "*rm -f -R ~/"
|
|
154
|
+
|| context.args.command like "*rm -f -R ~/ *"
|
|
155
|
+
|| context.args.command like "*rm -f -R ~/\*"
|
|
51
156
|
)
|
|
52
157
|
};
|
|
53
158
|
|
|
@@ -60,21 +165,193 @@ when {
|
|
|
60
165
|
|| context.args.command like "*rm -rf $HOME/"
|
|
61
166
|
|| context.args.command like "*rm -rf $HOME/ *"
|
|
62
167
|
|| context.args.command like "*rm -rf $HOME/\*"
|
|
63
|
-
|| context.args.command like "*rm -fr $HOME"
|
|
64
|
-
|| context.args.command like "*rm -fr $HOME *"
|
|
65
|
-
|| context.args.command like "*rm -fr $HOME/"
|
|
66
|
-
|| context.args.command like "*rm -fr $HOME/ *"
|
|
67
|
-
|| context.args.command like "*rm -fr $HOME/\*"
|
|
68
168
|
|| context.args.command like "*rm -rf ${HOME}"
|
|
69
169
|
|| context.args.command like "*rm -rf ${HOME} *"
|
|
70
170
|
|| context.args.command like "*rm -rf ${HOME}/"
|
|
71
171
|
|| context.args.command like "*rm -rf ${HOME}/ *"
|
|
72
172
|
|| context.args.command like "*rm -rf ${HOME}/\*"
|
|
173
|
+
|| context.args.command like "*rm -rf \"$HOME\""
|
|
174
|
+
|| context.args.command like "*rm -rf \"$HOME\" *"
|
|
175
|
+
|| context.args.command like "*rm -rf \"$HOME\"/"
|
|
176
|
+
|| context.args.command like "*rm -rf \"$HOME\"/ *"
|
|
177
|
+
|| context.args.command like "*rm -rf \"$HOME\"/\*"
|
|
178
|
+
|| context.args.command like "*rm -rf \"${HOME}\""
|
|
179
|
+
|| context.args.command like "*rm -rf \"${HOME}\" *"
|
|
180
|
+
|| context.args.command like "*rm -rf \"${HOME}\"/"
|
|
181
|
+
|| context.args.command like "*rm -rf \"${HOME}\"/ *"
|
|
182
|
+
|| context.args.command like "*rm -rf \"${HOME}\"/\*"
|
|
183
|
+
|| context.args.command like "*rm -rf \"$HOME/\""
|
|
184
|
+
|| context.args.command like "*rm -rf \"$HOME/\" *"
|
|
185
|
+
|| context.args.command like "*rm -rf \"${HOME}/\""
|
|
186
|
+
|| context.args.command like "*rm -rf \"${HOME}/\" *"
|
|
187
|
+
|| context.args.command like "*rm -fr $HOME"
|
|
188
|
+
|| context.args.command like "*rm -fr $HOME *"
|
|
189
|
+
|| context.args.command like "*rm -fr $HOME/"
|
|
190
|
+
|| context.args.command like "*rm -fr $HOME/ *"
|
|
191
|
+
|| context.args.command like "*rm -fr $HOME/\*"
|
|
73
192
|
|| context.args.command like "*rm -fr ${HOME}"
|
|
74
193
|
|| context.args.command like "*rm -fr ${HOME} *"
|
|
75
194
|
|| context.args.command like "*rm -fr ${HOME}/"
|
|
76
195
|
|| context.args.command like "*rm -fr ${HOME}/ *"
|
|
77
196
|
|| context.args.command like "*rm -fr ${HOME}/\*"
|
|
197
|
+
|| context.args.command like "*rm -fr \"$HOME\""
|
|
198
|
+
|| context.args.command like "*rm -fr \"$HOME\" *"
|
|
199
|
+
|| context.args.command like "*rm -fr \"$HOME\"/"
|
|
200
|
+
|| context.args.command like "*rm -fr \"$HOME\"/ *"
|
|
201
|
+
|| context.args.command like "*rm -fr \"$HOME\"/\*"
|
|
202
|
+
|| context.args.command like "*rm -fr \"${HOME}\""
|
|
203
|
+
|| context.args.command like "*rm -fr \"${HOME}\" *"
|
|
204
|
+
|| context.args.command like "*rm -fr \"${HOME}\"/"
|
|
205
|
+
|| context.args.command like "*rm -fr \"${HOME}\"/ *"
|
|
206
|
+
|| context.args.command like "*rm -fr \"${HOME}\"/\*"
|
|
207
|
+
|| context.args.command like "*rm -fr \"$HOME/\""
|
|
208
|
+
|| context.args.command like "*rm -fr \"$HOME/\" *"
|
|
209
|
+
|| context.args.command like "*rm -fr \"${HOME}/\""
|
|
210
|
+
|| context.args.command like "*rm -fr \"${HOME}/\" *"
|
|
211
|
+
|| context.args.command like "*rm -Rf $HOME"
|
|
212
|
+
|| context.args.command like "*rm -Rf $HOME *"
|
|
213
|
+
|| context.args.command like "*rm -Rf $HOME/"
|
|
214
|
+
|| context.args.command like "*rm -Rf $HOME/ *"
|
|
215
|
+
|| context.args.command like "*rm -Rf $HOME/\*"
|
|
216
|
+
|| context.args.command like "*rm -Rf ${HOME}"
|
|
217
|
+
|| context.args.command like "*rm -Rf ${HOME} *"
|
|
218
|
+
|| context.args.command like "*rm -Rf ${HOME}/"
|
|
219
|
+
|| context.args.command like "*rm -Rf ${HOME}/ *"
|
|
220
|
+
|| context.args.command like "*rm -Rf ${HOME}/\*"
|
|
221
|
+
|| context.args.command like "*rm -Rf \"$HOME\""
|
|
222
|
+
|| context.args.command like "*rm -Rf \"$HOME\" *"
|
|
223
|
+
|| context.args.command like "*rm -Rf \"$HOME\"/"
|
|
224
|
+
|| context.args.command like "*rm -Rf \"$HOME\"/ *"
|
|
225
|
+
|| context.args.command like "*rm -Rf \"$HOME\"/\*"
|
|
226
|
+
|| context.args.command like "*rm -Rf \"${HOME}\""
|
|
227
|
+
|| context.args.command like "*rm -Rf \"${HOME}\" *"
|
|
228
|
+
|| context.args.command like "*rm -Rf \"${HOME}\"/"
|
|
229
|
+
|| context.args.command like "*rm -Rf \"${HOME}\"/ *"
|
|
230
|
+
|| context.args.command like "*rm -Rf \"${HOME}\"/\*"
|
|
231
|
+
|| context.args.command like "*rm -Rf \"$HOME/\""
|
|
232
|
+
|| context.args.command like "*rm -Rf \"$HOME/\" *"
|
|
233
|
+
|| context.args.command like "*rm -Rf \"${HOME}/\""
|
|
234
|
+
|| context.args.command like "*rm -Rf \"${HOME}/\" *"
|
|
235
|
+
|| context.args.command like "*rm -fR $HOME"
|
|
236
|
+
|| context.args.command like "*rm -fR $HOME *"
|
|
237
|
+
|| context.args.command like "*rm -fR $HOME/"
|
|
238
|
+
|| context.args.command like "*rm -fR $HOME/ *"
|
|
239
|
+
|| context.args.command like "*rm -fR $HOME/\*"
|
|
240
|
+
|| context.args.command like "*rm -fR ${HOME}"
|
|
241
|
+
|| context.args.command like "*rm -fR ${HOME} *"
|
|
242
|
+
|| context.args.command like "*rm -fR ${HOME}/"
|
|
243
|
+
|| context.args.command like "*rm -fR ${HOME}/ *"
|
|
244
|
+
|| context.args.command like "*rm -fR ${HOME}/\*"
|
|
245
|
+
|| context.args.command like "*rm -fR \"$HOME\""
|
|
246
|
+
|| context.args.command like "*rm -fR \"$HOME\" *"
|
|
247
|
+
|| context.args.command like "*rm -fR \"$HOME\"/"
|
|
248
|
+
|| context.args.command like "*rm -fR \"$HOME\"/ *"
|
|
249
|
+
|| context.args.command like "*rm -fR \"$HOME\"/\*"
|
|
250
|
+
|| context.args.command like "*rm -fR \"${HOME}\""
|
|
251
|
+
|| context.args.command like "*rm -fR \"${HOME}\" *"
|
|
252
|
+
|| context.args.command like "*rm -fR \"${HOME}\"/"
|
|
253
|
+
|| context.args.command like "*rm -fR \"${HOME}\"/ *"
|
|
254
|
+
|| context.args.command like "*rm -fR \"${HOME}\"/\*"
|
|
255
|
+
|| context.args.command like "*rm -fR \"$HOME/\""
|
|
256
|
+
|| context.args.command like "*rm -fR \"$HOME/\" *"
|
|
257
|
+
|| context.args.command like "*rm -fR \"${HOME}/\""
|
|
258
|
+
|| context.args.command like "*rm -fR \"${HOME}/\" *"
|
|
259
|
+
|| context.args.command like "*rm -r -f $HOME"
|
|
260
|
+
|| context.args.command like "*rm -r -f $HOME *"
|
|
261
|
+
|| context.args.command like "*rm -r -f $HOME/"
|
|
262
|
+
|| context.args.command like "*rm -r -f $HOME/ *"
|
|
263
|
+
|| context.args.command like "*rm -r -f $HOME/\*"
|
|
264
|
+
|| context.args.command like "*rm -r -f ${HOME}"
|
|
265
|
+
|| context.args.command like "*rm -r -f ${HOME} *"
|
|
266
|
+
|| context.args.command like "*rm -r -f ${HOME}/"
|
|
267
|
+
|| context.args.command like "*rm -r -f ${HOME}/ *"
|
|
268
|
+
|| context.args.command like "*rm -r -f ${HOME}/\*"
|
|
269
|
+
|| context.args.command like "*rm -r -f \"$HOME\""
|
|
270
|
+
|| context.args.command like "*rm -r -f \"$HOME\" *"
|
|
271
|
+
|| context.args.command like "*rm -r -f \"$HOME\"/"
|
|
272
|
+
|| context.args.command like "*rm -r -f \"$HOME\"/ *"
|
|
273
|
+
|| context.args.command like "*rm -r -f \"$HOME\"/\*"
|
|
274
|
+
|| context.args.command like "*rm -r -f \"${HOME}\""
|
|
275
|
+
|| context.args.command like "*rm -r -f \"${HOME}\" *"
|
|
276
|
+
|| context.args.command like "*rm -r -f \"${HOME}\"/"
|
|
277
|
+
|| context.args.command like "*rm -r -f \"${HOME}\"/ *"
|
|
278
|
+
|| context.args.command like "*rm -r -f \"${HOME}\"/\*"
|
|
279
|
+
|| context.args.command like "*rm -r -f \"$HOME/\""
|
|
280
|
+
|| context.args.command like "*rm -r -f \"$HOME/\" *"
|
|
281
|
+
|| context.args.command like "*rm -r -f \"${HOME}/\""
|
|
282
|
+
|| context.args.command like "*rm -r -f \"${HOME}/\" *"
|
|
283
|
+
|| context.args.command like "*rm -f -r $HOME"
|
|
284
|
+
|| context.args.command like "*rm -f -r $HOME *"
|
|
285
|
+
|| context.args.command like "*rm -f -r $HOME/"
|
|
286
|
+
|| context.args.command like "*rm -f -r $HOME/ *"
|
|
287
|
+
|| context.args.command like "*rm -f -r $HOME/\*"
|
|
288
|
+
|| context.args.command like "*rm -f -r ${HOME}"
|
|
289
|
+
|| context.args.command like "*rm -f -r ${HOME} *"
|
|
290
|
+
|| context.args.command like "*rm -f -r ${HOME}/"
|
|
291
|
+
|| context.args.command like "*rm -f -r ${HOME}/ *"
|
|
292
|
+
|| context.args.command like "*rm -f -r ${HOME}/\*"
|
|
293
|
+
|| context.args.command like "*rm -f -r \"$HOME\""
|
|
294
|
+
|| context.args.command like "*rm -f -r \"$HOME\" *"
|
|
295
|
+
|| context.args.command like "*rm -f -r \"$HOME\"/"
|
|
296
|
+
|| context.args.command like "*rm -f -r \"$HOME\"/ *"
|
|
297
|
+
|| context.args.command like "*rm -f -r \"$HOME\"/\*"
|
|
298
|
+
|| context.args.command like "*rm -f -r \"${HOME}\""
|
|
299
|
+
|| context.args.command like "*rm -f -r \"${HOME}\" *"
|
|
300
|
+
|| context.args.command like "*rm -f -r \"${HOME}\"/"
|
|
301
|
+
|| context.args.command like "*rm -f -r \"${HOME}\"/ *"
|
|
302
|
+
|| context.args.command like "*rm -f -r \"${HOME}\"/\*"
|
|
303
|
+
|| context.args.command like "*rm -f -r \"$HOME/\""
|
|
304
|
+
|| context.args.command like "*rm -f -r \"$HOME/\" *"
|
|
305
|
+
|| context.args.command like "*rm -f -r \"${HOME}/\""
|
|
306
|
+
|| context.args.command like "*rm -f -r \"${HOME}/\" *"
|
|
307
|
+
|| context.args.command like "*rm -R -f $HOME"
|
|
308
|
+
|| context.args.command like "*rm -R -f $HOME *"
|
|
309
|
+
|| context.args.command like "*rm -R -f $HOME/"
|
|
310
|
+
|| context.args.command like "*rm -R -f $HOME/ *"
|
|
311
|
+
|| context.args.command like "*rm -R -f $HOME/\*"
|
|
312
|
+
|| context.args.command like "*rm -R -f ${HOME}"
|
|
313
|
+
|| context.args.command like "*rm -R -f ${HOME} *"
|
|
314
|
+
|| context.args.command like "*rm -R -f ${HOME}/"
|
|
315
|
+
|| context.args.command like "*rm -R -f ${HOME}/ *"
|
|
316
|
+
|| context.args.command like "*rm -R -f ${HOME}/\*"
|
|
317
|
+
|| context.args.command like "*rm -R -f \"$HOME\""
|
|
318
|
+
|| context.args.command like "*rm -R -f \"$HOME\" *"
|
|
319
|
+
|| context.args.command like "*rm -R -f \"$HOME\"/"
|
|
320
|
+
|| context.args.command like "*rm -R -f \"$HOME\"/ *"
|
|
321
|
+
|| context.args.command like "*rm -R -f \"$HOME\"/\*"
|
|
322
|
+
|| context.args.command like "*rm -R -f \"${HOME}\""
|
|
323
|
+
|| context.args.command like "*rm -R -f \"${HOME}\" *"
|
|
324
|
+
|| context.args.command like "*rm -R -f \"${HOME}\"/"
|
|
325
|
+
|| context.args.command like "*rm -R -f \"${HOME}\"/ *"
|
|
326
|
+
|| context.args.command like "*rm -R -f \"${HOME}\"/\*"
|
|
327
|
+
|| context.args.command like "*rm -R -f \"$HOME/\""
|
|
328
|
+
|| context.args.command like "*rm -R -f \"$HOME/\" *"
|
|
329
|
+
|| context.args.command like "*rm -R -f \"${HOME}/\""
|
|
330
|
+
|| context.args.command like "*rm -R -f \"${HOME}/\" *"
|
|
331
|
+
|| context.args.command like "*rm -f -R $HOME"
|
|
332
|
+
|| context.args.command like "*rm -f -R $HOME *"
|
|
333
|
+
|| context.args.command like "*rm -f -R $HOME/"
|
|
334
|
+
|| context.args.command like "*rm -f -R $HOME/ *"
|
|
335
|
+
|| context.args.command like "*rm -f -R $HOME/\*"
|
|
336
|
+
|| context.args.command like "*rm -f -R ${HOME}"
|
|
337
|
+
|| context.args.command like "*rm -f -R ${HOME} *"
|
|
338
|
+
|| context.args.command like "*rm -f -R ${HOME}/"
|
|
339
|
+
|| context.args.command like "*rm -f -R ${HOME}/ *"
|
|
340
|
+
|| context.args.command like "*rm -f -R ${HOME}/\*"
|
|
341
|
+
|| context.args.command like "*rm -f -R \"$HOME\""
|
|
342
|
+
|| context.args.command like "*rm -f -R \"$HOME\" *"
|
|
343
|
+
|| context.args.command like "*rm -f -R \"$HOME\"/"
|
|
344
|
+
|| context.args.command like "*rm -f -R \"$HOME\"/ *"
|
|
345
|
+
|| context.args.command like "*rm -f -R \"$HOME\"/\*"
|
|
346
|
+
|| context.args.command like "*rm -f -R \"${HOME}\""
|
|
347
|
+
|| context.args.command like "*rm -f -R \"${HOME}\" *"
|
|
348
|
+
|| context.args.command like "*rm -f -R \"${HOME}\"/"
|
|
349
|
+
|| context.args.command like "*rm -f -R \"${HOME}\"/ *"
|
|
350
|
+
|| context.args.command like "*rm -f -R \"${HOME}\"/\*"
|
|
351
|
+
|| context.args.command like "*rm -f -R \"$HOME/\""
|
|
352
|
+
|| context.args.command like "*rm -f -R \"$HOME/\" *"
|
|
353
|
+
|| context.args.command like "*rm -f -R \"${HOME}/\""
|
|
354
|
+
|| context.args.command like "*rm -f -R \"${HOME}/\" *"
|
|
78
355
|
)
|
|
79
356
|
};
|
|
80
357
|
|
package/vectors/audit.json
CHANGED
|
@@ -7,26 +7,26 @@
|
|
|
7
7
|
"description": "The tree head from the first remote receipt and the log's later head, with the proof the log served.",
|
|
8
8
|
"older": {
|
|
9
9
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
10
|
-
"payload": "
|
|
10
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMjk5YTk4YjA3NTFkNzdiN2UyNzgxZGU2MzMwMzhkYWZmYjYxYmEwM2FhZWJhZjZiMDE3ZGI3OTE5ZTk4ZDliNCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQzWiIsInRyZWVTaXplIjoxfQ==",
|
|
11
11
|
"signatures": [
|
|
12
12
|
{
|
|
13
|
-
"keyid": "
|
|
14
|
-
"sig": "
|
|
13
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
14
|
+
"sig": "jPpTYFCQs7cl08hkhs/5J6oMD3BPqbuO97znCbfjBKquXlpmtC+HEb/dhmC0BeJdsi3v3UiMyFJvZT2ffzrfBA=="
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"newer": {
|
|
19
19
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
20
|
-
"payload": "
|
|
20
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiN2E3MWJlOTczY2JkODY5N2M3OGQxMDk0MDQ0MzA0YzNhYzMyZTZkNmNlNGNlNmEwNzI5ZjZjOGE5MTYxZDIzZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQ4WiIsInRyZWVTaXplIjoyfQ==",
|
|
21
21
|
"signatures": [
|
|
22
22
|
{
|
|
23
|
-
"keyid": "
|
|
24
|
-
"sig": "
|
|
23
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
24
|
+
"sig": "UbFM1MwVOvPUQsFzVAAxWBNkvIiJBKAey/q5ta5e6nR1Hfk1nGcFvjgqxUB02rPr7PZTZ9Q0eOMXPq1SnJbuCA=="
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"proof": [
|
|
29
|
-
"
|
|
29
|
+
"2b8ebb8443eaff76abdec18e26dbaf2aecf78dabf94b4c8a08acfe4f7ca541c5"
|
|
30
30
|
],
|
|
31
31
|
"keys": [
|
|
32
32
|
"log"
|
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
"description": "The same heads the wrong way round.",
|
|
42
42
|
"older": {
|
|
43
43
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
44
|
-
"payload": "
|
|
44
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiN2E3MWJlOTczY2JkODY5N2M3OGQxMDk0MDQ0MzA0YzNhYzMyZTZkNmNlNGNlNmEwNzI5ZjZjOGE5MTYxZDIzZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQ4WiIsInRyZWVTaXplIjoyfQ==",
|
|
45
45
|
"signatures": [
|
|
46
46
|
{
|
|
47
|
-
"keyid": "
|
|
48
|
-
"sig": "
|
|
47
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
48
|
+
"sig": "UbFM1MwVOvPUQsFzVAAxWBNkvIiJBKAey/q5ta5e6nR1Hfk1nGcFvjgqxUB02rPr7PZTZ9Q0eOMXPq1SnJbuCA=="
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
},
|
|
52
52
|
"newer": {
|
|
53
53
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
54
|
-
"payload": "
|
|
54
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMjk5YTk4YjA3NTFkNzdiN2UyNzgxZGU2MzMwMzhkYWZmYjYxYmEwM2FhZWJhZjZiMDE3ZGI3OTE5ZTk4ZDliNCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQzWiIsInRyZWVTaXplIjoxfQ==",
|
|
55
55
|
"signatures": [
|
|
56
56
|
{
|
|
57
|
-
"keyid": "
|
|
58
|
-
"sig": "
|
|
57
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
58
|
+
"sig": "jPpTYFCQs7cl08hkhs/5J6oMD3BPqbuO97znCbfjBKquXlpmtC+HEb/dhmC0BeJdsi3v3UiMyFJvZT2ffzrfBA=="
|
|
59
59
|
}
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
62
|
"proof": [
|
|
63
|
-
"
|
|
63
|
+
"2b8ebb8443eaff76abdec18e26dbaf2aecf78dabf94b4c8a08acfe4f7ca541c5"
|
|
64
64
|
],
|
|
65
65
|
"keys": [
|
|
66
66
|
"log"
|
|
@@ -77,26 +77,26 @@
|
|
|
77
77
|
"description": "Tree heads checked against the app key, which did not sign them.",
|
|
78
78
|
"older": {
|
|
79
79
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
80
|
-
"payload": "
|
|
80
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMjk5YTk4YjA3NTFkNzdiN2UyNzgxZGU2MzMwMzhkYWZmYjYxYmEwM2FhZWJhZjZiMDE3ZGI3OTE5ZTk4ZDliNCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQzWiIsInRyZWVTaXplIjoxfQ==",
|
|
81
81
|
"signatures": [
|
|
82
82
|
{
|
|
83
|
-
"keyid": "
|
|
84
|
-
"sig": "
|
|
83
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
84
|
+
"sig": "jPpTYFCQs7cl08hkhs/5J6oMD3BPqbuO97znCbfjBKquXlpmtC+HEb/dhmC0BeJdsi3v3UiMyFJvZT2ffzrfBA=="
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"newer": {
|
|
89
89
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
90
|
-
"payload": "
|
|
90
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiN2E3MWJlOTczY2JkODY5N2M3OGQxMDk0MDQ0MzA0YzNhYzMyZTZkNmNlNGNlNmEwNzI5ZjZjOGE5MTYxZDIzZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQ4WiIsInRyZWVTaXplIjoyfQ==",
|
|
91
91
|
"signatures": [
|
|
92
92
|
{
|
|
93
|
-
"keyid": "
|
|
94
|
-
"sig": "
|
|
93
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
94
|
+
"sig": "UbFM1MwVOvPUQsFzVAAxWBNkvIiJBKAey/q5ta5e6nR1Hfk1nGcFvjgqxUB02rPr7PZTZ9Q0eOMXPq1SnJbuCA=="
|
|
95
95
|
}
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
"proof": [
|
|
99
|
-
"
|
|
99
|
+
"2b8ebb8443eaff76abdec18e26dbaf2aecf78dabf94b4c8a08acfe4f7ca541c5"
|
|
100
100
|
],
|
|
101
101
|
"keys": [
|
|
102
102
|
"app"
|
|
@@ -114,21 +114,21 @@
|
|
|
114
114
|
"description": "A proof with a hash removed.",
|
|
115
115
|
"older": {
|
|
116
116
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
117
|
-
"payload": "
|
|
117
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMjk5YTk4YjA3NTFkNzdiN2UyNzgxZGU2MzMwMzhkYWZmYjYxYmEwM2FhZWJhZjZiMDE3ZGI3OTE5ZTk4ZDliNCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQzWiIsInRyZWVTaXplIjoxfQ==",
|
|
118
118
|
"signatures": [
|
|
119
119
|
{
|
|
120
|
-
"keyid": "
|
|
121
|
-
"sig": "
|
|
120
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
121
|
+
"sig": "jPpTYFCQs7cl08hkhs/5J6oMD3BPqbuO97znCbfjBKquXlpmtC+HEb/dhmC0BeJdsi3v3UiMyFJvZT2ffzrfBA=="
|
|
122
122
|
}
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
125
|
"newer": {
|
|
126
126
|
"payloadType": "application/vnd.agent-custody.treehead+json",
|
|
127
|
-
"payload": "
|
|
127
|
+
"payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiN2E3MWJlOTczY2JkODY5N2M3OGQxMDk0MDQ0MzA0YzNhYzMyZTZkNmNlNGNlNmEwNzI5ZjZjOGE5MTYxZDIzZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMDFUMTA6MTA6MDMuMzQ4WiIsInRyZWVTaXplIjoyfQ==",
|
|
128
128
|
"signatures": [
|
|
129
129
|
{
|
|
130
|
-
"keyid": "
|
|
131
|
-
"sig": "
|
|
130
|
+
"keyid": "c4de6d4c1616938f8c8c679ebed89781d2fa1565d536032d9054f6c73461df57",
|
|
131
|
+
"sig": "UbFM1MwVOvPUQsFzVAAxWBNkvIiJBKAey/q5ta5e6nR1Hfk1nGcFvjgqxUB02rPr7PZTZ9Q0eOMXPq1SnJbuCA=="
|
|
132
132
|
}
|
|
133
133
|
]
|
|
134
134
|
},
|