RepoTrust

Leaderboard github.com

notzhan/Rustagon

Rustagon 是一个采用 100% 纯 Rust 语言与 Aya eBPF 框架构建的新一代云原生容器运行时安全(Container Runtime Security)引擎,并且整个项目的系统架构设计、eBPF 内核代码、用户态引擎、AST 规则解析器以及测试套件,100% 完全由 AI(Cursor / Claude / OpenCode)辅助自动生成,0 手动代码编写。

  • View repository ↗
  • Rust
  • ★ 0
  • commit 560d5d6c7e41
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

100%

explicit

Confidence
86%
Coverage
100%

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

Code quality

82/100

strong

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

75/100

adequate

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

100% explicit

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

How the score is built

  • Explicitly attributed share100%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share100%
  • AI tool configuration files1
  • Work sessions at AI pace2
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)0.23

Attributed AI tools

ToolCommitsLines addedFirst seenLast seen
Cursor agent6216,5142026-09-092026-09-10
GitHub Copilot coding agent21,1242026-09-082026-09-08

Lines added per month all AI-attributed share

  1. 2026-0917,638 · 100% AI

Findings in AI-attributed lines vs the rest

From git blame: 8,870 lines trace to AI-attributed commits, 0 to others. Too few lines in one group for a fair comparison. Reported, not scored.

Findings per 1,000 linesAI-attributedOtherRatio
Code quality0.00——
Security1.01——

Evidence by analyzer

Explicit AI attributionok27 items
attributed_commit_share
97.0%
attributed_commits
64
attributed_loc
17,638
attributed_loc_share
100.0%
commits
66
effective_loc
17,638
tools_detected
2
AI tool configurationok1 item
artifacts
1
earliest_adoption
2026-09-08
tools_configured
1
workflow_agents
0
Commit velocityok2 items
excluded_import_loc
0
flagged_loc
15,232
flagged_loc_share
93.1%
flagged_units
2
max_loc_per_hour
1,322.74
measured_loc
16,356
median_loc_per_hour
1,021.62
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
3
Release velocityskipped
Coding styleok1 item
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
1
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
1
index
0.23
lines_scanned
8,870
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0.11
Findings in AI-written linesok
ai_lines
8,870
blame_failures
0
files_blamed
68
other_lines
0
quality:ai_findings
0
quality:ai_per_kloc
0
quality:other_findings
0
security:ai_findings
9
security:ai_per_kloc
1.01
security:other_findings
0

Code quality

82 strong

Code quality is strong: test-to-source ratio 0.70, CI runs tests; 11% of function code in complex or long functions; 2% duplicated lines. Weakest area: type safety.

How the score is built

  • Complexity72
  • Duplication88
  • Lint and smells100
  • Tests and CI90
  • Documentation65
  • Type safety40
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok7 items
complex_functions
7
function_nloc
5,738
functions
403
long_functions
2
many_param_functions
0
mean_ccn
3.47
p90_ccn
8
risky_nloc_share
11.1%
Duplication (jscpd)ok5 items
compared_lines
6,318
duplicated_lines
140
duplicated_share
2.2%
files
68
Lintok
findings
0
scanned_lines
8,870
weighted_findings
0
Tests and CIok2 items
  • CI config: .github/workflows/parity.yml .github/workflows/parity.yml
  • CI runs tests (go test, cargo test)
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
yes
check:has_tests
yes
check:test_ratio
yes
check:tests_cochange
yes
ci_files
1
cochange_commits
55
cochange_share
74.6%
source_lines
8,870
test_lines
6,195
test_ratio
0.70
Documentationok2 items
  • README.md README.md
  • LICENSE LICENSE
check:changelog
no
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
57
Type safetyok
check:low_escape_density
yes
check:strict_config
no
escapes
0
escapes_per_kloc
0

Security

75 adequate

