From 8b9eeb9a76df102d344b44a8e772143457585f3a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 07:12:55 +0000 Subject: [PATCH 1/2] chore: review state update 2026-05-26 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No new issue filed — top finding matched open issue #15 (CI test failures). Added comment on #15 with 5th confirmed failure (flaky timestamp comparison in 'analyze with object' test). Runner-up: CSP wildcard non-first-position regex (score 7.65), deferred for next run. --- .claude/review-state.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.claude/review-state.json b/.claude/review-state.json index b21a0b9..d794876 100644 --- a/.claude/review-state.json +++ b/.claude/review-state.json @@ -1,6 +1,6 @@ { - "last_run": "2026-05-26T00:55:00Z", - "last_commit": "5083c52b64190381eadbb9f0c13b42e52c358a5a", + "last_run": "2026-05-26T07:10:00Z", + "last_commit": "81f8735d167b597ed7a7a88cc7f89ba0b440b07d", "filed": [ { "issue": 8, @@ -17,6 +17,18 @@ } ], "runner_ups": [ + { + "finding": "CSP wildcard regex /(?:default-src|script-src)\\s+\\*/i only matches when '*' is the first source token; 'default-src 'self' *' is not flagged.", + "score": 7.65, + "reason_not_filed": "matched open issue #15 (test failures / CI red); stopped per dedup rule", + "timestamp": "2026-05-26T07:10:00Z" + }, + { + "finding": "test/analyzer.test.ts line 61: 'analyze with object returns same result as analyzeHeaders' uses toEqual() on full report including auto-generated analyzedAt timestamp — inherently flaky, fails when millisecond boundary is crossed between two sequential analyzeHeaders calls.", + "score": 5.65, + "reason_not_filed": "added as comment to open issue #15 (same CI-red topic); new evidence rather than separate filing", + "timestamp": "2026-05-26T07:10:00Z" + }, { "finding": "CSP wildcard regex /(?:default-src|script-src)\\s+\\*/i only matches when '*' is the first source token; 'default-src 'self' *' is not flagged.", "score": 6.1, @@ -59,6 +71,8 @@ "tsconfig.json strict mode is enabled", "CI workflows (ci.yml, publish.yml, auto-tag.yml) are sound", "X-Content-Type-Options check (rules.ts:93-104) — values correctly validated", - "X-Frame-Options check (rules.ts:73-91) — accepts DENY/SAMEORIGIN and CSP frame-ancestors fallback as expected" + "X-Frame-Options check (rules.ts:73-91) — accepts DENY/SAMEORIGIN and CSP frame-ancestors fallback as expected", + "analyzer.ts grade thresholds are correctly implemented", + "src/index.ts analyze() overload (string | object) is correctly typed and routed" ] } From b6890e6d8d406e845346cc081578b622d86e74c8 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 07:13:23 +0000 Subject: [PATCH 2/2] chore: update package-lock.json after dev dependency install --- package-lock.json | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index 65db0c6..72d1b93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -637,9 +637,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -654,9 +651,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -671,9 +665,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -688,9 +679,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -705,9 +693,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -722,9 +707,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -739,9 +721,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -756,9 +735,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -773,9 +749,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -790,9 +763,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -807,9 +777,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -824,9 +791,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -841,9 +805,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [