0Chencc/clawgod
ClawGod is a runtime patch applied to the official Claude Code. It continues to be supported with each version update.
- Repository: https://github.com/0Chencc/clawgod
- Commit:
a08cfc96c7a226e2a7150bcb532f9945c15ee032 - Generated: 2026-11-13T23:59:59+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | possible | 65% | 100% |
| Code quality | 55 | weak | 90% | 100% |
| Security | 60 | weak | 85% | 100% |
AI provenance
Weak signals consistent with AI-assisted development. 2 commit(s) carry explicit AI attribution, too few to characterize the codebase.
- Explicitly attributed share (lower bound): 0.3%
- Unattributed share in AI-consistent velocity bursts: 67.2%
- Estimated AI-generated share: 0.3%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 2 | 164 |
- AI tooling configured in repo: generic-agent
Current source lines last changed by AI-attributed commits: 97 of 35,282.
Too few lines in one group to compare finding densities.
- Stylometry index: 0.48 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 13). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-04 | 3,965 | 0% |
| 2026-05 | 1,177 | 0% |
| 2026-06 | 753 | 0% |
| 2026-07 | 1,900 | 3% |
| 2026-08 | 4,688 | 0% |
| 2026-09 | 7,412 | 0% |
| 2026-10 | 37,948 | 0% |
Evidence
- Claude Code: PR description attribution (fddda02630e6)
- Claude Code: trailer 'Co-Authored-By: Claude' (5fb257242258)
- 19,957 lines of first-party code in ~4.0h (4,989 lines/hour, 1 commit session) (a1a91769f88a)
- 15,102 lines of first-party code in ~4.1h (3,701 lines/hour, 2 commit session) (a08cfc96c7a2)
- AGENTS.md (generic-agent configuration) (AGENTS.md)
- v2.0.4 → v2.1.0: 19,957 lines in 0.66 days (30,162.2 lines/day) (v2.0.4...v2.)
- 3,828 lines of first-party code in ~5.1h (753 lines/hour, 4 commit session) (aba6be8948ee)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is weak: test-to-source ratio 0.10, CI runs tests; 28% of function code in complex or long functions; 93% duplicated lines. Weakest area: duplication.
| Area | Score |
|---|---|
| Complexity (lizard) | 43 |
| Duplication | 0 |
| Code smells (Opengrep) | 84 |
| Tests and CI | 70 |
| Documentation | 80 |
| Type safety | 54 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 671; mean complexity 5.0, 90th percentile 11; 45 complex and 1 long functions
- Duplicated lines: 92.8% of 26,886 compared
- Tests: 3,365 test lines for 35,282 source lines (ratio 0.10); CI test commands: bun test; 25% of recent source commits also change tests
- Docs missing or thin: changelog
Most complex functions:
- (anonymous) in src/shared/ast-patches.mjs: complexity 87, 126 lines
- pp$8.parseStatement in src/shared/acorn.mjs: complexity 51, 77 lines
- pp$5.parseExprAtom in src/shared/acorn.mjs: complexity 48, 87 lines
- pp.getTokenFromCode in src/shared/acorn.mjs: complexity 47, 51 lines
- pairingScopeResolver in src/shared/ast-patches.mjs: complexity 39, 47 lines
Security
Security posture is weak: 21 known vulnerabilities in 8 dependencies; 3 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 94 |
| Vulnerable dependencies (OSV) | 50 |
| CI workflows (zizmor) | 1 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 21 in 8 packages (critical 0, high 7, medium 8, low 4)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] |
src/ci/tui-smoke.py:39 |
| high | opengrep/javascript.browser.security.insecure-document-method: User controlled data in methods like innerHTML, outerHTML or document.write is an anti-pattern that can lead to XSS vulnerabilities [confidence low] |
web/src/main.ts:126 |
| high | opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a text.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] |
web/src/main.ts:126 |
| high | osv/GHSA-28wg-ghj8-5hjv: [email protected] (npm) is affected by GHSA-28wg-ghj8-5hjv |
web/package-lock.json |
| high | osv/GHSA-2v37-7h3g-55p8: [email protected] (npm) is affected by GHSA-2v37-7h3g-55p8 |
web/package-lock.json |
| high | osv/GHSA-xwg4-73v4-xw9w: [email protected] (npm) is affected by GHSA-xwg4-73v4-xw9w |
web/package-lock.json |
| high | osv/GHSA-6g55-p6wh-862q: [email protected] (npm) is affected by GHSA-6g55-p6wh-862q |
web/package-lock.json |
| high | osv/GHSA-r28c-9q8g-f849: [email protected] (npm) is affected by GHSA-r28c-9q8g-f849 |
web/package-lock.json |
| high | osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q |
web/package-lock.json |
| high | osv/GHSA-587h-7wmj-h5pm: [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm |
web/package-lock.json |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/build-import.yml:10 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build-import.yml:40 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build-import.yml:71 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build-import.yml:82 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/close-inactive-issues.yml:26 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/close-inactive-issues.yml:30 |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/compat-daily.yml:32 |
| high | zizmor/excessive-permissions: overly broad permissions [confidence high] |
.github/workflows/compat-daily.yml:33 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:42 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:45 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:122 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:125 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:137 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:147 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/compat-daily.yml:440 |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- binary-release-asset: release v2.3.0 ships clawgod-import-windows-x64.exe (1403 downloads)
- binary-release-asset: release v2.3.0 ships install.ps1 (3012 downloads)
- binary-release-asset: release v2.2.0 ships clawgod-import-windows-x64.exe (314 downloads)
- binary-release-asset: release v2.2.0 ships install.ps1 (824 downloads)
- binary-release-asset: release v2.1.0 ships clawgod-import-windows-x64.exe (181 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 35,282; test lines: 3,365
| Language | Lines |
|---|---|
| JavaScript | 13,235 |
| PowerShell | 12,279 |
| Shell | 11,753 |
| Python | 691 |
| Rust | 478 |
| TypeScript | 211 |