RepoTrust

Leaderboard github.com

Monnoroch/ColorHighlighter

ColorHighlighter - is a plugin for the Sublime text 2 and 3, which underlays selected hexadecimal colorcodes (like "#FFFFFF", "rgb(255,255,255)", "white", etc.) with their real color. Also, plugin adds color picker to easily modify colors. Documentation: https://monnoroch.github.io/ColorHighlighter.

  • View repository ↗
  • C#
  • ★ 1,294
  • commit 833bcfb55820
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
65%
Coverage
100%

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

Code quality

57/100

weak

Confidence
90%
Coverage
100%

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

Security

77/100

adequate

Confidence
85%
Coverage
100%

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

AI provenance

0% none-detected

No AI attribution or AI-consistent velocity signals detected.

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pace0
  • Coding-style index (1.0+ means possible)0.00

Lines added per month all AI-attributed share

  1. 2012-03135 · 0% AI
  2. 2012-04222 · 0% AI
  3. 2012-05696 · 0% AI
  4. 2012-072 · 0% AI
  5. 2013-02267 · 0% AI
  6. 2013-032 · 0% AI
  7. 2013-0444 · 0% AI
  8. 2013-051 · 0% AI
  9. 2013-080 · 0% AI
  10. 2013-112 · 0% AI
  11. 2014-031,149 · 0% AI
  12. 2014-042,110 · 0% AI
  13. 2014-05363 · 0% AI
  14. 2014-0628 · 0% AI
  15. 2014-0716 · 0% AI
  16. 2014-083 · 0% AI
  17. 2014-0930 · 0% AI
  18. 2014-1022 · 0% AI
  19. 2014-110 · 0% AI
  20. 2014-1254 · 0% AI
  21. 2015-024 · 0% AI
  22. 2015-031 · 0% AI
  23. 2015-040 · 0% AI
  24. 2015-060 · 0% AI
  25. 2015-082,551 · 0% AI
  26. 2015-09615 · 0% AI
  27. 2015-1024,289 · 0% AI
  28. 2015-121 · 0% AI
  29. 2016-02113 · 0% AI
  30. 2016-033 · 0% AI
  31. 2016-061 · 0% AI
  32. 2016-090 · 0% AI
  33. 2016-1024 · 0% AI
  34. 2017-070 · 0% AI
  35. 2017-080 · 0% AI
  36. 2017-098,390 · 0% AI
  37. 2017-10309 · 0% AI
  38. 2017-127 · 0% AI
  39. 2018-010 · 0% AI

Evidence by analyzer

Explicit AI attributionok
attributed_commit_share
0.0%
attributed_commits
0
attributed_loc
0
attributed_loc_share
0.0%
commits
435
effective_loc
41,454
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
32,375
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
236.58
measured_loc
9,079
median_loc_per_hour
64.80
pr_timed_units
2
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
9,079
work_units
168
Release velocityok
flagged_releases
0
max_loc_per_day
1,555.20
releases
12
Coding styleok
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
0
index
0
lines_scanned
17,939
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

57 weak

Code quality is weak: test-to-source ratio 0.16, no CI test run detected; 8% of function code in complex or long functions; 16% duplicated lines. Weakest area: duplication.

How the score is built

  • Complexity80
  • Duplication39
  • Lint and smells87
  • Tests and CI44
  • Documentation40
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok7 items
complex_functions
5
function_nloc
7,884
functions
778
long_functions
2
many_param_functions
0
mean_ccn
2.51
p90_ccn
5
risky_nloc_share
7.7%
Duplication (jscpd)ok10 items
compared_lines
11,231
duplicated_lines
1,754
duplicated_share
15.6%
files
88
Lintok
category:best-practice
3
category:correctness
5
findings
8
scanned_lines
17,778
weighted_findings
10.25
Tests and CIok1 item
  • CI config: .gitlab-ci.yml .gitlab-ci.yml
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
no
ci_files
1
cochange_commits
209
cochange_share
1.9%
source_lines
17,939
test_lines
2,838
test_ratio
0.16
Documentationok1 item
  • README.md README.md
check:changelog
no
check:contributing
no
check:license
no
check:readme
yes
readme_lines
115
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
0
escapes_per_kloc
0

Security

77 adequate

Security posture is adequate: 8 high-severity SAST findings. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)87
  • Vulnerable dependenciesnot measured
  • CI workflowsnot measured
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesskipped

no registry dependencies declared

Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
9
findings_high
8
findings_low
0
findings_medium
1
parse_errors
0
scanned_lines
17,778
weighted_findings
7.30
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
1.5%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

11 high1 medium5 low

