RepoTrust

Leaderboard github.com

pzfreo/wormgear

A tool for creating 3D models of worm gears

  • View repository ↗
  • Python
  • ★ 7
  • commit b2e287f9717c
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

74%

explicit

Confidence
95%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

68/100

adequate

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

66/100

weak

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

74% explicit

Explicit AI attribution on 74% of first-party code added; an estimated 74% including velocity signals.

How the score is built

  • Explicitly attributed share74%
  • Unattributed share in AI-pace bursts23%
  • Estimated AI-generated share74%
  • AI tool configuration files1
  • Work sessions at AI pace3
  • Releases at AI pace0
  • Coding-style index (1.0+ means possible)1.00

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code22250,3242026-01-172026-06-11

Lines added per month all AI-attributed share

  1. 2026-0149,436 · 65% AI
  2. 2026-0212,815 · 99% AI
  3. 2026-030 · 0% AI
  4. 2026-055,269 · 100% AI
  5. 2026-0661 · 100% AI
  6. 2026-0859 · 0% AI

Findings in AI-attributed lines vs the rest

From git blame: 19,649 lines trace to AI-attributed commits, 769 to others. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality2.1910.400.21×
Security1.020.00—

Evidence by analyzer

Explicit AI attributionok26 items
attributed_commit_share
68.9%
attributed_commits
222
attributed_loc
50,324
attributed_loc_share
74.4%
commits
322
effective_loc
67,640
tools_detected
1
AI tool configurationok1 item
artifacts
1
earliest_adoption
2026-01-17
tools_configured
1
workflow_agents
0
Commit velocityok3 items
excluded_import_loc
0
flagged_loc
24,994
flagged_loc_share
37.0%
flagged_units
3
max_loc_per_hour
2,176.98
measured_loc
67,552
median_loc_per_hour
190.59
pr_timed_units
122
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
137
Release velocityok
flagged_releases
0
max_loc_per_day
11,792.40
releases
55
Coding styleok
count:assistant_voice
0
count:emoji_in_code
41
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
8
files:narrated_steps
0
files:placeholder
0
index
1.00
lines_scanned
20,418
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
2.01
per_kloc:narrated_steps
0
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
19,649
blame_failures
0
files_blamed
55
other_lines
769
quality:ai_findings
43
quality:ai_per_kloc
2.19
quality:other_findings
8
quality:other_per_kloc
10.40
quality:ratio
0.21
security:ai_findings
20
security:ai_per_kloc
1.02
security:other_findings
0
security:other_per_kloc
0

Code quality

68 adequate

Code quality is adequate: test-to-source ratio 0.63, CI runs tests; 36% of function code in complex or long functions; 8% duplicated lines. Weakest area: complexity.

How the score is built

  • Complexity34
  • Duplication60
  • Lint and smells48
  • Tests and CI100
  • Documentation85
  • Type safety99
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok10 items
complex_functions
35
function_nloc
10,720
functions
438
long_functions
12
many_param_functions
19
mean_ccn
5.80
p90_ccn
13
risky_nloc_share
35.7%
Duplication (jscpd)ok10 items
compared_lines
15,233
duplicated_lines
1,276
duplicated_share
8.4%
files
55
Lintok
category:best-practice
17
category:correctness
18
category:maintainability
16
findings
51
scanned_lines
20,418
weighted_findings
59.50
Tests and CIok6 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI config: .github/workflows/deploy-web.yml .github/workflows/deploy-web.yml
  • CI config: .github/workflows/publish.yml .github/workflows/publish.yml
  • CI config: .github/workflows/test-web-build.yml .github/workflows/test-web-build.yml
  • CI runs tests (pytest)
  • CI runs linters (ruff, mypy, black --check)
check:ci_present
yes
check:ci_runs_lint
yes
check:ci_runs_tests
yes
check:has_tests
yes
check:test_ratio
yes
check:tests_cochange
yes
ci_files
4
cochange_commits
180
cochange_share
27.2%
source_lines
20,418
test_lines
12,779
test_ratio
0.63
Documentationok3 items
  • README.md README.md
  • LICENSE LICENSE
  • CHANGELOG.md CHANGELOG.md
check:changelog
yes
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
134
Type safetyok1 item
  • Python strict type checking: pyproject.toml pyproject.toml
check:low_escape_density
yes
check:strict_config
no
escapes
42
escapes_per_kloc
2.68

Security

66 weak

Security posture is weak: 5 known vulnerabilities in 2 dependencies; 8 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: ci actions.

