RepoTrust

tokio-rs/tokio-core

I/O primitives and event loop for async I/O in Rust

https://github.com/tokio-rs/tokio-core · commit fdba3f18370c · 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) 0 none-detected 65% 100%
Code quality 81 strong 90% 100%
Security 81 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2017-06 41 0%
2017-07 24 0%
2017-08 13 0%
2017-09 1,402 0%
2017-10 104 0%
2017-11 4 0%
2017-12 20 0%
2018-01 117 0%
2018-03 1,118 0%
2018-04 76 0%
2018-05 5 0%
2020-12 3 0%

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.15, CI runs tests; 0% of function code in complex or long functions; 6% duplicated lines. Weakest area: docs.

Area Score
Complexity (lizard) 100
Duplication 71
Code smells (Opengrep) 100
Tests and CI 67
Documentation 65
Type safety n/a
Process (Scorecard review/maintenance) n/a

Security

Security posture is adequate: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 96
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a

Top findings

Severity Finding Location
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] benches/tcp.rs:174
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] src/net/tcp.rs:653
low opengrep/rust.lang.security.unsafe-usage: Detected 'unsafe' usage, please audit for secure usage [confidence high] src/net/tcp.rs:685

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
Rust 8,561

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