RepoTrust

Hugo-Grellier/ballast

https://github.com/Hugo-Grellier/ballast · commit ba7f3de48b73 · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

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.

AI tool Attributed commits Lines added
Claude Code 142 93,120

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

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

Most complex functions:

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

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

Language Lines
Python 14,284
JavaScript 406

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/Hugo-Grellier/ballast/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/Hugo-Grellier/ballast/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/Hugo-Grellier/ballast/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/Hugo-Grellier/ballast/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/Hugo-Grellier/ballast/security.svg)](https://repotrust.synapticcyber.com/r/github.com/Hugo-Grellier/ballast/)