Hugo-Grellier/ballast
- Repository: https://github.com/Hugo-Grellier/ballast
- Commit:
ba7f3de48b738ee2fa34ebb1a70f2528b74a66e9 - Generated: 2026-11-13T23:18:39+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 98 | explicit | 95% | 100% |
| Code quality | 81 | strong | 90% | 100% |
| Security | 77 | adequate | 85% | 100% |
AI provenance
Explicit AI attribution on 97% of first-party code added; an estimated 97% including velocity signals.
- Explicitly attributed share (lower bound): 97.5%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 97.5%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 142 | 93,120 |
- AI tooling configured in repo: claude-code, generic-agent
Current source lines last changed by AI-attributed commits: 5,648 of 6,744.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.354 | 0.0 | n/a |
| Security | 0.708 | 1.825 | 0.39x |
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-10 | 95,546 | 97% |
Evidence
- Claude Code: message 'Generated with Claude Code' (ba7f3de48b73)
- Claude Code: message 'Generated with Claude Code' (8f580d315594)
- Claude Code: message 'Generated with Claude Code' (0f07432dc14a)
- Claude Code: message 'Generated with Claude Code' (33e2557051bd)
- Claude Code: message 'Generated with Claude Code' (2fc1dcc9f8d7)
- Claude Code: message 'Generated with Claude Code' (56f68448ca07)
- Claude Code: message 'Generated with Claude Code' (ca3150840b93)
- Claude Code: message 'Generated with Claude Code' (5e51a22e09ed)
- Claude Code: message 'Generated with Claude Code' (a87ba98c5948)
- Claude Code: message 'Generated with Claude Code' (2bc2ed701ef8)
- Claude Code: message 'Generated with Claude Code' (03de61e4851d)
- Claude Code: message 'Generated with Claude Code' (d2f41e2173c9)
- Claude Code: message 'Generated with Claude Code' (4fe173a0424c)
- Claude Code: message 'Generated with Claude Code' (9d358274021b)
- Claude Code: message 'Generated with Claude Code' (9cb56dac27d5)
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 strong: test-to-source ratio 1.18, CI runs tests; 14% of function code in complex or long functions; 3% duplicated lines. Weakest area: type safety.
| Area | Score |
|---|---|
| Complexity (lizard) | 65 |
| Duplication | 82 |
| Code smells (Opengrep) | 80 |
| Tests and CI | 100 |
| Documentation | 85 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 312; mean complexity 5.9, 90th percentile 13; 15 complex and 0 long functions
- Duplicated lines: 3.2% of 5,419 compared
- Tests: 7,946 test lines for 6,744 source lines (ratio 1.18); CI test commands: unittest; 99% of recent source commits also change tests
- Docs missing or thin: contributing
Most complex functions:
- worker in tools/dashboard.py: complexity 26, 67 lines
- specs in tools/merge_check.py: complexity 25, 67 lines
- finish_execution in tools/coordinate.py: complexity 24, 63 lines
- validate in tools/progress.py: complexity 24, 35 lines
- issue_view in tools/coordinate.py: complexity 23, 37 lines
Security
Security posture is adequate: 6 high-severity SAST findings; 6 high-severity workflow issues. Weakest area: ci actions.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 97 |
| Static analysis (Opengrep) | 75 |
| Vulnerable dependencies (OSV) | 100 |
| CI workflows (zizmor) | 26 |
| Posture (policy, updates, signing, lockfiles) | 60 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: dependency updates, signed commits, lockfiles; missing: security policy
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | opengrep/python.lang.security.audit.dangerous-os-exec-audit: Found dynamic content when spawning a process. This is dangerous if external data can reach this function call because it allows a malicious actor to execute commands. Ensure no external data reaches here. [confidence low] |
tools/cli.py:24 |
| high | opengrep/python.lang.security.audit.dangerous-os-exec-tainted-env-args: Found user controlled content when spawning a process. This is dangerous because it allows a malicious actor to execute commands. [confidence medium] |
tools/cli.py:24 |
| 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] |
tools/codex.py:63 |
| 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] |
tools/dashboard.py:103 |
| 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] |
tools/qualify.py:64 |
| 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] |
tools/worktree.py:42 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:15 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:16 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:23 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:24 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/pr-body.yml:19 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/release-please.yml:18 |
| medium | zizmor/dependabot-cooldown: insufficient cooldown in Dependabot updates [confidence high] |
.github/dependabot.yml:3 |
| medium | zizmor/dependabot-cooldown: insufficient cooldown in Dependabot updates [confidence high] |
.github/dependabot.yml:14 |
| low | gitleaks/aws-access-token: Possible aws-access-token secret in the current tree (test/docs/example file) |
tests/test_progress.py:64 |
| low | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:15 |
| low | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/ci.yml:23 |
| low | zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] |
.github/workflows/pr-body.yml:19 |
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: 6,744; test lines: 7,946
| Language | Lines |
|---|---|
| Python | 14,284 |
| JavaScript | 406 |