RepoTrust

nsf/termbox

Library for writing text-based user interfaces

https://github.com/nsf/termbox · commit a04f34c11494 · 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 58 weak 90% 100%
Security 69 weak 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2015-03 29 0%
2015-04 40 0%
2015-05 21 0%
2015-06 14 0%
2015-10 2 0%
2016-05 48 0%
2016-07 142 0%
2016-08 19 0%
2016-09 1 0%
2017-01 3 0%
2017-02 1 0%
2017-04 1 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 weak: test-to-source ratio 0.06, no CI test run detected; 16% of function code in complex or long functions; 0% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 62
Duplication 100
Code smells (Opengrep) 89
Tests and CI 23
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) 30

Most complex functions:

Security

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

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

Top findings

Severity Finding Location
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] src/termbox.c:96
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] src/termbox.c:479
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] src/termbox.c:490
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] src/termbox.c:632

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
C 2,087
Python 260

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