RepoTrust

cityssm/sunrise-cms

Sunrise Cemetery Management System - A completely free, open source, web-based application to assist cemetery managers with managing their cemetery records.

https://github.com/cityssm/sunrise-cms · commit 12b2b96297bc · scored 2026-11-14 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 11 explicit 95% 100%
Code quality 59 weak 90% 100%
Security 65 weak 85% 100%

AI provenance

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

AI tool Attributed commits Lines added
GitHub Copilot coding agent 64 37,580

Current source lines last changed by AI-attributed commits: 23,894 of 110,191.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 0.167 0.232 0.72x
Security 1.674 3.013 0.56x
Month Lines added Attributed to AI
2025-07 9,116 0%
2025-08 18,047 43%
2025-09 9,773 0%
2025-10 8,239 28%
2026-02 24,159 43%
2026-03 20,912 49%
2026-04 2,520 0%
2026-07 597 0%
2026-08 7,898 0%
2026-09 6,226 0%
2026-10 6,131 13%
2026-11 8,874 68%

Evidence

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.04, CI runs tests; 24% of function code in complex or long functions; 38% duplicated lines. Weakest area: duplication.

Area Score
Complexity (lizard) 48
Duplication 10
Code smells (Opengrep) 96
Tests and CI 72
Documentation 80
Type safety 40
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is weak: 3 known vulnerabilities in 3 dependencies; 306 high-severity SAST findings; 10 high-severity workflow issues. Weakest area: ci actions.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 29
Vulnerable dependencies (OSV) 89
CI workflows (zizmor) 11
Posture (policy, updates, signing, lockfiles) 80
OpenSSF Scorecard n/a

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] public/javascripts/auditLog.admin.js:66
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a auditLogContainerElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/auditLog.admin.js:66
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] public/javascripts/auditLog.admin.js:122
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a auditLogContainerElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/auditLog.admin.js:122
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] public/javascripts/auditLog.admin.ts:105
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a auditLogContainerElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/auditLog.admin.ts:105
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] public/javascripts/auditLog.admin.ts:170
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a auditLogContainerElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/auditLog.admin.ts:170
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] public/javascripts/burialSite.creator.js:26
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a panelBlockElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.js:26
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] public/javascripts/burialSite.creator.js:129
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a panelBlockElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.js:129
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] public/javascripts/burialSite.creator.js:187
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a cemeteryKeyFromSpanElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.js:187
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] public/javascripts/burialSite.creator.js:188
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a cemeteryKeyToSpanElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.js:188
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] public/javascripts/burialSite.creator.ts:66
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a panelBlockElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.ts:66
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] public/javascripts/burialSite.creator.ts:219
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a panelBlockElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.ts:219
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] public/javascripts/burialSite.creator.ts:314
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a cemeteryKeyFromSpanElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.ts:314
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] public/javascripts/burialSite.creator.ts:315
high opengrep/javascript.browser.security.insecure-innerhtml: User controlled data in a cemeteryKeyToSpanElement.innerHTML is an anti-pattern that can lead to XSS vulnerabilities [confidence low] public/javascripts/burialSite.creator.ts:315
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] public/javascripts/burialSite.edit.js:87

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

Language Lines
TypeScript 72,182
JavaScript 42,434

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/cityssm/sunrise-cms/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/cityssm/sunrise-cms/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/cityssm/sunrise-cms/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/cityssm/sunrise-cms/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/cityssm/sunrise-cms/security.svg)](https://repotrust.synapticcyber.com/r/github.com/cityssm/sunrise-cms/)