Leaderboard github.com
notzhan/Rustagon
Rustagon 是一个采用 100% 纯 Rust 语言与 Aya eBPF 框架构建的新一代云原生容器运行时安全(Container Runtime Security)引擎,并且整个项目的系统架构设计、eBPF 内核代码、用户态引擎、AST 规则解析器以及测试套件,100% 完全由 AI(Cursor / Claude / OpenCode)辅助自动生成,0 手动代码编写。
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
| Tool | Commits | Lines added | First seen | Last seen |
|---|---|---|---|---|
| Cursor agent | 62 | 16,514 | 2026-09-09 | 2026-09-10 |
| GitHub Copilot coding agent | 2 | 1,124 | 2026-09-08 | 2026-09-08 |
Lines added per month all AI-attributed share
- 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 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Code quality | 0.00 | — | — |
| Security | 1.01 | — | — |
Evidence by analyzer
Explicit AI attributionok27 items
- Cursor agent: 62 attributed commits, 16,514 lines added
- GitHub Copilot coding agent: 2 attributed commits, 1,124 lines added
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- Cursor agent: trailer 'Co-authored-by: Cursor'
- 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
- 7,928 lines of first-party code in ~6.0h (1,323 lines/hour, 30 commit session)
- 7,304 lines of first-party code in ~7.1h (1,022 lines/hour, 24 commit session)
- 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
- apply_rule in rustagon-engine/src/rule_loader.rs: complexity 49, 211 lines
- load_sequence in rustagon-engine/src/rule_loader.rs: complexity 31, 139 lines
- main in rustagon-app/scripts/generate_ppm_events.py: complexity 22, 75 lines
- parse_record_inner in rustagon-scap/src/modern_ebpf.rs: complexity 21, 73 lines
- load_from_file_with_cli_overrides in rustagon-config/src/config.rs: complexity 18, 50 lines
- parameter_count in rustagon-common/src/ppm.rs: complexity 16, 20 lines
- parse_key in rustagon-config/src/config.rs: complexity 16, 69 lines
- 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
- 6+ duplicated lines: rustagon-engine/src/alt_loader.rs:68 and rustagon-engine/src/alt_loader.rs:85
- 6+ duplicated lines: rustagon-engine/src/engine.rs:418 and rustagon-engine/src/engine.rs:433
- 6+ duplicated lines: rustagon-engine/src/rule_loader.rs:67 and rustagon-engine/src/rule_loader.rs:103
- 6+ duplicated lines: rustagon-engine/src/ruleset.rs:65 and rustagon-engine/src/ruleset.rs:82
- 6+ duplicated lines: rustagon-parser/src/parser.rs:102 and rustagon-parser/src/parser.rs:117
- 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
| Severity | Rule | Location | Message | Tool |
|---|---|---|---|---|
| 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.
| 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 | 0 | |
| Tests and CI | Code quality | ok | — | 0 | |
| Type safety | Code quality | ok | — | 0 | |
| CI workflows (zizmor) | Security | ok | zizmor 1.32.0 | 4 | |
| Dependencies (osv-scanner) | Security | skipped | — | 0 | |
| 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 | 0 |
Score history
Scores from different scoring versions aren't directly comparable.
| Scored | Commit | Scoring | AI provenance | Quality | Security |
|---|---|---|---|---|---|
| 2026-11-14 | 560d5d6c7e41 | prov-5+qual-2+sec-2 | 100% | 82 | 75 |
| 2026-11-14 | 560d5d6c7e41 | prov-4+qual-2+sec-2 | 100% | 82 | 75 |
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:
- apply_rule in rustagon-engine/src/rule_loader.rs: complexity 49, 211 lines
- load_sequence in rustagon-engine/src/rule_loader.rs: complexity 31, 139 lines
- main in rustagon-app/scripts/generate_ppm_events.py: complexity 22, 75 lines
- parse_record_inner in rustagon-scap/src/modern_ebpf.rs: complexity 21, 73 lines
- load_from_file_with_cli_overrides in rustagon-config/src/config.rs: complexity 18, 50 lines
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 |