Security posture is adequate: 2 high-severity workflow issues. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)92
  • Vulnerable dependenciesnot measured
  • CI workflows63
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
25
declared
25
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
9
findings_high
0
findings_low
9
findings_medium
0
parse_errors
1
scanned_lines
8,870
weighted_findings
2.25
Dependencies (osv-scanner)skipped
CI workflows (zizmor)ok
findings
4
findings_high
2
findings_low
0
findings_medium
2
penalty
27.60
workflows
1
Security postureok11 items
  • Cargo.toml has no lockfile alongside it (unpinned dependencies) Cargo.toml
  • rustagon-app/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-app/Cargo.toml
  • rustagon-common/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-common/Cargo.toml
  • rustagon-config/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-config/Cargo.toml
  • rustagon-core/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-core/Cargo.toml
  • rustagon-ebpf/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-ebpf/Cargo.toml
  • rustagon-engine/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-engine/Cargo.toml
  • rustagon-parser/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-parser/Cargo.toml
  • rustagon-scap/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-scap/Cargo.toml
  • rustagon-sinsp/Cargo.toml has no lockfile alongside it (unpinned dependencies) rustagon-sinsp/Cargo.toml
  • xtask/Cargo.toml has no lockfile alongside it (unpinned dependencies) xtask/Cargo.toml
check:dependency_updates
no
check:lockfiles
no
check:security_policy
no
check:signed_commits
no
signed_commit_share
6.1%
unpinned_manifests
11
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

2 high2 medium9 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/parity.yml:12 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/parity.yml:14 unpinned action reference [confidence high] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/parity.yml:12 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/parity.yml:9 overly broad permissions [confidence medium] CI workflows (zizmor)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:108 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:124 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:150 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:83 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:89 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:90 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:91 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:92 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)
low opengrep/rust.lang.security.unsafe-usage rustagon-ebpf/src/lib.rs:95 Detected 'unsafe' usage, please audit for secure usage [confidence high] Static analysis (opengrep)

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 f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.04
Dependencies (osv-scanner)Securityskipped—0
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4149
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-14560d5d6c7e41prov-5+qual-2+sec-2100%8275
2026-11-14560d5d6c7e41prov-4+qual-2+sec-2100%8275

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/notzhan/Rustagon/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/notzhan/Rustagon/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/notzhan/Rustagon/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/notzhan/Rustagon/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/notzhan/Rustagon/security.svg)](https://repotrust.synapticcyber.com/r/github.com/notzhan/Rustagon/)
Full text report
  • Repository: https://github.com/notzhan/Rustagon
  • Commit: 560d5d6c7e4144a926cf66182b7c87c15b576053
  • Generated: 2026-11-14T14:52:06+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 100 explicit 86% 100%
Code quality 82 strong 90% 100%
Security 75 adequate 85% 100%

AI provenance

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

  • Explicitly attributed share (lower bound): 100.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 100.0%
AI tool Attributed commits Lines added
Cursor agent 62 16,514
GitHub Copilot coding agent 2 1,124
  • AI tooling configured in repo: cursor

Current source lines last changed by AI-attributed commits: 8,870 of 8,870.

Too few lines in one group to compare finding densities.

  • Stylometry index: 0.23 per 1,000 lines (narrated steps 0, placeholders 1, assistant phrasing 0, emoji 0). Reported as a signal, not scored.
Month Lines added Attributed to AI
2026-09 17,638 100%

Evidence

  • Cursor agent: trailer 'Co-authored-by: Cursor' (fa6082e702b1)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (762b587071a3)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (8418197e74bf)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (8d01a30c92c4)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (80026422c1dc)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (329ac2ef09ea)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (91c9b74c8499)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (f15a25a6716b)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (aa3d26850146)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (a4d88f866a08)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (edc50643dd46)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (20b4c0078638)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (eb8fc34a103b)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (811aed0d5e3d)
  • Cursor agent: trailer 'Co-authored-by: Cursor' (6cd8206ea35d)

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 0.70, CI runs tests; 11% of function code in complex or long functions; 2% duplicated lines. Weakest area: type safety.

Area Score
Complexity (lizard) 72
Duplication 88
Code smells (Opengrep) 100
Tests and CI 90
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) n/a
  • Functions: 403; mean complexity 3.5, 90th percentile 8; 7 complex and 2 long functions
  • Duplicated lines: 2.2% of 6,318 compared
  • Tests: 6,195 test lines for 8,870 source lines (ratio 0.70); CI test commands: go test, cargo test; 75% of recent source commits also change tests
  • Docs missing or thin: contributing, changelog

Most complex functions:

Security

Security posture is adequate: 2 high-severity workflow issues. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 92
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) 63
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles

Top findings

Severity Finding Location
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/parity.yml:12
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/parity.yml:14
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/parity.yml:12
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/parity.yml:9
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:83
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:89
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:90
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:91
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:92
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:95
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:108
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:124
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] rustagon-ebpf/src/lib.rs:150

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: 8,870; test lines: 6,195
Language Lines
Rust 14,908
Python 132
Shell 25