How the score is built

  • Secrets100
  • Static analysis (SAST)86
  • Vulnerable dependencies77
  • CI workflows1
  • Security posture20
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
11
declared
11
lookup_errors
0
missing
0
recent
0
Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
20
findings_high
8
findings_low
0
findings_medium
12
parse_errors
0
scanned_lines
20,418
weighted_findings
9
Dependencies (osv-scanner)ok
penalty
16
vulnerabilities
5
vulnerable_packages
2
vulns_critical
0
vulns_high
4
vulns_low
0
vulns_medium
1
vulns_unknown
0
CI workflows (zizmor)ok
findings
41
findings_high
24
findings_low
8
findings_medium
9
penalty
312
workflows
4
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
yes
signed_commit_share
90.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

44 high55 medium18 low

SeverityRuleLocationMessageTool
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/core/geometry_repair.py:108 Using 'f.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'f.name' is used. Use '.flush()' or close the file before using 'f.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/core/geometry_repair.py:151 Using 'f.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'f.name' is used. Use '.flush()' or close the file before using 'f.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/core/worm.py:901 Using 'f.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'f.name' is used. Use '.flush()' or close the file before using 'f.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/io/package.py:107 Using 'tmp.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'tmp.name' is used. Use '.flush()' or close the file before using 'tmp.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/io/package.py:142 Using 'tmp.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'tmp.name' is used. Use '.flush()' or close the file before using 'tmp.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/io/package.py:187 Using 'tmp.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'tmp.name' is used. Use '.flush()' or close the file before using 'tmp.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/io/package.py:69 Using 'tmp.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'tmp.name' is used. Use '.flush()' or close the file before using 'tmp.name'. Lint
high opengrep/python.lang.correctness.tempfile.tempfile-without-flush src/wormgear/io/package.py:85 Using 'tmp.name' without '.flush()' or '.close()' may cause an error because the file may not exist when 'tmp.name' is used. Use '.flush()' or close the file before using 'tmp.name'. Lint
high zizmor/unpinned-uses .github/workflows/ci.yml:102 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:119 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:122 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:140 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:143 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:17 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:20 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:49 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:61 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:64 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:99 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/deploy-web.yml:31 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/deploy-web.yml:34 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/deploy-web.yml:55 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/deploy-web.yml:61 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:12 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:15 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:26 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:53 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:59 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:89 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:95 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/test-web-build.yml:22 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/test-web-build.yml:25 unpinned action reference [confidence high] CI workflows (zizmor)
high opengrep/javascript.browser.security.insecure-document-method web/app.js:407 User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-innerhtml web/app.js:407 User controlled data in a `container.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-document-method web/app.js:712 User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-innerhtml web/app.js:712 User controlled data in a `document.getElementById('spec-sheet').innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-document-method web/modules/bore-calculator.js:58 User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-innerhtml web/modules/bore-calculator.js:58 User controlled data in a `el.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-document-method web/modules/generator-ui.js:132 User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high opengrep/javascript.browser.security.insecure-innerhtml web/modules/generator-ui.js:132 User controlled data in a `summary.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] Static analysis (opengrep)
high osv/GHSA-2883-xcg3-v3hh web/package-lock.json [email protected] (npm) is affected by GHSA-2883-xcg3-v3hh Dependencies (osv-scanner)
high osv/GHSA-52cp-r559-cp3m web/package-lock.json [email protected] (npm) is affected by GHSA-52cp-r559-cp3m Dependencies (osv-scanner)
high osv/GHSA-5p4m-2wfm-xmqj web/package-lock.json [email protected] (npm) is affected by GHSA-5p4m-2wfm-xmqj Dependencies (osv-scanner)
high osv/GHSA-r5fr-rjxr-66jc web/package-lock.json [email protected] (npm) is affected by GHSA-r5fr-rjxr-66jc Dependencies (osv-scanner)
medium opengrep/python.lang.maintainability.is-function-without-parentheses scripts/compare_step.py:73 Is "is_valid" a function or an attribute? If it is a function, you may have meant part.is_valid() because part.is_valid is always true. Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding scripts/export_sample_gltf.py:99 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses scripts/generate_comparison_steps.py:61 Is "is_valid" a function or an attribute? If it is a function, you may have meant solid.is_valid() because solid.is_valid is always true. Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding scripts/generate_schemas.py:125 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding scripts/generate_schemas.py:74 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding scripts/generate_schemas.py:95 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding src/wormgear/cli/generate.py:254 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/features.py:172 Is "is_shaft" a function or an attribute? If it is a function, you may have meant self.is_shaft() because self.is_shaft is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/features.py:549 Is "is_shaft" a function or an attribute? If it is a function, you may have meant keyway.is_shaft() because keyway.is_shaft is always true. Lint
medium opengrep/python.lang.maintainability.useless-if-body src/wormgear/core/features.py:549 Useless if statement; both blocks have the same body Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/geometry_repair.py:114 Is "is_valid" a function or an attribute? If it is a function, you may have meant reimported.is_valid() because reimported.is_valid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/geometry_repair.py:47 Is "is_valid" a function or an attribute? If it is a function, you may have meant part.is_valid() because part.is_valid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/geometry_repair.py:59 Is "is_valid" a function or an attribute? If it is a function, you may have meant result.is_valid() because result.is_valid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/geometry_repair.py:89 Is "is_valid" a function or an attribute? If it is a function, you may have meant result.is_valid() because result.is_valid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/geometry_repair.py:99 Is "is_valid" a function or an attribute? If it is a function, you may have meant result.is_valid() because result.is_valid is always true. Lint
medium opengrep/python.lang.best-practice.logging-error-without-handling src/wormgear/core/globoid_worm.py:513 Errors should only be logged when handled. The code logs the error and propogates the exception, consider reducing the level to warning or info. Lint
medium opengrep/python.lang.best-practice.logging-error-without-handling src/wormgear/core/globoid_worm.py:960 Errors should only be logged when handled. The code logs the error and propogates the exception, consider reducing the level to warning or info. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/rim_thickness.py:222 Is "is_valid" a function or an attribute? If it is a function, you may have meant result.is_valid() because result.is_valid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/virtual_hobbing.py:218 Is "is_shaft" a function or an attribute? If it is a function, you may have meant self.keyway.is_shaft() because self.keyway.is_shaft is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/wheel.py:110 Is "is_globoid" a function or an attribute? If it is a function, you may have meant self.is_globoid() because self.is_globoid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/wheel.py:186 Is "is_globoid" a function or an attribute? If it is a function, you may have meant self.is_globoid() because self.is_globoid is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/wheel.py:96 Is "is_shaft" a function or an attribute? If it is a function, you may have meant self.keyway.is_shaft() because self.keyway.is_shaft is always true. Lint
medium opengrep/python.lang.maintainability.is-function-without-parentheses src/wormgear/core/worm.py:104 Is "is_shaft" a function or an attribute? If it is a function, you may have meant self.keyway.is_shaft() because self.keyway.is_shaft is always true. Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding src/wormgear/io/loaders.py:489 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/python.lang.best-practice.unspecified-open-encoding src/wormgear/io/loaders.py:543 Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding="utf-8"). Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:1035 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:1172 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:1264 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:1270 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:940 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:944 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:956 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.best-practice.javascript-alert web/app.js:961 found alert() call; should this be in production code? Lint
medium zizmor/excessive-permissions .github/workflows/ci.yml:1 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:10 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:116 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:137 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:58 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:96 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/publish.yml:1 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/publish.yml:9 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/test-web-build.yml:18 overly broad permissions [confidence medium] CI workflows (zizmor)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:348 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:349 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:351 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:379 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:382 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:404 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/app.js:712 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/modules/bore-calculator.js:56 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/modules/format-utils.js:185 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/modules/format-utils.js:207 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/modules/generator-ui.js:65 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string web/modules/generator-ui.js:68 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium osv/GHSA-f23m-r3pf-42rh web/package-lock.json [email protected] (npm) is affected by GHSA-f23m-r3pf-42rh Dependencies (osv-scanner)
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/publish.sh:57 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/publish.sh:76 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:190 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:190 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:233 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:233 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:254 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:254 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:61 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator web/generator-worker.js:61 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low zizmor/artipacked .github/workflows/ci.yml:119 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:140 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:17 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:61 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/ci.yml:99 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/deploy-web.yml:30 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/publish.yml:12 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/test-web-build.yml:22 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceokprov-40
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Findings in AI-written linesAI provenanceokgit-blame0
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b41451
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.041
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.15
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b41420
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14b2e287f9717cprov-5+qual-2+sec-274%6866
2026-11-14b2e287f9717cprov-4+qual-2+sec-274%6866

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/pzfreo/wormgear/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/pzfreo/wormgear/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/pzfreo/wormgear/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/pzfreo/wormgear/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/pzfreo/wormgear/security.svg)](https://repotrust.synapticcyber.com/r/github.com/pzfreo/wormgear/)
Full text report
  • Repository: https://github.com/pzfreo/wormgear
  • Commit: b2e287f9717c851eb2f6dc942f045f72201b6c77
  • Generated: 2026-11-14T14:52:06+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 74 explicit 95% 100%
Code quality 68 adequate 90% 100%
Security 66 weak 85% 100%

AI provenance

Explicit AI attribution on 74% of first-party code added; an estimated 74% including velocity signals.

  • Explicitly attributed share (lower bound): 74.4%
  • Unattributed share in AI-consistent velocity bursts: 22.9%
  • Estimated AI-generated share: 74.4%
AI tool Attributed commits Lines added
Claude Code 222 50,324
  • AI tooling configured in repo: claude-code

Current source lines last changed by AI-attributed commits: 19,649 of 20,418.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 2.188 10.403 0.21x
Security 1.018 0.0 n/a
  • Stylometry index: 1.00 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 41). Reported as a signal, not scored.
