RepoTrust

Leaderboard github.com

briangonzalez/rgbaster.js

🎨 A simple library for extracting dominant colors from images.

  • View repository ↗
  • TypeScript
  • ★ 1,743
  • commit ac08054ec65e
  • scored 2026-11-13
  • scoring prov-4+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
59%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

70/100

adequate

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

79/100

adequate

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 59% 100%
Code quality 70 adequate 90% 100%
Security 79 adequate 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
2013-12 195 0%
2014-01 6 0%
2014-06 77 0%
2016-04 8 0%
2016-05 1 0%
2017-01 38 0%
2018-05 101 0%
2018-11 333 0%
2018-12 28 0%
2019-01 28 0%
2019-02 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 adequate: test-to-source ratio 1.00, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: process.

Area Score
Complexity (lizard) 100
Duplication 100
Code smells (Opengrep) 100
Tests and CI 47
Documentation 40
Type safety 40
Process (Scorecard review/maintenance) 20
  • Functions: 8; mean complexity 2.5, 90th percentile 8; 0 complex and 0 long functions
  • Duplicated lines: 0.0% of 70 compared
  • Tests: 104 test lines for 104 source lines (ratio 1.00); CI test commands: none detected; 6% of recent source commits also change tests
  • Docs missing or thin: license, contributing, changelog

Security

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

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 100
Vulnerable dependencies (OSV) 100
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard 25
  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
  • OpenSSF Scorecard aggregate: 2.1/10 (published 2026-11-09)

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: 104; test lines: 104
Language Lines
TypeScript 200
JavaScript 8

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