RepoTrust

steveLauwh/SGI-STL

剖析 STL 是一种享受的过程!

https://github.com/steveLauwh/SGI-STL · commit be34aace9237 · 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 45 poor 90% 100%
Security 85 strong 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2017-07 31,425 0%
2017-08 16,300 0%
2017-12 715 0%
2018-01 2,324 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; 2% of function code in complex or long functions; 78% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 94
Duplication 1
Code smells (Opengrep) 100
Tests and CI 0
Documentation 40
Type safety n/a
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

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

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

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] [SGI-STL V3.3/stl_algobase.h:461](https://github.com/steveLauwh/SGI-STL/blob/be34aace923769ee114366e0e7decf8521d422b9/SGI-STL V3.3/stl_algobase.h#L461)
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] [SGI-STL V3.3/stl_algobase.h:467](https://github.com/steveLauwh/SGI-STL/blob/be34aace923769ee114366e0e7decf8521d422b9/SGI-STL V3.3/stl_algobase.h#L467)
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] [SGI-STL V3.3/stl_algobase.h:472](https://github.com/steveLauwh/SGI-STL/blob/be34aace923769ee114366e0e7decf8521d422b9/SGI-STL V3.3/stl_algobase.h#L472)

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 48,555
C++ 1,118

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