SeverityRuleLocationMessageTool
high opengrep/python.lang.best-practice.open-never-closed elementtree/ElementTree.py:608 file object opened without corresponding close Lint
high opengrep/python.lang.best-practice.open-never-closed elementtree/ElementTree.py:687 file object opened without corresponding close Lint
high opengrep/python.lang.best-practice.open-never-closed elementtree/ElementTree.py:927 file object opened without corresponding close Lint
high opengrep/python.lang.security.use-defused-xml color_scheme.py:4 The Python documentation recommends using `defusedxml` instead of `xml` because the native Python `xml` library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause... Static analysis (opengrep)
high opengrep/python.lang.security.use-defused-xml color_scheme_color_highlighter.py:4 The Python documentation recommends using `defusedxml` instead of `xml` because the native Python `xml` library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause... Static analysis (opengrep)
high opengrep/python.lang.security.use-defused-xml elementtree/ElementTree.py:1172 The Python documentation recommends using `defusedxml` instead of `xml` because the native Python `xml` library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause... Static analysis (opengrep)
high opengrep/python.lang.security.use-defused-xml elementtree/ElementTree.py:1254 The Python documentation recommends using `defusedxml` instead of `xml` because the native Python `xml` library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause... Static analysis (opengrep)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit gutter_icons_color_highlighter.py:119 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... Static analysis (opengrep)
high opengrep/python.lang.security.audit.subprocess-shell-true gutter_icons_color_highlighter.py:119 Found 'subprocess' function 'Popen' with 'shell=True'. This is dangerous because this call will spawn the command using a shell process. Doing so propagates current shell settings and variables, which makes it much easier for a... Static analysis (opengrep)
high opengrep/python.lang.security.use-defused-xml main.py:48 The Python documentation recommends using `defusedxml` instead of `xml` because the native Python `xml` library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause... Static analysis (opengrep)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit pick_color_command.py:61 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... Static analysis (opengrep)
medium opengrep/dockerfile.security.secret-in-build-arg ci/Dockerfile:41 Docker build time arguments are not suited for secrets, because the argument values are saved with the image. Running `docker image history` on the image will show information on how the image was built, including arguments. If these... Static analysis (opengrep)
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command ci/integration-tests.sh:17 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 ci/run-container.sh:43 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 ci/run-container.sh:44 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 ci/run-integration-test.sh:14 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 ci/run-integration-test.sh:5 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

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
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4148
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityskipped—0
Dependencies (osv-scanner)Securityskipped—0
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityskipped—0no registry dependencies declared
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4149
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-14833bcfb55820prov-5+qual-2+sec-20%5777
2026-11-14833bcfb55820prov-4+qual-2+sec-20%5777

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/Monnoroch/ColorHighlighter/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/Monnoroch/ColorHighlighter/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/Monnoroch/ColorHighlighter/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/Monnoroch/ColorHighlighter/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/Monnoroch/ColorHighlighter/security.svg)](https://repotrust.synapticcyber.com/r/github.com/Monnoroch/ColorHighlighter/)
Full text report

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 65% 100%
Code quality 57 weak 90% 100%
Security 77 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
Month Lines added Attributed to AI
2015-03 1 0%
2015-08 2,551 0%
2015-09 615 0%
2015-10 24,289 0%
2015-12 1 0%
2016-02 113 0%
2016-03 3 0%
2016-06 1 0%
2016-10 24 0%
2017-09 8,390 0%
2017-10 309 0%
2017-12 7 0%

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.16, no CI test run detected; 8% of function code in complex or long functions; 16% duplicated lines. Weakest area: duplication.

Area Score
Complexity (lizard) 80
Duplication 39
Code smells (Opengrep) 87
Tests and CI 44
Documentation 40
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 778; mean complexity 2.5, 90th percentile 5; 5 complex and 2 long functions
  • Duplicated lines: 15.6% of 11,231 compared
  • Tests: 2,838 test lines for 17,939 source lines (ratio 0.16); CI test commands: none detected; 2% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

Most complex functions:

Security

Security posture is adequate: 8 high-severity SAST findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 87
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

Top findings

Severity Finding Location
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] color_scheme.py:4
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] color_scheme_color_highlighter.py:4
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] elementtree/ElementTree.py:1172
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] elementtree/ElementTree.py:1254
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] gutter_icons_color_highlighter.py:119
high opengrep/python.lang.security.audit.subprocess-shell-true: Found 'subprocess' function 'Popen' with 'shell=True'. This is dangerous because this call will spawn the command using a shell process. Doing so propagates current shell settings and variables, which makes it much easier for a malicious actor to execute commands. Use 'shell=False' instead. [confidence medium] gutter_icons_color_highlighter.py:119
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] main.py:48
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] pick_color_command.py:61
medium opengrep/dockerfile.security.secret-in-build-arg: Docker build time arguments are not suited for secrets, because the argument values are saved with the image. Running docker image history on the image will show information on how the image was built, including arguments. If these contain plain text secrets, anyone with access to the docker image [confidence low] ci/Dockerfile:41

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: 17,939; test lines: 2,838
Language Lines
C# 11,979
Python 8,282
Shell 306
Objective-C 161
C++ 49