@lornatang/dsh-codex-security 0.1.8 → 0.1.9

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/CHANGELOG.md CHANGED
@@ -1,118 +1,135 @@
1
- # Changelog
2
-
3
- ## [0.1.8] - 2026-11-16
4
-
5
- ### Added
6
-
7
- - Coordinate independent, restricted Deep review workers with bounded concurrency, attempts, no-new stopping and wall-clock time.
8
- - Persist campaign progress and recovery claims, with authenticated cross-process resume and cancellation.
9
- - Add Codex-compatible skill workflows and artifact contracts, plus cross-platform worker, recovery and concurrency tests.
10
-
11
- ### Fixed
12
-
13
- - Bind worker reads and evidence to verified target objects and file snapshots; keep incomplete coverage and conflicting findings visible.
14
- - Serialize shared indexes and scan mutations across processes and tolerate transient Windows file-sharing conflicts during atomic replacement.
15
- - Fail closed when target inventory cannot be enumerated or Git metadata cannot be resolved.
16
- - Use the macOS 26 ARM runner when macOS 15 ARM runners are unavailable.
17
-
18
- ## [0.1.7] - 2026-11-16
19
-
20
- ### Fixed
21
-
22
- - Load platform-specific native export binaries without dependency install scripts,
23
- so a new DSH profile can install the bundle under pnpm's default build policy.
24
-
25
- ## [0.1.6] - 2026-11-15
26
-
27
- ### Changed
28
-
29
- - Allow safe links inside scan storage and Git metadata while rejecting direct or transitive aliases of an export destination.
30
- - Reduce duplicate protected-tree checks and inspect reachable directories concurrently with bounded work.
31
- - Add cross-platform tests for linked directories, cycles, dangling targets and concurrent retargeting.
32
-
33
- ## [0.1.5] - 2026-11-15
34
-
35
- ### Fixed
36
-
37
- - Revalidate scan storage and Git metadata at export checkpoints, including when a directory snapshot becomes a Git repository.
38
- - Reject aliases inside protected storage and logical output paths that escape through links.
39
- - Cover POSIX moves, protected-root changes and Git metadata redirection with cross-platform regression tests.
40
-
41
- ## [0.1.4] - 2026-11-15
42
-
43
- ### Fixed
44
-
45
- - Pin export directory identities across parent creation, exclusive publication and cleanup, detecting directory moves while preserving existing export boundaries.
46
- - Add cross-process race tests and Linux, macOS and Windows CI coverage. This release is available on GitHub only; no npm version is published.
47
-
48
- ## [0.1.3] - 2026-11-15
49
-
50
- ### Fixed
51
-
52
- - Prevent exports from replacing existing files or escaping through symlinked directories, and return complete large export documents.
53
- - Include a GitHub release archive; npm is not published for this release.
54
-
55
- All notable changes to this project will be documented in this file.
56
-
57
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
58
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
59
-
60
- ## [0.1.2] - 2026-11-15
61
-
62
- ### Fixed
63
-
64
- - Declare the required DSH skill service and register loadable bundled skills.
65
- - Validate tool arguments and JSON output through the real DSH host contract.
66
- - Bind accurate target scopes, file contents and complete Git diffs, including untracked files.
67
- - Require explicit review coverage and diff dispositions before sealing; reject changed targets,
68
- incompatible comparisons and writes to sealed artifacts.
69
- - Serialize scan mutations, rebuild missing indexes and validate sealed JSON against the bundled schemas.
70
-
71
- ### Added
72
-
73
- - A default-mode start tool, a diff review-item update tool and real-host regression tests.
74
-
75
- ### Changed
76
-
77
- - Publish the plugin as the scoped npm package `@lornatang/dsh-codex-security`. The
78
- initial bare `dsh-codex-security@0.1.0` publish is deprecated in favour of the scoped
79
- name; install with `dsh plugin --profile <profile> add @lornatang/dsh-codex-security`.
80
- - Ship the English documentation and examples with the package; align the architecture,
81
- tool reference and skill workflows with the implementation.
82
- - Rewrite the README to the package-bundle documentation convention and add a Chinese
83
- translation; the package now ships `README.md` and `README.zh.md`.
84
- - Publish `cordis.patch.yml` through the package `exports` map.
85
-
86
- ## [0.1.0] - 2026-11-13
87
-
88
- Initial public release of the DeepSeek Harness port of the codex-security scan model.
89
-
90
- ### Added
91
-
92
- - DSH plugin `codex-security` (`dsh-codex-security`) with a loader patch row,
93
- a host plugin entry point, HTTP routes under `/plugins/codex-security` and a
94
- **Codex Security** settings section in the web UI.
95
- - 27 `codex_security_*` host tools covering setup/target inspection, standard,
96
- prompt-only and deep scan lifecycle, discovery candidates, validations, attack
97
- paths, artifacts, drafts, findings and triage, diff review items, export and scan
98
- comparison.
99
- - Ten agent skills registered from `skills/`: `security-scan`,
100
- `security-diff-scan`, `deep-security-scan`, `fix-finding`, `verify-fix`,
101
- `triage-finding`, `threat-model`, `track-findings`,
102
- `resolve-dependency-alert` and `vulnerability-writeup`.
103
- - Sealed scan contract adapted from OpenAI codex-security: `findings.json`,
104
- `coverage.json`, `scan-manifest.json` and `report.md`, with stable
105
- `csf_`/`occ_` ids and `codex-security/v1` fingerprints.
106
- - Deep-scan orchestration with worker count, discovery-run budget,
107
- stop-after-no-new and time limits recorded on the scan.
108
- - Diff scanning for pull requests, commit ranges, branches and working trees, with
109
- per-file review items.
110
- - Exports in SARIF 2.1.0, JSON, CSV and Markdown, plus a `failOnSeverity`
111
- policy gate.
112
- - Web workbench: status header, scan list, findings table with severity chips and
113
- triage state, coverage summary and export links.
114
- - Configuration through Schemastery: `stateDir`, `maxFiles`, `maxFileBytes`,
115
- `defaultMode`, `failOnSeverity`, `allowExportOutsideWorkspace`,
116
- `maxScanAgeDays`, `deepWorkers` and `deepMaxDiscoveryRuns`.
117
- - Documentation: README, architecture, tool reference,
118
- artifact contract, validation guide, and a GitHub Actions CI workflow.
1
+ # Changelog
2
+
3
+ ## [0.1.9] - 2026-11-17
4
+
5
+ ### Security
6
+
7
+ - Contain evidence reads to the scan target: sanitize and validate finding location paths, rejecting traversal, absolute paths and symlink escapes before reading any host file.
8
+ - Eliminate catastrophic backtracking (ReDoS) in scope glob matching by collapsing nested quantifiers and matching include/exclude globs with a cached linear-time matcher.
9
+
10
+ ### Fixed
11
+
12
+ - Read at most the requested byte limit when loading artifacts instead of buffering entire files into memory.
13
+ - Create atomic-write temporary files exclusively (`wx`) with 96-bit random suffixes.
14
+ - Reject option-like Git revision arguments (leading `-`) before invoking `rev-parse`.
15
+
16
+ ### Performance
17
+
18
+ - Compile scope globs once and cache them, removing per-file/per-pattern RegExp recompilation during inventory walks.
19
+
20
+ ## [0.1.8] - 2026-11-16
21
+
22
+ ### Added
23
+
24
+ - Coordinate independent, restricted Deep review workers with bounded concurrency, attempts, no-new stopping and wall-clock time.
25
+ - Persist campaign progress and recovery claims, with authenticated cross-process resume and cancellation.
26
+ - Add Codex-compatible skill workflows and artifact contracts, plus cross-platform worker, recovery and concurrency tests.
27
+
28
+ ### Fixed
29
+
30
+ - Bind worker reads and evidence to verified target objects and file snapshots; keep incomplete coverage and conflicting findings visible.
31
+ - Serialize shared indexes and scan mutations across processes and tolerate transient Windows file-sharing conflicts during atomic replacement.
32
+ - Fail closed when target inventory cannot be enumerated or Git metadata cannot be resolved.
33
+ - Use the macOS 26 ARM runner when macOS 15 ARM runners are unavailable.
34
+
35
+ ## [0.1.7] - 2026-11-16
36
+
37
+ ### Fixed
38
+
39
+ - Load platform-specific native export binaries without dependency install scripts,
40
+ so a new DSH profile can install the bundle under pnpm's default build policy.
41
+
42
+ ## [0.1.6] - 2026-11-15
43
+
44
+ ### Changed
45
+
46
+ - Allow safe links inside scan storage and Git metadata while rejecting direct or transitive aliases of an export destination.
47
+ - Reduce duplicate protected-tree checks and inspect reachable directories concurrently with bounded work.
48
+ - Add cross-platform tests for linked directories, cycles, dangling targets and concurrent retargeting.
49
+
50
+ ## [0.1.5] - 2026-11-15
51
+
52
+ ### Fixed
53
+
54
+ - Revalidate scan storage and Git metadata at export checkpoints, including when a directory snapshot becomes a Git repository.
55
+ - Reject aliases inside protected storage and logical output paths that escape through links.
56
+ - Cover POSIX moves, protected-root changes and Git metadata redirection with cross-platform regression tests.
57
+
58
+ ## [0.1.4] - 2026-11-15
59
+
60
+ ### Fixed
61
+
62
+ - Pin export directory identities across parent creation, exclusive publication and cleanup, detecting directory moves while preserving existing export boundaries.
63
+ - Add cross-process race tests and Linux, macOS and Windows CI coverage. This release is available on GitHub only; no npm version is published.
64
+
65
+ ## [0.1.3] - 2026-11-15
66
+
67
+ ### Fixed
68
+
69
+ - Prevent exports from replacing existing files or escaping through symlinked directories, and return complete large export documents.
70
+ - Include a GitHub release archive; npm is not published for this release.
71
+
72
+ All notable changes to this project will be documented in this file.
73
+
74
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
75
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
76
+
77
+ ## [0.1.2] - 2026-11-15
78
+
79
+ ### Fixed
80
+
81
+ - Declare the required DSH skill service and register loadable bundled skills.
82
+ - Validate tool arguments and JSON output through the real DSH host contract.
83
+ - Bind accurate target scopes, file contents and complete Git diffs, including untracked files.
84
+ - Require explicit review coverage and diff dispositions before sealing; reject changed targets,
85
+ incompatible comparisons and writes to sealed artifacts.
86
+ - Serialize scan mutations, rebuild missing indexes and validate sealed JSON against the bundled schemas.
87
+
88
+ ### Added
89
+
90
+ - A default-mode start tool, a diff review-item update tool and real-host regression tests.
91
+
92
+ ### Changed
93
+
94
+ - Publish the plugin as the scoped npm package `@lornatang/dsh-codex-security`. The
95
+ initial bare `dsh-codex-security@0.1.0` publish is deprecated in favour of the scoped
96
+ name; install with `dsh plugin --profile <profile> add @lornatang/dsh-codex-security`.
97
+ - Ship the English documentation and examples with the package; align the architecture,
98
+ tool reference and skill workflows with the implementation.
99
+ - Rewrite the README to the package-bundle documentation convention and add a Chinese
100
+ translation; the package now ships `README.md` and `README.zh.md`.
101
+ - Publish `cordis.patch.yml` through the package `exports` map.
102
+
103
+ ## [0.1.0] - 2026-11-13
104
+
105
+ Initial public release of the DeepSeek Harness port of the codex-security scan model.
106
+
107
+ ### Added
108
+
109
+ - DSH plugin `codex-security` (`dsh-codex-security`) with a loader patch row,
110
+ a host plugin entry point, HTTP routes under `/plugins/codex-security` and a
111
+ **Codex Security** settings section in the web UI.
112
+ - 27 `codex_security_*` host tools covering setup/target inspection, standard,
113
+ prompt-only and deep scan lifecycle, discovery candidates, validations, attack
114
+ paths, artifacts, drafts, findings and triage, diff review items, export and scan
115
+ comparison.
116
+ - Ten agent skills registered from `skills/`: `security-scan`,
117
+ `security-diff-scan`, `deep-security-scan`, `fix-finding`, `verify-fix`,
118
+ `triage-finding`, `threat-model`, `track-findings`,
119
+ `resolve-dependency-alert` and `vulnerability-writeup`.
120
+ - Sealed scan contract adapted from OpenAI codex-security: `findings.json`,
121
+ `coverage.json`, `scan-manifest.json` and `report.md`, with stable
122
+ `csf_`/`occ_` ids and `codex-security/v1` fingerprints.
123
+ - Deep-scan orchestration with worker count, discovery-run budget,
124
+ stop-after-no-new and time limits recorded on the scan.
125
+ - Diff scanning for pull requests, commit ranges, branches and working trees, with
126
+ per-file review items.
127
+ - Exports in SARIF 2.1.0, JSON, CSV and Markdown, plus a `failOnSeverity`
128
+ policy gate.
129
+ - Web workbench: status header, scan list, findings table with severity chips and
130
+ triage state, coverage summary and export links.
131
+ - Configuration through Schemastery: `stateDir`, `maxFiles`, `maxFileBytes`,
132
+ `defaultMode`, `failOnSeverity`, `allowExportOutsideWorkspace`,
133
+ `maxScanAgeDays`, `deepWorkers` and `deepMaxDiscoveryRuns`.
134
+ - Documentation: README, architecture, tool reference,
135
+ artifact contract, validation guide, and a GitHub Actions CI workflow.