prae-cli 0.10.0 → 0.10.2
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/lib/bin.js +1 -1
- package/lib/{checkpoint-BqJ8xwky.js → checkpoint-D7d6ZGXR.js} +1 -1
- package/lib/{cli-DPldZ2ND.js → cli-BTVEk0Fh.js} +402 -41
- package/lib/cli-DYKKNlDI.js +7 -0
- package/lib/docs/pilot-claude-code.md +22 -21
- package/lib/facts-DkTRO2p0.js +89 -0
- package/lib/{hook-Gll2spTP.js → hook-C7LGEIs2.js} +4 -91
- package/lib/index.js +5 -6
- package/lib/{init-DRd-IRR6.js → init-DvzCuemh.js} +10 -4
- package/lib/{instructions-DihPiiC2.js → instructions-Bcs2n2O6.js} +2 -2
- package/lib/{mcp-D521EoP6.js → mcp-C2gadkb2.js} +2 -2
- package/lib/playground.js +713 -109
- package/lib/prae-baseline.prae.json +144 -1
- package/lib/{receipt-check-CUuEjGHL.js → receipt-check-BtAJqyrX.js} +1 -1
- package/lib/{src-wG36kT6K.js → src-2iJy5MZc.js} +1 -1
- package/lib/src-CZYvvEn5.js +1691 -0
- package/lib/{src-DMoYsdfo.js → src-DIuEg7gi.js} +1 -1
- package/lib/{test-run-C8dHjIE2.js → test-run-DCprBW44.js} +1 -1
- package/lib/{views-CUcixte0.js → views-endiZu1Z.js} +1 -1
- package/package.json +5 -5
- package/lib/cli-BcAJlB9B.js +0 -8
- package/lib/evaluate-DhoGQw0Z.js +0 -521
- package/lib/frameworks-BgZHGKiH.js +0 -118
- package/lib/pack-h5n43S0F.js +0 -448
- /package/lib/{ocsf-DF9cMiQJ.js → ocsf-DwExfPqP.js} +0 -0
- /package/lib/{src-BuaOiL2v.js → src-9phPLfAL.js} +0 -0
- /package/lib/{src-Cy-Acrgj.js → src-CuiWC80o.js} +0 -0
- /package/lib/{src-BlmsTGdY.js → src-DV83J9G2.js} +0 -0
- /package/lib/{src-CDYyZyeU.js → src-DxJIOaP5.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"prae": "0.1",
|
|
3
3
|
"pack": "prae-baseline",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"rules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "BASE-001",
|
|
@@ -159,6 +159,149 @@
|
|
|
159
159
|
"owasp-llm-top-10-2026": ["LLM03"],
|
|
160
160
|
"owasp-agentic-top-10-2026": ["ASI02"]
|
|
161
161
|
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "BASE-009",
|
|
165
|
+
"title": "macOS Keychain secrets stay unread through the security tool",
|
|
166
|
+
"when": {
|
|
167
|
+
"command": {
|
|
168
|
+
"name": "security",
|
|
169
|
+
"anyToken": [
|
|
170
|
+
"find-generic-password",
|
|
171
|
+
"find-internet-password",
|
|
172
|
+
"find-certificate",
|
|
173
|
+
"find-identity",
|
|
174
|
+
"dump-keychain",
|
|
175
|
+
"export",
|
|
176
|
+
"unlock-keychain"
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"effect": {
|
|
181
|
+
"kind": "deny",
|
|
182
|
+
"because": "Keychain items are credentials and are out of scope for agents"
|
|
183
|
+
},
|
|
184
|
+
"frameworks": {
|
|
185
|
+
"owasp-llm-top-10-2026": ["LLM02"],
|
|
186
|
+
"owasp-agentic-top-10-2026": ["ASI03"]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "BASE-010",
|
|
191
|
+
"title": "Keychain files stay unread",
|
|
192
|
+
"when": {
|
|
193
|
+
"capability": "fs:read",
|
|
194
|
+
"path": {
|
|
195
|
+
"inside": ["**/Library/Keychains/**"]
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"effect": {
|
|
199
|
+
"kind": "deny",
|
|
200
|
+
"because": "Keychain databases are credential stores and are out of scope for agents"
|
|
201
|
+
},
|
|
202
|
+
"frameworks": {
|
|
203
|
+
"owasp-llm-top-10-2026": ["LLM02"],
|
|
204
|
+
"owasp-agentic-top-10-2026": ["ASI03"]
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "BASE-011",
|
|
209
|
+
"title": "No shell command names a Keychain file",
|
|
210
|
+
"when": {
|
|
211
|
+
"command": {
|
|
212
|
+
"anyToken": [
|
|
213
|
+
"~/Library/Keychains*",
|
|
214
|
+
"$HOME/Library/Keychains*",
|
|
215
|
+
"${HOME}/Library/Keychains*",
|
|
216
|
+
"Library/Keychains*"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"effect": {
|
|
221
|
+
"kind": "deny",
|
|
222
|
+
"because": "Keychain databases are credential stores and are out of scope for agents"
|
|
223
|
+
},
|
|
224
|
+
"frameworks": {
|
|
225
|
+
"owasp-llm-top-10-2026": ["LLM02"],
|
|
226
|
+
"owasp-agentic-top-10-2026": ["ASI03"]
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "BASE-012",
|
|
231
|
+
"title": "Other credential stores stay unread",
|
|
232
|
+
"when": {
|
|
233
|
+
"capability": "fs:read",
|
|
234
|
+
"path": {
|
|
235
|
+
"inside": [
|
|
236
|
+
"**/.netrc",
|
|
237
|
+
"**/.git-credentials",
|
|
238
|
+
"**/.docker/config.json",
|
|
239
|
+
"**/.npmrc",
|
|
240
|
+
"**/.config/gh/hosts.yml",
|
|
241
|
+
"**/.config/gcloud/**",
|
|
242
|
+
"**/.kube/config",
|
|
243
|
+
"**/.gnupg/**"
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"effect": {
|
|
248
|
+
"kind": "deny",
|
|
249
|
+
"because": "secrets and credential stores are out of scope for agents"
|
|
250
|
+
},
|
|
251
|
+
"frameworks": {
|
|
252
|
+
"owasp-llm-top-10-2026": ["LLM02"],
|
|
253
|
+
"owasp-agentic-top-10-2026": ["ASI03"]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": "BASE-013",
|
|
258
|
+
"title": "No shell command names a credential file",
|
|
259
|
+
"when": {
|
|
260
|
+
"command": {
|
|
261
|
+
"anyToken": [
|
|
262
|
+
".env",
|
|
263
|
+
".env.*",
|
|
264
|
+
"~/.ssh*",
|
|
265
|
+
"$HOME/.ssh*",
|
|
266
|
+
"${HOME}/.ssh*",
|
|
267
|
+
"~/.aws*",
|
|
268
|
+
"$HOME/.aws*",
|
|
269
|
+
"${HOME}/.aws*",
|
|
270
|
+
"~/.netrc",
|
|
271
|
+
"$HOME/.netrc",
|
|
272
|
+
"${HOME}/.netrc",
|
|
273
|
+
"~/.git-credentials",
|
|
274
|
+
"$HOME/.git-credentials",
|
|
275
|
+
"${HOME}/.git-credentials",
|
|
276
|
+
"~/.docker/config.json",
|
|
277
|
+
"$HOME/.docker/config.json",
|
|
278
|
+
"${HOME}/.docker/config.json",
|
|
279
|
+
"~/.kube*",
|
|
280
|
+
"$HOME/.kube*",
|
|
281
|
+
"${HOME}/.kube*",
|
|
282
|
+
"~/.gnupg*",
|
|
283
|
+
"$HOME/.gnupg*",
|
|
284
|
+
"${HOME}/.gnupg*",
|
|
285
|
+
"~/.config/gh/hosts.yml",
|
|
286
|
+
"$HOME/.config/gh/hosts.yml",
|
|
287
|
+
"${HOME}/.config/gh/hosts.yml",
|
|
288
|
+
"~/.config/gcloud*",
|
|
289
|
+
"$HOME/.config/gcloud*",
|
|
290
|
+
"${HOME}/.config/gcloud*",
|
|
291
|
+
"~/.npmrc",
|
|
292
|
+
"$HOME/.npmrc",
|
|
293
|
+
"${HOME}/.npmrc"
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"effect": {
|
|
298
|
+
"kind": "deny",
|
|
299
|
+
"because": "the shell reaches the same credential stores the file rules protect"
|
|
300
|
+
},
|
|
301
|
+
"frameworks": {
|
|
302
|
+
"owasp-llm-top-10-2026": ["LLM02"],
|
|
303
|
+
"owasp-agentic-top-10-2026": ["ASI03"]
|
|
304
|
+
}
|
|
162
305
|
}
|
|
163
306
|
]
|
|
164
307
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as canonical, a as verifyEntries, b as seal, c as unsealPrivateKey, d as generateKeypair, f as makeReceipt, g as GENESIS, h as verifySignature, i as tailOf, l as verifyBytes, m as verifyReceipt, n as Ledger, o as sealedKeypair, p as signEntry, r as readEntries, s as signBytes, t as verifyGrowing, u as fingerprint, v as chain, y as hashEntry } from "./src-
|
|
1
|
+
import { _ as canonical, a as verifyEntries, b as seal, c as unsealPrivateKey, d as generateKeypair, f as makeReceipt, g as GENESIS, h as verifySignature, i as tailOf, l as verifyBytes, m as verifyReceipt, n as Ledger, o as sealedKeypair, p as signEntry, r as readEntries, s as signBytes, t as verifyGrowing, u as fingerprint, v as chain, y as hashEntry } from "./src-CuiWC80o.js";
|
|
2
2
|
|
|
3
3
|
export { GENESIS, Ledger, canonical, chain, fingerprint, generateKeypair, hashEntry, makeReceipt, readEntries, seal, sealedKeypair, signBytes, signEntry, tailOf, unsealPrivateKey, verifyBytes, verifyEntries, verifyGrowing, verifyReceipt, verifySignature };
|