Raathigesh/retoggle
馃帹 UI controls as React Hooks to control your component state from outside
- Repository: https://github.com/Raathigesh/retoggle
- Commit:
cfa56f65e1d63a6ddd42ff76244c873b9d52a6a7 - Generated: 2026-11-13T23:40:55+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
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.
- Explicitly attributed share (lower bound): 0.0%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 0.0%
| 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 |
- Functions: 114; mean complexity 1.3, 90th percentile 2; 0 complex and 0 long functions
- Duplicated lines: 4.6% of 1,124 compared
- Tests: 41 test lines for 1,704 source lines (ratio 0.02); CI test commands: yarn test; 8% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
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 |
-
Known vulnerabilities: 312 in 133 packages (critical 41, high 135, medium 102, low 21)
-
Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
-
OpenSSF Scorecard aggregate: 2.6/10 (published 2026-11-09)
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
- Source lines: 1,704; test lines: 41
| Language | Lines |
|---|---|
| TypeScript | 1,604 |
| JavaScript | 141 |