Month Lines added Attributed to AI
2026-01 49,436 65%
2026-02 12,815 99%
2026-05 5,269 100%
2026-06 61 100%
2026-08 59 0%

Evidence

  • Claude Code: trailer 'Co-Authored-By: Claude' (f4f85fdfcca5)
  • Claude Code: trailer 'Co-authored-by: Claude' (d1750b04407a)
  • Claude Code: trailer 'Co-authored-by: Claude' (f5fc84386025)
  • Claude Code: trailer 'Co-authored-by: Claude' (c068ab9b8ebc)
  • Claude Code: PR description attribution (7d288bce80ab)
  • Claude Code: trailer 'Co-authored-by: Claude' (164b21f16581)
  • Claude Code: trailer 'Co-authored-by: Claude' (24d43d3cf324)
  • Claude Code: trailer 'Co-authored-by: Claude' (10bc00ec65de)
  • Claude Code: trailer 'Co-authored-by: Claude' (0b8e3c889f26)
  • Claude Code: trailer 'Co-authored-by: Claude' (118660820a0c)
  • Claude Code: trailer 'Co-authored-by: Claude' (246f594f01e7)
  • Claude Code: trailer 'Co-Authored-By: Claude' (c814a2db9a9f)
  • Claude Code: trailer 'Co-authored-by: Claude' (78f70afe6bea)
  • Claude Code: trailer 'Co-authored-by: Claude' (a0f20229a6a4)
  • Claude Code: trailer 'Co-Authored-By: Claude' (bf157a8e3c10)

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 adequate: test-to-source ratio 0.63, CI runs tests; 36% of function code in complex or long functions; 8% duplicated lines. Weakest area: complexity.

