RepoTrust

Leaderboard github.com

RaihanKaskandar/basket

A self-hosted household grocery list that understands English and Dutch

  • View repository ↗
  • TypeScript
  • ★ 0
  • commit cdb0f513c6c8
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

possible

Confidence
41%
Coverage
100%

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

Code quality

77/100

adequate

Confidence
90%
Coverage
100%

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

Security

77/100

adequate

Confidence
85%
Coverage
100%

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

AI provenance

0% possible

Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence).

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pacenot measured
  • Coding-style index (1.0+ means possible)1.99

Lines added per month all AI-attributed share

  1. 2026-104,145 · 0% AI
  2. 2026-119 · 0% AI

Evidence by analyzer

Explicit AI attributionok
attributed_commit_share
0.0%
attributed_commits
0
attributed_loc
0
attributed_loc_share
0.0%
commits
2
effective_loc
4,154
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
4,145
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
2.25
measured_loc
9
median_loc_per_hour
0
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
0
work_units
1
Release velocityskipped
Coding styleok
count:assistant_voice
0
count:emoji_in_code
16
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
3
files:narrated_steps
0
files:placeholder
0
index
1.99
lines_scanned
4,023
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
3.98
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

77 adequate

Code quality is adequate: test-to-source ratio 0.03, CI runs tests; 15% of function code in complex or long functions; 1% duplicated lines. Weakest area: complexity.

How the score is built

  • Complexity64
  • Duplication95
  • Lint and smells94
  • Tests and CI66
  • Documentation65
  • Type safety100
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok5 items
complex_functions
3
function_nloc
2,693
functions
418
long_functions
2
many_param_functions
0
mean_ccn
2.19
p90_ccn
4
risky_nloc_share
14.8%
Duplication (jscpd)ok2 items
compared_lines
3,054
duplicated_lines
26
duplicated_share
0.9%
files
34
Lintok
category:best-practice
1
findings
1
scanned_lines
4,023
weighted_findings
1
Tests and CIok2 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI runs tests (npm test)
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
yes
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
yes
ci_files
1
cochange_commits
2
cochange_share
50.0%
source_lines
4,023
test_lines
115
test_ratio
0.03
Documentationok2 items
  • README.md README.md
  • LICENSE LICENSE
check:changelog
no
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
143
Type safetyok1 item
  • TypeScript strict type checking: tsconfig.json tsconfig.json
check:low_escape_density
yes
check:strict_config
yes
escapes
0
escapes_per_kloc
0

Security

77 adequate

Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 3 high-severity workflow issues. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)100
  • Vulnerable dependencies88
  • CI workflows47
  • Security posture0
  • OpenSSF Scorecardnot measured

Evidence by analyzer

OpenSSF Scorecardskipped

no published OpenSSF Scorecard result for this repo

Package registriesok
checked
12
declared
12
lookup_errors
0
missing
0
recent
0
Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
0
findings_high
0
findings_low
0
findings_medium
0
parse_errors
0
scanned_lines
4,023
weighted_findings
0
Dependencies (osv-scanner)ok
penalty
8
vulnerabilities
1
vulnerable_packages
1
vulns_critical
0
vulns_high
1
vulns_low
0
vulns_medium
0
vulns_unknown
0
CI workflows (zizmor)ok
findings
8
findings_high
3
findings_low
0
findings_medium
5
penalty
45.60
workflows
1
Security postureok
check:dependency_updates
no
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
0.0%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

4 high6 medium

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:12 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:13 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:26 unpinned action reference [confidence high] CI workflows (zizmor)
high osv/GHSA-27r3-jxmh-p828 package-lock.json [email protected] (npm) is affected by GHSA-27r3-jxmh-p828 Dependencies (osv-scanner)
medium opengrep/typescript.react.best-practice.react-props-spreading src/components/ListView.tsx:63 It's best practice to explicitly pass props to an HTML component rather than use the spread operator. The spread operator risks passing invalid HTML props to an HTML element, which can cause console warnings or worse, give malicious... Lint
medium zizmor/excessive-permissions .github/workflows/ci.yml:1 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:12 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:23 overly broad permissions [confidence medium] CI workflows (zizmor)
medium zizmor/artipacked .github/workflows/ci.yml:26 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:9 overly broad permissions [confidence medium] CI workflows (zizmor)

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceskipped—0
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b4141
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.08
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.11
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4140
OpenSSF ScorecardSecurityskipped—0no published OpenSSF Scorecard result for this repo
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-14cdb0f513c6c8prov-5+qual-2+sec-20%7777
2026-11-14cdb0f513c6c8prov-4+qual-2+sec-20%7777

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

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 possible 41% 100%
Code quality 77 adequate 90% 100%
Security 77 adequate 85% 100%

AI provenance

Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence).

  • Explicitly attributed share (lower bound): 0.0%

  • Unattributed share in AI-consistent velocity bursts: 0.0%

  • Estimated AI-generated share: 0.0%

  • Stylometry index: 1.99 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 16). Reported as a signal, not scored.

Month Lines added Attributed to AI
2026-10 4,145 0%
2026-11 9 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 0.03, CI runs tests; 15% of function code in complex or long functions; 1% duplicated lines. Weakest area: complexity.

Area Score
Complexity (lizard) 64
Duplication 95
Code smells (Opengrep) 94
Tests and CI 66
Documentation 65
Type safety 100
Process (Scorecard review/maintenance) n/a
  • Functions: 418; mean complexity 2.2, 90th percentile 4; 3 complex and 2 long functions
  • Duplicated lines: 0.9% of 3,054 compared
  • Tests: 115 test lines for 4,023 source lines (ratio 0.03); CI test commands: npm test; 50% of recent source commits also change tests
  • Docs missing or thin: contributing, changelog

Most complex functions:

Security

Security posture is adequate: 1 known vulnerabilities in 1 dependencies; 3 high-severity workflow issues. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 100
Vulnerable dependencies (OSV) 88
CI workflows (zizmor) 47
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a
  • Known vulnerabilities: 1 in 1 packages (critical 0, high 1, medium 0, low 0)

  • Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits

Top findings

Severity Finding Location
high osv/GHSA-27r3-jxmh-p828: [email protected] (npm) is affected by GHSA-27r3-jxmh-p828 package-lock.json
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:12
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:13
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:26
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:12
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/ci.yml:26
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:1
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:9
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/ci.yml:23

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: 4,023; test lines: 115
Language Lines
TypeScript 4,001
JavaScript 137