RepoTrust

Raathigesh/retoggle

馃帹 UI controls as React Hooks to control your component state from outside

https://github.com/Raathigesh/retoggle 路 commit cfa56f65e1d6 路 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 62 weak 90% 100%
Security 56 weak 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2018-11 2,903 0%
2018-12 1 0%
2019-01 1 0%
2019-02 34 0%
2019-06 7 0%
2020-06 127 0%
2020-07 7 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.02, CI runs tests; 0% of function code in complex or long functions; 5% duplicated lines. Weakest area: type safety.

Area Score
Complexity (lizard) 100
Duplication 76
Code smells (Opengrep) 46
Tests and CI 59
Documentation 65
Type safety 0
Process (Scorecard review/maintenance) 20

Security

Security posture is weak: 312 known vulnerabilities in 133 dependencies. Weakest area: dependencies.

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

Top findings

Severity Finding Location
critical osv/GHSA-67hx-6x53-jw92: @babel/traverse@7.1.4 (npm) is affected by GHSA-67hx-6x53-jw92 yarn.lock
critical osv/GHSA-67hx-6x53-jw92: @babel/traverse@7.1.5 (npm) is affected by GHSA-67hx-6x53-jw92 yarn.lock
critical osv/GHSA-67hx-6x53-jw92: @babel/traverse@7.4.5 (npm) is affected by GHSA-67hx-6x53-jw92 yarn.lock
critical osv/GHSA-67hx-6x53-jw92: babel-traverse@6.26.0 (npm) is affected by GHSA-67hx-6x53-jw92 yarn.lock
critical osv/GHSA-cpq7-6gpm-g9rc: cipher-base@1.0.4 (npm) is affected by GHSA-cpq7-6gpm-g9rc yarn.lock
critical osv/GHSA-phwq-j96m-2c2q: ejs@2.6.1 (npm) is affected by GHSA-phwq-j96m-2c2q yarn.lock
critical osv/GHSA-vjh7-7g9h-fjfh: elliptic@6.4.1 (npm) is affected by GHSA-vjh7-7g9h-fjfh yarn.lock
critical osv/GHSA-6h5x-7c5m-7cr7: eventsource@0.1.6 (npm) is affected by GHSA-6h5x-7c5m-7cr7 yarn.lock
critical osv/GHSA-6h5x-7c5m-7cr7: eventsource@1.0.7 (npm) is affected by GHSA-6h5x-7c5m-7cr7 yarn.lock
critical osv/GHSA-fjxv-7rqg-78g4: form-data@2.3.3 (npm) is affected by GHSA-fjxv-7rqg-78g4 yarn.lock
critical osv/GHSA-8r6j-v8pm-fqw3: fsevents@1.2.4 (npm) is affected by GHSA-8r6j-v8pm-fqw3 yarn.lock
critical osv/GHSA-vvj3-85vf-fgmw: global-modules-path@2.3.0 (npm) is affected by GHSA-vvj3-85vf-fgmw yarn.lock
critical osv/GHSA-2w6w-674q-4c4q: handlebars@4.0.12 (npm) is affected by GHSA-2w6w-674q-4c4q yarn.lock
critical osv/GHSA-765h-qjxv-5f44: handlebars@4.0.12 (npm) is affected by GHSA-765h-qjxv-5f44 yarn.lock
critical osv/GHSA-8r5x-fm3f-whwj: handlebars@4.0.12 (npm) is affected by GHSA-8r5x-fm3f-whwj yarn.lock
critical osv/GHSA-f2jv-r9rf-7988: handlebars@4.0.12 (npm) is affected by GHSA-f2jv-r9rf-7988 yarn.lock
critical osv/GHSA-p8wg-vrv2-v86f: handlebars@4.0.12 (npm) is affected by GHSA-p8wg-vrv2-v86f yarn.lock
critical osv/GHSA-w457-6q6x-cgp9: handlebars@4.0.12 (npm) is affected by GHSA-w457-6q6x-cgp9 yarn.lock
critical osv/GHSA-896r-f27r-55mw: json-schema@0.2.3 (npm) is affected by GHSA-896r-f27r-55mw yarn.lock
critical osv/GHSA-593f-38f6-jp5m: koa@2.6.1 (npm) is affected by GHSA-593f-38f6-jp5m yarn.lock
critical osv/GHSA-76p3-8jx3-jpfq: loader-utils@0.2.17 (npm) is affected by GHSA-76p3-8jx3-jpfq yarn.lock
critical osv/GHSA-76p3-8jx3-jpfq: loader-utils@1.1.0 (npm) is affected by GHSA-76p3-8jx3-jpfq yarn.lock
critical osv/GHSA-jf85-cpcp-j695: lodash@4.17.11 (npm) is affected by GHSA-jf85-cpcp-j695 yarn.lock
critical osv/GHSA-r6rj-9ch6-g264: merge-deep@3.0.2 (npm) is affected by GHSA-r6rj-9ch6-g264 yarn.lock
critical osv/GHSA-xvch-5gv4-984h: minimist@0.0.10 (npm) is affected by GHSA-xvch-5gv4-984h yarn.lock

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
TypeScript 1,604
JavaScript 141

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