Leaderboard github.com
guthip/buoy-tracker
A real-time web interface for tracking Meshtastic mesh network nodes on a live map.
unreviewed-ai-risk
AI provenance
41%
explicit
- Confidence
- 95%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
44/100
poor
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
61/100
weak
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
41% explicit
Explicit AI attribution on 41% of first-party code added; an estimated 41% including velocity signals.
How the score is built
- Explicitly attributed share41%
- Unattributed share in AI-pace bursts0%
- Estimated AI-generated share41%
- AI tool configuration files0
- Work sessions at AI pace0
- Releases at AI pace0
- Coding-style index (1.0+ means possible)2.94
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 91 | 7,334 | 2025-12-16 | 2026-08-31 |
Lines added per month all AI-attributed share
- 2025-118,473 · 0% AI
- 2025-124,384 · 54% AI
- 2026-016 · 100% AI
- 2026-05680 · 100% AI
- 2026-073,706 · 100% AI
- 2026-08585 · 100% AI
- 2026-0998 · 0% AI
Findings in AI-attributed lines vs the rest
From git blame: 5,100 lines trace to AI-attributed commits, 3,410 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 3.33 | 2.64 | 1.26× |
| Security | 0.59 | 2.35 | 0.25× |
Evidence by analyzer
Explicit AI attributionok26 items
- Claude Code: 91 attributed commits, 7,334 lines added
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 36.5%
- attributed_commits
- 91
- attributed_loc
- 7,334
- attributed_loc_share
- 40.9%
- commits
- 249
- effective_loc
- 17,932
- tools_detected
- 1
AI tool configurationok
- artifacts
- 0
- tools_configured
- 0
- workflow_agents
- 0
Commit velocityok
- excluded_import_loc
- 2,884
- flagged_loc
- 0
- flagged_loc_share
- 0.0%
- flagged_units
- 0
- max_loc_per_hour
- 364.50
- measured_loc
- 15,048
- median_loc_per_hour
- 73.60
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 59
Release velocityok
- flagged_releases
- 0
- max_loc_per_day
- 1,143.50
- releases
- 18
Coding styleok
- count:assistant_voice
- 0
- count:emoji_in_code
- 50
- count:narrated_steps
- 0
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 6
- files:narrated_steps
- 0
- files:placeholder
- 0
- index
- 2.94
- lines_scanned
- 8,510
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 5.88
- per_kloc:narrated_steps
- 0
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 5,100
- blame_failures
- 0
- files_blamed
- 17
- other_lines
- 3,410
- quality:ai_findings
- 17
- quality:ai_per_kloc
- 3.33
- quality:other_findings
- 9
- quality:other_per_kloc
- 2.64
- quality:ratio
- 1.26
- security:ai_findings
- 3
- security:ai_per_kloc
- 0.59
- security:other_findings
- 8
- security:other_per_kloc
- 2.35
- security:ratio
- 0.25
Code quality
44 poor
Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 25% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing.
How the score is built
- Complexity47
- Duplication97
- Lint and smells45
- Tests and CI2
- Documentation65
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok10 items
- (anonymous) in static/app.js: complexity 124, 332 lines
- buildMapPopup in static/app.js: complexity 44, 101 lines
- _evaluate_alert_buffer in src/movement.py: complexity 40, 153 lines
- buildNodeCard in static/app.js: complexity 37, 59 lines
- window.showGatewayDetails in static/app.js: complexity 36, 91 lines
- on_mapreport in src/mqtt_handler.py: complexity 29, 55 lines
- _build_node_info_from_data in src/api_views.py: complexity 21, 69 lines
- xhr.onreadystatechange in static/app.js: complexity 21, 62 lines
- rebuild_history_from_db in src/mqtt_handler.py: complexity 20, 62 lines
- (anonymous) in static/app.js: complexity 20, 39 lines
- complex_functions
- 13
- function_nloc
- 5,021
- functions
- 313
- long_functions
- 4
- many_param_functions
- 5
- mean_ccn
- 5.26
- p90_ccn
- 11
- risky_nloc_share
- 25.4%
Duplication (jscpd)ok2 items
- 6+ duplicated lines: src/main.py:564 and src/main.py:912
- 6+ duplicated lines: static/app.js:381 and static/app.js:391
- compared_lines
- 6,567
- duplicated_lines
- 36
- duplicated_share
- 0.5%
- files
- 17
Lintok
- category:best-practice
- 22
- category:correctness
- 4
- findings
- 26
- scanned_lines
- 8,510
- weighted_findings
- 27
Tests and CIok
- check:ci_present
- no
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- no
- check:test_ratio
- no
- check:tests_cochange
- no
- ci_files
- 0
- cochange_commits
- 140
- cochange_share
- 5.0%
- source_lines
- 8,510
- test_lines
- 0
- test_ratio
- 0
Documentationok2 items
- README.md
README.md - LICENSE
LICENSE
- check:changelog
- no
- check:contributing
- no
- check:license
- yes
- check:readme
- yes
- readme_lines
- 786
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 10
- escapes_per_kloc
- 1.79
Security
61 weak
Security posture is weak: 16 known vulnerabilities in 4 dependencies; 12 high-severity SAST findings. Weakest area: posture.
How the score is built
- Secrets88
- Static analysis (SAST)60
- Vulnerable dependencies59
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 10
- declared
- 10
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 3
- secrets_nonprod
- 1
Static analysis (opengrep)ok
- findings
- 13
- findings_high
- 12
- findings_low
- 0
- findings_medium
- 1
- parse_errors
- 0
- scanned_lines
- 8,510
- weighted_findings
- 12.40
Dependencies (osv-scanner)ok
- penalty
- 32
- vulnerabilities
- 16
- vulnerable_packages
- 4
- vulns_critical
- 0
- vulns_high
- 10
- vulns_low
- 0
- vulns_medium
- 4
- vulns_unknown
- 2
CI workflows (zizmor)skipped
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 0.0%
- unpinned_manifests
- 0
Release downloadsok1 item
- gives an archive password
README.md
- binary_assets
- 0
- signals
- 1
- suspicious
- 0
Findings
24 high27 medium8 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/main.py:319 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
src/main.py:617 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/dockerfile.security.missing-user |
Dockerfile:47 | By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile... | Static analysis (opengrep) |
| high | opengrep/dockerfile.security.missing-user-entrypoint |
Dockerfile:51 | By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile... | Static analysis (opengrep) |
| high | osv/GHSA-537c-gmf6-5ccf |
requirements.txt | [email protected] (PyPI) is affected by GHSA-537c-gmf6-5ccf | Dependencies (osv-scanner) |
| high | osv/GHSA-6vqw-3v5j-54x4 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2024-225, GHSA-6vqw-3v5j-54x4 | Dependencies (osv-scanner) |
| high | osv/GHSA-7gcm-g887-7qv7 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1805, GHSA-7gcm-g887-7qv7 | Dependencies (osv-scanner) |
| high | osv/GHSA-8gq9-2x98-w8hf |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-899, GHSA-8gq9-2x98-w8hf | Dependencies (osv-scanner) |
| high | osv/GHSA-8qvm-5x2c-j2w7 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1806, GHSA-8qvm-5x2c-j2w7 | Dependencies (osv-scanner) |
| high | osv/GHSA-hc5x-x2vx-497g |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1433, GHSA-hc5x-x2vx-497g | Dependencies (osv-scanner) |
| high | osv/GHSA-jwv3-5hgf-82ww |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-3553, GHSA-jwv3-5hgf-82ww | Dependencies (osv-scanner) |
| high | osv/GHSA-m2qf-hxjv-5gpq |
requirements.txt | [email protected] (PyPI) is affected by GHSA-m2qf-hxjv-5gpq | Dependencies (osv-scanner) |
| high | osv/GHSA-r6ph-v2qm-q3c2 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2141, GHSA-r6ph-v2qm-q3c2 | Dependencies (osv-scanner) |
| high | osv/GHSA-w3h3-4rj7-4ph4 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1434, GHSA-w3h3-4rj7-4ph4 | Dependencies (osv-scanner) |
| high | opengrep/python.cryptography.security.crypto-mode-without-authentication |
src/mqtt_handler.py:1237 | An encryption mode of operation is being used without proper message authentication. This can potentially result in the encrypted content to be decrypted by an attacker. Consider instead use an AEAD mode of operation like GCM.... | Static analysis (opengrep) |
| high | opengrep/python.sqlalchemy.security.sqlalchemy-execute-raw-query |
src/storage.py:435 | Avoiding SQL string concatenation: untrusted input concatenated with raw SQL query can result in SQL Injection. In order to execute raw query safely, prepared statement should be used. SQLAlchemy provides TextualSQL to easily used... | Static analysis (opengrep) |
| high | opengrep/javascript.browser.security.insecure-document-method |
static/app.js:1507 | 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 |
static/app.js:1507 | 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 |
static/app.js:2663 | 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 |
static/app.js:2663 | 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 |
static/app.js:2726 | 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 |
static/app.js:2726 | 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 |
static/app.js:750 | 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 |
static/app.js:750 | User controlled data in a `el.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low] | Static analysis (opengrep) |
| medium | opengrep/python.lang.best-practice.logging-error-without-handling |
src/config.py:169 | 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/config.py:170 | 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/config.py:171 | 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/config.py:174 | 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/config.py:175 | 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/javascript.lang.best-practice.javascript-alert |
static/app.js:1970 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:2568 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:2668 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:696 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:700 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:705 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:766 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:771 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-confirm |
static/app.js:777 | found confirm() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:787 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:792 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-confirm |
static/app.js:798 | found confirm() call; should this be in production code? | Lint |
| medium | opengrep/javascript.lang.best-practice.javascript-alert |
static/app.js:832 | found alert() call; should this be in production code? | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
tools/split_config.py:101 | 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 |
tools/split_config.py:104 | 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 | osv/GHSA-68rp-wp8r-4726 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2151, GHSA-68rp-wp8r-4726 | Dependencies (osv-scanner) |
| medium | osv/GHSA-79v4-65xg-pq4g |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1284, GHSA-79v4-65xg-pq4g | Dependencies (osv-scanner) |
| medium | osv/GHSA-9v9h-cgj8-h64p |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-1285, GHSA-9v9h-cgj8-h64p | Dependencies (osv-scanner) |
| medium | osv/GHSA-h4gh-qq45-vh27 |
requirements.txt | [email protected] (PyPI) is affected by GHSA-h4gh-qq45-vh27 | Dependencies (osv-scanner) |
| medium | osv/GHSA-m959-cc7f-wv43 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-35, GHSA-m959-cc7f-wv43 | Dependencies (osv-scanner) |
| medium | osv/PYSEC-2026-3554 |
requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-3554 | Dependencies (osv-scanner) |
| medium | opengrep/javascript.express.security.audit.xss.mustache.var-in-script-tag |
templates/simple.html:134 | Detected a template variable used in a script tag. Although template variables are HTML escaped, HTML escaping does not always prevent cross-site scripting (XSS) attacks when used directly in JavaScript. If you need this data on the... | Static analysis (opengrep) |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
tools/lint_legacy.sh:10 | 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 |
tools/lint_legacy.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 |
tools/lint_legacy.sh:38 | 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 |
tools/lint_legacy.sh:62 | 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 | gitleaks/curl-auth-header |
README.md:809 | Possible curl-auth-header secret in the current tree (test/docs/example file) | Secrets (gitleaks) |
| low | gitleaks/generic-api-key |
src/mqtt_handler.py.official:1138 | Possible generic-api-key secret in history (commit 96b2e2c858); removed from the current tree but still retrievable | Secrets (gitleaks) |
| low | gitleaks/generic-api-key |
src/mqtt_handler.py:1542 | Possible generic-api-key secret in the current tree | Secrets (gitleaks) |
| low | gitleaks/generic-api-key |
src/mqtt_handler_new.py:292 | Possible generic-api-key secret in history (commit 2f90c357a0); removed from the current tree but still retrievable | Secrets (gitleaks) |
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.
| Analyzer | Pillar | Status | Version | Findings | Note |
|---|---|---|---|---|---|
| AI tool configuration | AI provenance | ok | signatures-v1 | 0 | |
| Explicit AI attribution | AI provenance | ok | signatures-v1 | 0 | |
| Release velocity | AI provenance | ok | prov-4 | 0 | |
| Coding style | AI provenance | ok | — | 0 | |
| Commit velocity | AI provenance | ok | prov-4 | 0 | |
| Findings in AI-written lines | AI provenance | ok | git-blame | 0 | |
| Complexity (lizard) | Code quality | ok | lizard 1.25.1 | 0 | |
| Documentation | Code quality | ok | — | 0 | |
| Duplication (jscpd) | Code quality | ok | repotrust-dup-w6 | 0 | |
| Lint | Code quality | ok | opengrep 1.33.1; rules f1d2b562b414 | 26 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | skipped | — | 0 | |
| Dependencies (osv-scanner) | Security | ok | osv-scanner version: 2.7.1 | 16 | |
| Release downloads | Security | ok | — | 0 | |
| Security posture | Security | ok | — | 0 | |
| Package registries | Security | ok | — | 0 | |
| Static analysis (opengrep) | Security | ok | opengrep 1.33.1; rules f1d2b562b414 | 13 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 4 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | f19ce60fc833 | prov-5+qual-2+sec-2 | 41% | 44 | 61 |
| 2026-11-14 | f19ce60fc833 | prov-4+qual-2+sec-2 | 41% | 44 | 61 |
Full text report
- Repository: https://github.com/guthip/buoy-tracker
- Commit:
f19ce60fc8336d1a61b6402c35f6629488ce7225 - Generated: 2026-11-14T14:52:04+00:00
- Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2
Scores
Unreviewed AI code risk: a large share of this code is explicitly AI-attributed, and its tests or review process are weak while quality or security scores are low.
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 41 | explicit | 95% | 100% |
| Code quality | 44 | poor | 90% | 100% |
| Security | 61 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 41% of first-party code added; an estimated 41% including velocity signals.
- Explicitly attributed share (lower bound): 40.9%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 40.9%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 91 | 7,334 |
Current source lines last changed by AI-attributed commits: 5,100 of 8,510.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 3.333 | 2.639 | 1.26x |
| Security | 0.588 | 2.346 | 0.25x |
- Stylometry index: 2.94 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 50). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2025-11 | 8,473 | 0% |
| 2025-12 | 4,384 | 54% |
| 2026-01 | 6 | 100% |
| 2026-05 | 680 | 100% |
| 2026-07 | 3,706 | 100% |
| 2026-08 | 585 | 100% |
| 2026-09 | 98 | 0% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (7d57b68d2ae3)
- Claude Code: trailer 'Co-Authored-By: Claude' (182da52d7703)
- Claude Code: trailer 'Co-Authored-By: Claude' (c404996e18ec)
- Claude Code: trailer 'Co-Authored-By: Claude' (2f9cc30855be)
- Claude Code: trailer 'Co-Authored-By: Claude' (30ebc6f17ef9)
- Claude Code: trailer 'Co-Authored-By: Claude' (eb7643f4b170)
- Claude Code: trailer 'Co-Authored-By: Claude' (b4c7e3150933)
- Claude Code: trailer 'Co-Authored-By: Claude' (a8dccc71f217)
- Claude Code: trailer 'Co-Authored-By: Claude' (adc64ed307d0)
- Claude Code: trailer 'Co-Authored-By: Claude' (595ab280a4e5)
- Claude Code: trailer 'Co-Authored-By: Claude' (5f2948df2897)
- Claude Code: trailer 'Co-Authored-By: Claude' (8be1c5b9e05e)
- Claude Code: trailer 'Co-Authored-By: Claude' (7718e2a929bd)
- Claude Code: trailer 'Co-Authored-By: Claude' (296cfa9ba19e)
- Claude Code: trailer 'Co-Authored-By: Claude' (ec287099b38d)
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 poor: test-to-source ratio 0.00, no CI test run detected; 25% of function code in complex or long functions; 1% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 47 |
| Duplication | 97 |
| Code smells (Opengrep) | 45 |
| Tests and CI | 2 |
| Documentation | 65 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 313; mean complexity 5.3, 90th percentile 11; 13 complex and 4 long functions
- Duplicated lines: 0.5% of 6,567 compared
- Tests: 0 test lines for 8,510 source lines (ratio 0.00); CI test commands: none detected; 5% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- (anonymous) in static/app.js: complexity 124, 332 lines
- buildMapPopup in static/app.js: complexity 44, 101 lines
- _evaluate_alert_buffer in src/movement.py: complexity 40, 153 lines
- buildNodeCard in static/app.js: complexity 37, 59 lines
- window.showGatewayDetails in static/app.js: complexity 36, 91 lines
Security
Security posture is weak: 16 known vulnerabilities in 4 dependencies; 12 high-severity SAST findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 88 |
| Static analysis (Opengrep) | 60 |
| Vulnerable dependencies (OSV) | 59 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 16 in 4 packages (critical 0, high 10, medium 4, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | opengrep/dockerfile.security.missing-user: By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile is a USER other than 'root'. [confidence medium] |
Dockerfile:47 |
| high | opengrep/dockerfile.security.missing-user-entrypoint: By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile is a USER other than 'root'. [confidence medium] |
Dockerfile:51 |
| high | opengrep/python.cryptography.security.crypto-mode-without-authentication: An encryption mode of operation is being used without proper message authentication. This can potentially result in the encrypted content to be decrypted by an attacker. Consider instead use an AEAD mode of operation like GCM. [confidence medium] |
src/mqtt_handler.py:1237 |
| high | opengrep/python.sqlalchemy.security.sqlalchemy-execute-raw-query: Avoiding SQL string concatenation: untrusted input concatenated with raw SQL query can result in SQL Injection. In order to execute raw query safely, prepared statement should be used. SQLAlchemy provides TextualSQL to easily used prepared statement with named parameters. For complex SQL composition [confidence low] |
src/storage.py:435 |
| 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] |
static/app.js:750 |
| 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] |
static/app.js:750 |
| 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] |
static/app.js:1507 |
| 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] |
static/app.js:1507 |
| 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] |
static/app.js:2663 |
| 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] |
static/app.js:2663 |
| 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] |
static/app.js:2726 |
| 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] |
static/app.js:2726 |
| high | osv/GHSA-m2qf-hxjv-5gpq: [email protected] (PyPI) is affected by GHSA-m2qf-hxjv-5gpq |
requirements.txt |
| high | osv/GHSA-6vqw-3v5j-54x4: [email protected] (PyPI) is affected by PYSEC-2024-225, GHSA-6vqw-3v5j-54x4 |
requirements.txt |
| high | osv/GHSA-r6ph-v2qm-q3c2: [email protected] (PyPI) is affected by PYSEC-2026-2141, GHSA-r6ph-v2qm-q3c2 |
requirements.txt |
| high | osv/GHSA-jwv3-5hgf-82ww: [email protected] (PyPI) is affected by PYSEC-2026-3553, GHSA-jwv3-5hgf-82ww |
requirements.txt |
| high | osv/GHSA-537c-gmf6-5ccf: [email protected] (PyPI) is affected by GHSA-537c-gmf6-5ccf |
requirements.txt |
| high | osv/GHSA-hc5x-x2vx-497g: [email protected] (PyPI) is affected by PYSEC-2026-1433, GHSA-hc5x-x2vx-497g |
requirements.txt |
| high | osv/GHSA-w3h3-4rj7-4ph4: [email protected] (PyPI) is affected by PYSEC-2026-1434, GHSA-w3h3-4rj7-4ph4 |
requirements.txt |
| high | osv/GHSA-7gcm-g887-7qv7: [email protected] (PyPI) is affected by PYSEC-2026-1805, GHSA-7gcm-g887-7qv7 |
requirements.txt |
| high | osv/GHSA-8qvm-5x2c-j2w7: [email protected] (PyPI) is affected by PYSEC-2026-1806, GHSA-8qvm-5x2c-j2w7 |
requirements.txt |
| high | osv/GHSA-8gq9-2x98-w8hf: [email protected] (PyPI) is affected by PYSEC-2026-899, GHSA-8gq9-2x98-w8hf |
requirements.txt |
| medium | opengrep/javascript.express.security.audit.xss.mustache.var-in-script-tag: Detected a template variable used in a script tag. Although template variables are HTML escaped, HTML escaping does not always prevent cross-site scripting (XSS) attacks when used directly in JavaScript. If you need this data on the rendered page, consider placing it in the HTML portion (outside of [confidence low] |
templates/simple.html:134 |
| medium | osv/GHSA-68rp-wp8r-4726: [email protected] (PyPI) is affected by PYSEC-2026-2151, GHSA-68rp-wp8r-4726 |
requirements.txt |
| medium | osv/GHSA-79v4-65xg-pq4g: [email protected] (PyPI) is affected by PYSEC-2026-1284, GHSA-79v4-65xg-pq4g |
requirements.txt |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- readme-download-lure: gives an archive password
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 8,510; test lines: 0
| Language | Lines |
|---|---|
| Python | 5,581 |
| JavaScript | 2,768 |
| Shell | 161 |