Leaderboard github.com
apollo-ullah/Baymax
unreviewed-ai-risk
AI provenance
60%
explicit
- Confidence
- 80%
- Coverage
- 100%
Estimated share of AI-generated code. Explicit attribution is a lower bound.
Code quality
42/100
poor
- Confidence
- 90%
- Coverage
- 100%
Complexity, duplication, lint density, tests, CI, docs and review process.
Security
80/100
adequate
- Confidence
- 85%
- Coverage
- 100%
Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.
AI provenance
60% explicit
Explicit AI attribution on 60% of first-party code added; an estimated 60% including velocity signals.
How the score is built
- Explicitly attributed share60%
- Unattributed share in AI-pace bursts28%
- Estimated AI-generated share60%
- AI tool configuration files1
- Work sessions at AI pace2
- Releases at AI pacenot measured
- Coding-style index (1.0+ means possible)1.26
Attributed AI tools
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Claude Code | 20 | 5,218 | 2026-06-20 | 2026-06-21 |
| Cursor agent | 12 | 2,706 | 2026-06-20 | 2026-06-21 |
Lines added per month all AI-attributed share
- 2026-0613,209 · 60% AI
Findings in AI-attributed lines vs the rest
From git blame: 7,008 lines trace to AI-attributed commits, 4,902 to others. Reported, not scored.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 2.85 | 4.49 | 0.64× |
| Security | 0.86 | 0.61 | 1.40× |
Evidence by analyzer
Explicit AI attributionok27 items
- Claude Code: 20 attributed commits, 5,218 lines added
- Cursor agent: 12 attributed commits, 2,706 lines added
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- 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'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Cursor agent: on merged branch (0242b65c76)
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Cursor agent: on merged branch (0242b65c76)
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- Claude Code: trailer 'Co-Authored-By: Claude'
- attributed_commit_share
- 78.0%
- attributed_commits
- 32
- attributed_loc
- 7,924
- attributed_loc_share
- 60.0%
- commits
- 41
- effective_loc
- 13,209
- tools_detected
- 2
AI tool configurationok1 item
- artifacts
- 1
- earliest_adoption
- 2026-06-21
- tools_configured
- 1
- workflow_agents
- 0
Commit velocityok2 items
- 3,661 lines of first-party code in ~1.9h (1,970 lines/hour, 2 commit session)
- 1,767 lines of first-party code in ~1.2h (1,489 lines/hour, 1 commit session)
- excluded_import_loc
- 0
- flagged_loc
- 5,428
- flagged_loc_share
- 41.1%
- flagged_units
- 2
- max_loc_per_hour
- 1,969.75
- measured_loc
- 13,209
- median_loc_per_hour
- 172.37
- pr_timed_units
- 0
- pre_ai_era_burst_loc
- 0
- pre_ai_era_bursts
- 0
- pre_ai_era_measured_loc
- 0
- work_units
- 22
Release velocityskipped
Coding styleok6 items
- step-by-step narration comment: # Step 1: let the CDC feed pick the focus illness, then fetch its surveillance.
- step-by-step narration comment: # Step 2: fetch weather (Open-Meteo, live, no key) + illness (CDC feed)
- step-by-step narration comment: # Step 3: merge focus-illness WHO surveillance + weather + illness into forecast:{region}
- step-by-step narration comment: # Step 4: gather remaining context for Claude
- step-by-step narration comment: # Step 5: Claude reasoning — focus illness + WHO surveillance + weather + inventory + vision + scenario
- step-by-step narration comment: # Step 6: write reasoning to Redis
- count:assistant_voice
- 0
- count:emoji_in_code
- 18
- count:narrated_steps
- 6
- count:placeholder
- 0
- files:assistant_voice
- 0
- files:emoji_in_code
- 6
- files:narrated_steps
- 1
- files:placeholder
- 0
- index
- 1.26
- lines_scanned
- 11,910
- per_kloc:assistant_voice
- 0
- per_kloc:emoji_in_code
- 1.51
- per_kloc:narrated_steps
- 0.50
- per_kloc:placeholder
- 0
Findings in AI-written linesok
- ai_lines
- 7,008
- blame_failures
- 0
- files_blamed
- 86
- other_lines
- 4,902
- quality:ai_findings
- 20
- quality:ai_per_kloc
- 2.85
- quality:other_findings
- 22
- quality:other_per_kloc
- 4.49
- quality:ratio
- 0.64
- security:ai_findings
- 6
- security:ai_per_kloc
- 0.86
- security:other_findings
- 3
- security:other_per_kloc
- 0.61
- security:ratio
- 1.40
Code quality
42 poor
Code quality is poor: test-to-source ratio 0.01, no CI test run detected; 7% of function code in complex or long functions; 12% duplicated lines. Weakest area: lint.
How the score is built
- Complexity82
- Duplication48
- Lint and smells10
- Tests and CI26
- Documentation40
- Type safety40
- Review processnot measured
Evidence by analyzer
Complexity (lizard)ok5 items
- on_intent in agent-communication-layer/front_agent.py: complexity 22, 75 lines
- _derive_transfer_plan in ui/app.py: complexity 22, 61 lines
- fetch_influenza_cdc in fetch/agents/who_agent/fetcher.py: complexity 17, 48 lines
- _evaluate in agent-communication-layer/stockpile_agents.py: complexity 16, 50 lines
- reason_with_claude in fetch/agents/who_agent/fetcher.py: complexity 12, 128 lines
- complex_functions
- 4
- function_nloc
- 5,495
- functions
- 379
- long_functions
- 1
- many_param_functions
- 6
- mean_ccn
- 3.48
- p90_ccn
- 8
- risky_nloc_share
- 6.6%
Duplication (jscpd)ok10 items
- 6+ duplicated lines: agent-communication-layer/baymax_agents.py:3 and agent-communication-layer/stockpile_agents.py:3
- 6+ duplicated lines: agent-communication-layer/baymax_agents.py:724 and agent-communication-layer/baymax_agents.py:743
- 6+ duplicated lines: agent-communication-layer/baymax_agents.py:1016 and agent-communication-layer/front_agent.py:628
- 6+ duplicated lines: agent-communication-layer/dashboard_bus.py:53 and agent-communication-layer/dashboard_bus.py:71
- 6+ duplicated lines: agent-communication-layer/protocol.py:61 and agent-communication-layer/settlement.py:67
- 6+ duplicated lines: agent-communication-layer/run_dashboard_demo.py:57 and agent-communication-layer/run_front.py:128
- 6+ duplicated lines: agent-communication-layer/run_hospital_b.py:18 and agent-communication-layer/run_hospital_c.py:18
- 6+ duplicated lines: agent-communication-layer/scripts/single_mac_demo.sh:16 and agent-communication-layer/scripts/tailscale_env.sh:9
- 6+ duplicated lines: agent-communication-layer/scripts/tailscale_peer_b.sh:14 and agent-communication-layer/scripts/tailscale_server.sh:16
- 6+ duplicated lines: agent-communication-layer/settlement.py:484 and agent-communication-layer/settlement.py:522
- compared_lines
- 8,918
- duplicated_lines
- 1,094
- duplicated_share
- 12.3%
- files
- 86
Lintok
- category:best-practice
- 18
- category:correctness
- 1
- category:maintainability
- 23
- findings
- 42
- scanned_lines
- 11,910
- weighted_findings
- 107.25
Tests and CIok
- check:ci_present
- no
- check:ci_runs_lint
- no
- check:ci_runs_tests
- no
- check:has_tests
- yes
- check:test_ratio
- no
- check:tests_cochange
- no
- ci_files
- 0
- cochange_commits
- 30
- cochange_share
- 13.3%
- source_lines
- 11,910
- test_lines
- 129
- test_ratio
- 0.01
Documentationok1 item
- README.md
README.md
- check:changelog
- no
- check:contributing
- no
- check:license
- no
- check:readme
- yes
- readme_lines
- 155
Type safetyok
- check:low_escape_density
- yes
- check:strict_config
- no
- escapes
- 6
- escapes_per_kloc
- 0.52
Security
80 adequate
Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 2 high-severity SAST findings. Weakest area: posture.
How the score is built
- Secrets97
- Static analysis (SAST)84
- Vulnerable dependencies95
- CI workflowsnot measured
- Security posture0
- OpenSSF Scorecardnot measured
Evidence by analyzer
OpenSSF Scorecardskipped
no published OpenSSF Scorecard result for this repo
Package registriesok
- checked
- 16
- declared
- 16
- lookup_errors
- 0
- missing
- 0
- recent
- 0
Secrets (gitleaks)ok
- secrets_current
- 0
- secrets_history
- 0
- secrets_low_confidence
- 1
- secrets_nonprod
- 0
Static analysis (opengrep)ok
- findings
- 9
- findings_high
- 2
- findings_low
- 0
- findings_medium
- 7
- parse_errors
- 1
- scanned_lines
- 11,910
- weighted_findings
- 6.10
Dependencies (osv-scanner)ok
- penalty
- 3
- vulnerabilities
- 1
- vulnerable_packages
- 1
- vulns_critical
- 0
- vulns_high
- 0
- vulns_low
- 0
- vulns_medium
- 1
- vulns_unknown
- 0
CI workflows (zizmor)skipped
Security postureok
- check:dependency_updates
- no
- check:lockfiles
- yes
- check:security_policy
- no
- check:signed_commits
- no
- signed_commit_share
- 2.4%
- unpinned_manifests
- 0
Release downloadsok
- binary_assets
- 0
- signals
- 0
- suspicious
- 0
Findings
35 high16 medium2 low
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/agent_base.py:139 | function `_on_chat` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/agent_base.py:157 | function `_on_ack` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:1024 | function `_kickoff` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:1039 | function `_auto_approve` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:697 | function `on_offer` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:722 | function `on_accept` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:741 | function `on_reject` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:774 | function `offer_timeout` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:867 | function `on_request` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:911 | function `on_proposal` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/baymax_agents.py:976 | function `release_poll` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
agent-communication-layer/camera_worker.py:137 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
agent-communication-layer/camera_worker.py:140 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
agent-communication-layer/camera_worker.py:75 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
agent-communication-layer/camera_worker.py:81 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/front_agent.py:663 | function `_feed` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/run_front.py:123 | function `_poll_trigger` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/run_front.py:145 | function `_poll_decision` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/settlement.py:278 | function `on_commit` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/settlement.py:325 | function `on_reject` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:517 | function `on_offer` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:543 | function `on_accept` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:563 | function `on_reject` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:600 | function `offer_timeout` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:633 | function `on_request` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:669 | function `on_proposal` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.maintainability.useless-inner-function |
agent-communication-layer/stockpile_agents.py:746 | function `_kickoff` is defined inside a function but never used | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
hardware/camera connection/capture_single.py:246 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
hardware/test folder/pico_code/main.py:22 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.open-never-closed |
ui/app.py:123 | file object opened without corresponding close | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
ui/app.py:236 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
ui/app.py:239 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.best-practice.arbitrary-sleep |
ui/app.py:854 | time.sleep() call; did you mean to leave this in? | Lint |
| high | opengrep/python.lang.security.audit.dangerous-subprocess-use-audit |
ui/app.py:124 | 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.dangerous-subprocess-use-audit |
ui/app.py:572 | 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.best-practice.pass-body-fn |
agent-communication-layer/agent_base.py:157 | `pass` is the body of function _on_ack. Consider removing this or raise NotImplementedError() if this is a TODO | Lint |
| medium | opengrep/python.lang.best-practice.pass-body-fn |
agent-communication-layer/wave2_e2e_check.py:94 | `pass` is the body of function _buyer_on_chat_ack. Consider removing this or raise NotImplementedError() if this is a TODO | Lint |
| medium | opengrep/python.lang.best-practice.pass-body-fn |
agent-communication-layer/wave3_order_e2e_check.py:116 | `pass` is the body of function _on_ack. Consider removing this or raise NotImplementedError() if this is a TODO | Lint |
| medium | opengrep/python.lang.best-practice.unspecified-open-encoding |
fetch/agents/illness_agent/agent.py:53 | 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 |
fetch/agents/who_agent/fetcher.py:564 | 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 |
hardware/camera connection/bottle_counter.py:223 | 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 |
hardware/camera connection/sync_to_redis.py:82 | 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 |
ui/app.py:123 | 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-mf9w-mj56-hr94 |
agent-communication-layer/requirements.txt | [email protected] (PyPI) is affected by PYSEC-2026-2270, GHSA-mf9w-mj56-hr94 | Dependencies (osv-scanner) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:887 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:895 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:912 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:913 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:918 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.injection.raw-html-format |
ui/app.py:921 | Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which... | Static analysis (opengrep) |
| medium | opengrep/python.flask.security.audit.avoid_app_run_with_bad_host |
ui/app.py:957 | Running flask app with host 0.0.0.0 could expose the server publicly. [confidence high] | Static analysis (opengrep) |
| low | opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command |
kill_all.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 | gitleaks/generic-api-key |
adyan-agent-communication-layer/private_keys.json:3 | Possible generic-api-key secret in history (commit a0d55e4349); 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 | skipped | — | 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 | 42 | |
| 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 | 1 | |
| 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 | 9 | |
| OpenSSF Scorecard | Security | skipped | — | 0 | no published OpenSSF Scorecard result for this repo |
| Secrets (gitleaks) | Security | ok | gitleaks 8.30.1 | 1 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 6000ef8c6844 | prov-5+qual-2+sec-2 | 60% | 42 | 80 |
| 2026-11-14 | 6000ef8c6844 | prov-4+qual-2+sec-2 | 60% | 42 | 80 |
Full text report
- Repository: https://github.com/apollo-ullah/Baymax
- Commit:
6000ef8c6844d0ba04dc7af6442f90a2882b16a0 - Generated: 2026-11-14T14:52:02+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) | 60 | explicit | 80% | 100% |
| Code quality | 42 | poor | 90% | 100% |
| Security | 80 | adequate | 85% | 100% |
AI provenance
Explicit AI attribution on 60% of first-party code added; an estimated 60% including velocity signals.
- Explicitly attributed share (lower bound): 60.0%
- Unattributed share in AI-consistent velocity bursts: 27.7%
- Estimated AI-generated share: 60.0%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 20 | 5,218 |
| Cursor agent | 12 | 2,706 |
- AI tooling configured in repo: claude-code
Current source lines last changed by AI-attributed commits: 7,008 of 11,910.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 2.854 | 4.488 | 0.64x |
| Security | 0.856 | 0.612 | 1.4x |
- Stylometry index: 1.26 per 1,000 lines (narrated steps 6, placeholders 0, assistant phrasing 0, emoji 18). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-06 | 13,209 | 60% |
Evidence
- Claude Code: trailer 'Co-Authored-By: Claude' (cbf7d9542a9e)
- Claude Code: trailer 'Co-Authored-By: Claude' (5ff9024fb5af)
- Claude Code: trailer 'Co-Authored-By: Claude' (fbc8e1e42a6e)
- Cursor agent: trailer 'Co-authored-by: Cursor' (0bcd83e72014)
- Claude Code: trailer 'Co-Authored-By: Claude' (89275a65f640)
- Claude Code: trailer 'Co-Authored-By: Claude' (066ff2761218)
- Claude Code: trailer 'Co-Authored-By: Claude' (da2fa2d1f7c3)
- Claude Code: trailer 'Co-Authored-By: Claude' (bfdd8fa3ba17)
- Claude Code: trailer 'Co-Authored-By: Claude' (8f258627d457)
- Claude Code: trailer 'Co-Authored-By: Claude' (edeffdb9a0fd)
- Cursor agent: trailer 'Co-authored-by: Cursor' (39a4c3ed23d9)
- Claude Code: trailer 'Co-Authored-By: Claude' (91aa099dd8a9)
- Cursor agent: on merged branch (0242b65c76) (cd7880ccc5c5)
- Cursor agent: trailer 'Co-authored-by: Cursor' (5cc611ef1128)
- Claude Code: trailer 'Co-Authored-By: Claude' (d730bb2247d5)
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.01, no CI test run detected; 7% of function code in complex or long functions; 12% duplicated lines. Weakest area: lint.
| Area | Score |
|---|---|
| Complexity (lizard) | 82 |
| Duplication | 48 |
| Code smells (Opengrep) | 10 |
| Tests and CI | 26 |
| Documentation | 40 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 379; mean complexity 3.5, 90th percentile 8; 4 complex and 1 long functions
- Duplicated lines: 12.3% of 8,918 compared
- Tests: 129 test lines for 11,910 source lines (ratio 0.01); CI test commands: none detected; 13% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Most complex functions:
- on_intent in agent-communication-layer/front_agent.py: complexity 22, 75 lines
- _derive_transfer_plan in ui/app.py: complexity 22, 61 lines
- fetch_influenza_cdc in fetch/agents/who_agent/fetcher.py: complexity 17, 48 lines
- _evaluate in agent-communication-layer/stockpile_agents.py: complexity 16, 50 lines
- reason_with_claude in fetch/agents/who_agent/fetcher.py: complexity 12, 128 lines
Security
Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 2 high-severity SAST findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 97 |
| Static analysis (Opengrep) | 84 |
| Vulnerable dependencies (OSV) | 95 |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 1 in 1 packages (critical 0, high 0, medium 1, low 0)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| 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] |
ui/app.py:124 |
| 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] |
ui/app.py:572 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:887 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:895 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:912 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:913 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:918 |
| medium | opengrep/python.flask.security.injection.raw-html-format: Detected user input flowing into a manually constructed HTML string. You may be accidentally bypassing secure methods of rendering HTML by manually constructing HTML and this could create a cross-site scripting vulnerability, which could let attackers steal sensitive user data. To be sure this is sa [confidence medium] |
ui/app.py:921 |
| medium | opengrep/python.flask.security.audit.avoid_app_run_with_bad_host: Running flask app with host 0.0.0.0 could expose the server publicly. [confidence high] |
ui/app.py:957 |
| medium | osv/GHSA-mf9w-mj56-hr94: [email protected] (PyPI) is affected by PYSEC-2026-2270, GHSA-mf9w-mj56-hr94 |
agent-communication-layer/requirements.txt |
| low | gitleaks/generic-api-key: Possible generic-api-key secret in history (commit a0d55e4349); removed from the current tree but still retrievable |
adyan-agent-communication-layer/private_keys.json:3 |
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: 11,910; test lines: 129
| Language | Lines |
|---|---|
| Python | 11,616 |
| Shell | 423 |