Area Score
Complexity (lizard) 34
Duplication 60
Code smells (Opengrep) 48
Tests and CI 100
Documentation 85
Type safety 99
Process (Scorecard review/maintenance) n/a
  • Functions: 438; mean complexity 5.8, 90th percentile 13; 35 complex and 12 long functions
  • Duplicated lines: 8.4% of 15,233 compared
  • Tests: 12,779 test lines for 20,418 source lines (ratio 0.63); CI test commands: pytest; 27% of recent source commits also change tests
  • Docs missing or thin: contributing

Most complex functions:

Security

Security posture is weak: 5 known vulnerabilities in 2 dependencies; 8 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: ci actions.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 86
Vulnerable dependencies (OSV) 77
CI workflows (zizmor) 1
Posture (policy, updates, signing, lockfiles) 20
OpenSSF Scorecard n/a
  • Known vulnerabilities: 5 in 2 packages (critical 0, high 4, medium 1, low 0)

  • Posture checks passed: signed commits, lockfiles; missing: security policy, dependency updates

Top findings

Severity Finding Location
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/app.js:407
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a container.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] web/app.js:407
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/app.js:712
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a document.getElementById('spec-sheet').innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] web/app.js:712
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/modules/bore-calculator.js:58
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a el.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] web/modules/bore-calculator.js:58
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/modules/generator-ui.js:132
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a summary.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] web/modules/generator-ui.js:132
high osv/GHSA-2883-xcg3-v3hh: [email protected] (npm) is affected by GHSA-2883-xcg3-v3hh web/package-lock.json
high osv/GHSA-52cp-r559-cp3m: [email protected] (npm) is affected by GHSA-52cp-r559-cp3m web/package-lock.json
high osv/GHSA-5p4m-2wfm-xmqj: [email protected] (npm) is affected by GHSA-5p4m-2wfm-xmqj web/package-lock.json
high osv/GHSA-r5fr-rjxr-66jc: [email protected] (npm) is affected by GHSA-r5fr-rjxr-66jc web/package-lock.json
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:17
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:20
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:49
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:61
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:64
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:99
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:102
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:119
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:122
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:140
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:143
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/deploy-web.yml:31
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/deploy-web.yml:34

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.

Repository profile

  • Source lines: 20,418; test lines: 12,779
Language Lines
Python 27,673
JavaScript 4,891
Shell 392
TypeScript 241