Repository navigation
Commit dc7e2ad
committed
fix(opencode,core): close audit-v10 wave G findings
- instance-store: claim the entry before draining so an explicit dispose
tears down a leased instance and rejects pending prompts (R-V10-01), while
keeping the W5 provide-after-dispose handshake; reinstate the F4a race
harness
- shell: resolve ~+ / ~- / ~N without path.join so symlink+`..` still scans;
shell-unescape backslash escapes before classification; anchor the scan at
the root for cd/pushd/popd with an unresolvable target and refuse always
- fs-util: stop lexically collapsing `..` after a non-existent component
(glob-anchor / dangling-symlink escape) and split only on `/` on unix
- wildcard: unescape `\.` so an escaped traversal cannot match a persisted
literal grant
- catalog: validate schema-map values, `type` members and `dependentRequired`;
make dropDanglingRefs scope- and instance-aware; declare ajv as a
devDependency of packages/opencode so the schema gate is hermetic
- tests: fail-on-base coverage for every probe1 parent 02750b7 commit dc7e2ad
11 files changed
Lines changed: 405 additions & 77 deletions
File tree
- packages
- core
- src
- util
- test
- opencode
- src
- mcp
- project
- tool
- test
- mcp
- project
- tool
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
| |||
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
309 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments