RepoTrust

Leaderboard github.com

Koschi13/nixos-configuration

My NixOS configuration

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

AI provenance

69%

explicit

Confidence
95%
Coverage
100%

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

Code quality

56/100

weak

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

69% explicit

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

How the score is built

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

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Claude Code144,6872026-11-032026-11-13

Lines added per month all AI-attributed share

  1. 2022-100 · 0% AI
  2. 2023-1095 · 0% AI
  3. 2023-114 · 0% AI
  4. 2024-0124 · 0% AI
  5. 2024-0240 · 0% AI
  6. 2024-030 · 0% AI
  7. 2024-040 · 0% AI
  8. 2024-050 · 0% AI
  9. 2024-060 · 0% AI
  10. 2024-07134 · 0% AI
  11. 2024-080 · 0% AI
  12. 2024-090 · 0% AI
  13. 2024-100 · 0% AI
  14. 2024-110 · 0% AI
  15. 2024-120 · 0% AI
  16. 2025-011 · 0% AI
  17. 2025-0219 · 0% AI
  18. 2025-03213 · 0% AI
  19. 2025-040 · 0% AI
  20. 2025-050 · 0% AI
  21. 2025-0617 · 0% AI
  22. 2025-07255 · 0% AI
  23. 2025-08119 · 0% AI
  24. 2025-0913 · 0% AI
  25. 2025-100 · 0% AI
  26. 2025-110 · 0% AI
  27. 2025-1221 · 0% AI
  28. 2026-0111 · 0% AI
  29. 2026-020 · 0% AI
  30. 2026-030 · 0% AI
  31. 2026-04798 · 0% AI
  32. 2026-050 · 0% AI
  33. 2026-060 · 0% AI
  34. 2026-071 · 0% AI
  35. 2026-080 · 0% AI
  36. 2026-090 · 0% AI
  37. 2026-1036 · 0% AI
  38. 2026-115,030 · 93% AI

Findings in AI-attributed lines vs the rest

From git blame: 3,226 lines trace to AI-attributed commits, 1,050 to others. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality3.725.710.65×
Security0.002.860.00×

Evidence by analyzer

Explicit AI attributionok15 items
attributed_commit_share
3.0%
attributed_commits
14
attributed_loc
4,687
attributed_loc_share
68.6%
commits
470
effective_loc
6,831
tools_detected
1
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok1 item
excluded_import_loc
0
flagged_loc
4,670
flagged_loc_share
68.4%
flagged_units
1
max_loc_per_hour
1,167.50
measured_loc
6,831
median_loc_per_hour
36.75
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
49
Release velocityskipped
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
4,276
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0
Findings in AI-written linesok
ai_lines
3,226
blame_failures
0
files_blamed
39
other_lines
1,050
quality:ai_findings
12
quality:ai_per_kloc
3.72
quality:other_findings
6
quality:other_per_kloc
5.71
quality:ratio
0.65
security:ai_findings
0
security:ai_per_kloc
0
security:other_findings
3
security:other_per_kloc
2.86
security:ratio
0

Code quality

56 weak

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

How the score is built

  • Complexity79
  • Duplication86
  • Lint and smells13
  • Tests and CI54
  • Documentation40
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok1 item
complex_functions
1
function_nloc
2,250
functions
195
long_functions
1
many_param_functions
0
mean_ccn
2.94
p90_ccn
5
risky_nloc_share
8.0%
Duplication (jscpd)ok1 item
compared_lines
3,196
duplicated_lines
82
duplicated_share
2.6%
files
39
Lintok
category:correctness
6
category:maintainability
12
findings
18
scanned_lines
3,850
weighted_findings
31.50
Tests and CIok1 item
  • CI config: .github/workflows/gitleaks.yaml .github/workflows/gitleaks.yaml
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
23
cochange_share
4.3%
source_lines
4,276
test_lines
1,461
test_ratio
0.34
Documentationok1 item
  • README.md README.md
check:changelog
no
check:contributing
no
check:license
no
check:readme
yes
readme_lines
266
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
0
escapes_per_kloc
0

Security

66 weak

Security posture is weak: 1 known vulnerabilities in 1 dependencies; 3 high-severity SAST findings; 2 high-severity workflow issues. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)21
  • Vulnerable dependencies95
  • CI workflows64
  • Security posture20
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
12
declared
12
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
26
findings_high
3
findings_low
0
findings_medium
23
parse_errors
3
scanned_lines
3,850
weighted_findings
17.10
Dependencies (osv-scanner)ok
penalty
3
vulnerabilities
1
vulnerable_packages
1
vulns_critical
0
vulns_high
0
vulns_low
0
vulns_medium
0
vulns_unknown
1
CI workflows (zizmor)ok
findings
4
findings_high
2
findings_low
1
findings_medium
1
penalty
26.70
workflows
1
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
yes
signed_commit_share
100.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

14 high28 medium7 low

SeverityRuleLocationMessageTool
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:162 function `_auth_error` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:172 function `_csrf_error` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:180 function `_conversion_error` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:385 function `login` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:399 function `oauth_start` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:414 function `oauth_callback` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:477 function `logout` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:484 function `forget_profile` is defined inside a function but never used Lint
high opengrep/python.lang.maintainability.useless-inner-function packages/firefly-importer-ing/src/firefly_importer_ing/web.py:671 function `_no_upload` is defined inside a function but never used Lint
high zizmor/unpinned-uses .github/workflows/gitleaks.yaml:13 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/gitleaks.yaml:16 unpinned action reference [confidence high] CI workflows (zizmor)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit modules/services/theme-switch [n]/theme.py:67 Detected subprocess function 'run' 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.dangerous-subprocess-use-tainted-env-args modules/services/theme-switch [n]/theme.py:68 Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] Static analysis (opengrep)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit modules/services/theme-switch [n]/theme.py:73 Detected subprocess function 'run' 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/python.lang.maintainability.return-not-in-function packages/firefly-importer-ing/src/firefly_importer_ing/converter.py:154 `return` only makes sense inside a function Lint
medium opengrep/python.lang.maintainability.return-not-in-function packages/firefly-importer-ing/src/firefly_importer_ing/converter.py:157 `return` only makes sense inside a function Lint
medium opengrep/python.lang.maintainability.return-not-in-function packages/firefly-importer-ing/src/firefly_importer_ing/converter.py:160 `return` only makes sense inside a function Lint
medium zizmor/excessive-permissions .github/workflows/gitleaks.yaml:9 overly broad permissions [confidence medium] CI workflows (zizmor)
medium osv/RUSTSEC-2026-0190 packages/compute_aspect_ratio/Cargo.lock [email protected] (crates.io) is affected by RUSTSEC-2026-0190 Dependencies (osv-scanner)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/base.html:27 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:16 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:26 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:36 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:108 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:20 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:45 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:18 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:23 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:33 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/accounts.html:19 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/accounts.html:32 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/names.html:4 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/processors.html:23 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/processors.html:37 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:13 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:18 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:29 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:67 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:74 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:79 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:93 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
medium opengrep/python.django.security.django-no-csrf-token packages/firefly-importer-ing/src/firefly_importer_ing/templates/upload.html:6 Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] Static analysis (opengrep)
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command modules/services/sway [Nn]/screenshot.sh:23 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 modules/services/sway [Nn]/screenshot.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 modules/services/sway [Nn]/screenshot.sh:79 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 modules/services/sway [Nn]/screenshot.sh:83 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 modules/services/sway [Nn]/screenshot.sh:88 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 modules/services/sway [Nn]/screenshot.sh:92 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 zizmor/artipacked .github/workflows/gitleaks.yaml:13 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 provenanceskipped—0
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 f1d2b562b41418
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.04
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.11
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b41426
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-14ba68752ea4b9prov-5+qual-2+sec-269%5666
2026-11-14ba68752ea4b9prov-4+qual-2+sec-269%5666

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

Scores

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

AI provenance

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

  • Explicitly attributed share (lower bound): 68.6%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 68.6%
AI tool Attributed commits Lines added
Claude Code 14 4,687

Current source lines last changed by AI-attributed commits: 3,226 of 4,276.

Findings per 1,000 lines AI-attributed Other Ratio
Quality 3.72 5.714 0.65x
Security 0.0 2.857 0.0x
Month Lines added Attributed to AI
2025-02 19 0%
2025-03 213 0%
2025-06 17 0%
2025-07 255 0%
2025-08 119 0%
2025-09 13 0%
2025-12 21 0%
2026-01 11 0%
2026-04 798 0%
2026-07 1 0%
2026-10 36 0%
2026-11 5,030 93%

Evidence

  • Claude Code: trailer 'Co-Authored-By: Claude' (5f6ce732c3bf)
  • Claude Code: trailer 'Co-Authored-By: Claude' (5d858498ed44)
  • Claude Code: trailer 'Co-Authored-By: Claude' (693c3223465a)
  • Claude Code: trailer 'Co-Authored-By: Claude' (af3be6a7b15b)
  • Claude Code: trailer 'Co-Authored-By: Claude' (24c3c97cba6e)
  • Claude Code: trailer 'Co-Authored-By: Claude' (98959440e026)
  • Claude Code: trailer 'Co-Authored-By: Claude' (a7b2d653e203)
  • Claude Code: trailer 'Co-Authored-By: Claude' (9d2401d87903)
  • Claude Code: trailer 'Co-Authored-By: Claude' (eaf61d367474)
  • Claude Code: trailer 'Co-Authored-By: Claude' (11f33a9f74d5)
  • Claude Code: trailer 'Co-Authored-By: Claude' (e7105e8008c9)
  • Claude Code: trailer 'Co-Authored-By: Claude' (96e155162c80)
  • Claude Code: trailer 'Co-Authored-By: Claude' (2c4297fcec9d)
  • Claude Code: trailer 'Co-Authored-By: Claude' (c17c5c3cbb9b)
  • 4,670 lines of first-party code in ~4.0h (1,168 lines/hour, 1 commit session) (5f6ce732c3bf)

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

Area Score
Complexity (lizard) 79
Duplication 86
Code smells (Opengrep) 13
Tests and CI 54
Documentation 40
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 195; mean complexity 2.9, 90th percentile 5; 1 complex and 1 long functions
  • Duplicated lines: 2.6% of 3,196 compared
  • Tests: 1,461 test lines for 4,276 source lines (ratio 0.34); CI test commands: none detected; 4% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

Most complex functions:

Security

Security posture is weak: 1 known vulnerabilities in 1 dependencies; 3 high-severity SAST findings; 2 high-severity workflow issues. Weakest area: posture.

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

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

Top findings

Severity Finding Location
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' 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] [modules/services/theme-switch [n]/theme.py:67](https://github.com/Koschi13/nixos-configuration/blob/ba68752ea4b9b1b5c48ea8e21680d91fdd765d3f/modules/services/theme-switch [n]/theme.py#L67)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-tainted-env-args: Detected subprocess function 'run' with user controlled data. A malicious actor could leverage this to perform command injection. You may consider using 'shlex.quote()'. [confidence medium] [modules/services/theme-switch [n]/theme.py:68](https://github.com/Koschi13/nixos-configuration/blob/ba68752ea4b9b1b5c48ea8e21680d91fdd765d3f/modules/services/theme-switch [n]/theme.py#L68)
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'run' 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] [modules/services/theme-switch [n]/theme.py:73](https://github.com/Koschi13/nixos-configuration/blob/ba68752ea4b9b1b5c48ea8e21680d91fdd765d3f/modules/services/theme-switch [n]/theme.py#L73)
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/gitleaks.yaml:13
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/gitleaks.yaml:16
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/base.html:27
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:16
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:26
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/login.html:36
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:20
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:45
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/preview.html:108
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:18
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:23
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/result.html:33
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/accounts.html:19
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/accounts.html:32
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/names.html:4
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/processors.html:23
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/processors.html:37
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:13
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:18
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/profile.html:29
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:67
medium opengrep/python.django.security.django-no-csrf-token: Manually-created forms in django templates should specify a csrf_token to prevent CSRF attacks. [confidence medium] packages/firefly-importer-ing/src/firefly_importer_ing/templates/settings/rules.html:74

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: 4,276; test lines: 1,461
Language Lines
Python 4,806
Lua 426
Shell 412
Rust 93