RepoTrust

vmg/sundown

Standards compliant, fast, secure markdown processing library in C

https://github.com/vmg/sundown · commit 37728fb2d713 · 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 39 poor 90% 100%
Security 71 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2011-07 296 0%
2011-08 566 0%
2011-09 1,459 0%
2011-11 82 0%
2011-12 61 0%
2012-01 4 0%
2012-02 9 0%
2012-03 93 0%
2012-04 176 0%
2012-05 2 0%
2012-07 58 0%
2012-10 19 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 poor: test-to-source ratio 0.00, no CI test run detected; 33% of function code in complex or long functions; 10% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 38
Duplication 56
Code smells (Opengrep) 100
Tests and CI 0
Documentation 55
Type safety n/a
Process (Scorecard review/maintenance) 5

Most complex functions:

Security

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

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 92
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] html/html.c:577
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] html/html.c:619
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/markdown.c:2416
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/markdown.c:2473
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/stack.c:16

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 5,161

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