RepoTrust

Leaderboard github.com

johanneslatzel/pagerank

Zero-dependency, ESM-native weighted PageRank implementation for TypeScript

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

AI provenance

0%

none-detected

Confidence
43%
Coverage
100%

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

Code quality

88/100

strong

Confidence
90%
Coverage
100%

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

Security

68/100

weak

Confidence
85%
Coverage
100%

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

AI provenance

0% none-detected

No AI attribution or AI-consistent velocity signals detected.

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 pace0
  • Coding-style index (1.0+ means possible)0.00

Lines added per month all AI-attributed share

  1. 2026-06891 · 0% AI
  2. 2026-080 · 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
12
effective_loc
891
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
0
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
222.75
measured_loc
891
median_loc_per_hour
222.75
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 velocityok
flagged_releases
0
max_loc_per_day
0
releases
1
Coding styleok
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
0
index
0
lines_scanned
307
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

88 strong

Code quality is strong: test-to-source ratio 1.90, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: docs.

How the score is built

  • Complexity100
  • Duplication100
  • Lint and smells100
  • Tests and CI70
  • Documentation65
  • Type safety100
  • Review processnot measured

Evidence by analyzer

Complexity (lizard)ok
complex_functions
0
function_nloc
109
functions
9
long_functions
0
many_param_functions
0
mean_ccn
3.22
p90_ccn
9
risky_nloc_share
0.0%
Duplication (jscpd)ok
compared_lines
204
duplicated_lines
0
duplicated_share
0.0%
files
4
Lintok
findings
0
scanned_lines
307
weighted_findings
0
Tests and CIok4 items
  • CI config: .github/workflows/ci.yml .github/workflows/ci.yml
  • CI config: .github/workflows/docs.yml .github/workflows/docs.yml
  • CI config: .github/workflows/labels.yml .github/workflows/labels.yml
  • CI config: .github/workflows/publish.yml .github/workflows/publish.yml
check:ci_present
yes
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
yes
check:test_ratio
yes
check:tests_cochange
yes
ci_files
4
cochange_commits
1
cochange_share
100.0%
source_lines
307
test_lines
584
test_ratio
1.90
Documentationok2 items
  • README.md README.md
  • LICENSE LICENSE
check:changelog
no
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
28
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

68 weak

Security posture is weak: 14 known vulnerabilities in 6 dependencies; 13 high-severity workflow issues. Weakest area: ci actions.

How the score is built

  • Secrets100
  • Static analysis (SAST)100
  • Vulnerable dependencies58
  • CI workflows7
  • Security posture40
  • 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
307
weighted_findings
0
Dependencies (osv-scanner)ok
penalty
33
vulnerabilities
14
vulnerable_packages
6
vulns_critical
0
vulns_high
4
vulns_low
1
vulns_medium
9
vulns_unknown
0
CI workflows (zizmor)ok
findings
21
findings_high
13
findings_low
5
findings_medium
3
penalty
160.20
workflows
4
Security postureok1 item
  • Dependency updates: .github/dependabot.yml .github/dependabot.yml
check:dependency_updates
yes
check:lockfiles
yes
check:security_policy
no
check:signed_commits
no
signed_commit_share
41.7%
unpinned_manifests
0
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

17 high12 medium6 low

SeverityRuleLocationMessageTool
high zizmor/unpinned-uses .github/workflows/ci.yml:10 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:18 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/ci.yml:9 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/docs.yml:24 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/docs.yml:25 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/docs.yml:30 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/docs.yml:31 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/docs.yml:35 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/labels.yml:19 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/labels.yml:21 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:15 unpinned action reference [confidence high] CI workflows (zizmor)
high zizmor/cache-poisoning .github/workflows/publish.yml:16 runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] CI workflows (zizmor)
high zizmor/unpinned-uses .github/workflows/publish.yml:16 unpinned action reference [confidence high] CI workflows (zizmor)
high osv/GHSA-587h-7wmj-h5pm package-lock.json [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm Dependencies (osv-scanner)
high osv/GHSA-68fv-2mgg-jv7q package-lock.json [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q Dependencies (osv-scanner)
high osv/GHSA-6j4f-fj2g-mc7p package-lock.json [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p Dependencies (osv-scanner)
high osv/GHSA-qhr7-859c-m2p7 package-lock.json [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 Dependencies (osv-scanner)
medium zizmor/dependabot-cooldown .github/dependabot.yml:27 insufficient cooldown in Dependabot updates [confidence high] CI workflows (zizmor)
medium zizmor/dependabot-cooldown .github/dependabot.yml:7 insufficient cooldown in Dependabot updates [confidence high] CI workflows (zizmor)
medium zizmor/excessive-permissions .github/workflows/ci.yml:6 overly broad permissions [confidence medium] CI workflows (zizmor)
medium osv/GHSA-698v-4r3x-3vcv package-lock.json [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv Dependencies (osv-scanner)
medium osv/GHSA-82fw-gwwq-j7x9 package-lock.json @vitest/[email protected] (npm) is affected by GHSA-82fw-gwwq-j7x9 Dependencies (osv-scanner)
medium osv/GHSA-82fw-gwwq-j7x9 package-lock.json [email protected] (npm) is affected by GHSA-82fw-gwwq-j7x9 Dependencies (osv-scanner)
medium osv/GHSA-g3hv-75wg-m249 package-lock.json [email protected] (npm) is affected by GHSA-g3hv-75wg-m249 Dependencies (osv-scanner)
medium osv/GHSA-q2hr-2g5m-vwhr package-lock.json [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr Dependencies (osv-scanner)
medium osv/GHSA-qxg6-89mg-rqv8 package-lock.json @vitest/[email protected] (npm) is affected by GHSA-qxg6-89mg-rqv8 Dependencies (osv-scanner)
medium osv/GHSA-r825-w8mm-5pxw package-lock.json [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw Dependencies (osv-scanner)
medium osv/GHSA-rq7h-c2jc-7f22 package-lock.json [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 Dependencies (osv-scanner)
medium osv/GHSA-vfpm-58rq-9qcg package-lock.json [email protected] (npm) is affected by GHSA-vfpm-58rq-9qcg Dependencies (osv-scanner)
low zizmor/artipacked .github/workflows/ci.yml:9 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/docs.yml:24 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/labels.yml:19 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/artipacked .github/workflows/publish.yml:15 credential persistence through GitHub Actions artifacts [confidence low] CI workflows (zizmor)
low zizmor/adhoc-packages .github/workflows/publish.yml:21 ad-hoc installation of packages [confidence high] CI workflows (zizmor)
low osv/GHSA-9jrq-w75r-8gcw package-lock.json [email protected] (npm) is affected by GHSA-9jrq-w75r-8gcw Dependencies (osv-scanner)

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 provenanceokprov-40
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 f1d2b562b4140
Tests and CICode qualityok—0
Type safetyCode qualityok—0
CI workflows (zizmor)Securityokzizmor 1.32.021
Dependencies (osv-scanner)Securityokosv-scanner version: 2.7.114
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-147d3770dcb876prov-5+qual-2+sec-20%8868
2026-11-147d3770dcb876prov-4+qual-2+sec-20%8868

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

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 43% 100%
Code quality 88 strong 90% 100%
Security 68 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
2026-06 891 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 strong: test-to-source ratio 1.90, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: docs.

Area Score
Complexity (lizard) 100
Duplication 100
Code smells (Opengrep) 100
Tests and CI 70
Documentation 65
Type safety 100
Process (Scorecard review/maintenance) n/a
  • Functions: 9; mean complexity 3.2, 90th percentile 9; 0 complex and 0 long functions
  • Duplicated lines: 0.0% of 204 compared
  • Tests: 584 test lines for 307 source lines (ratio 1.90); CI test commands: none detected; 100% of recent source commits also change tests
  • Docs missing or thin: contributing, changelog

Security

Security posture is weak: 14 known vulnerabilities in 6 dependencies; 13 high-severity workflow issues. Weakest area: ci actions.

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

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

Top findings

Severity Finding Location
high osv/GHSA-6j4f-fj2g-mc7p: [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p package-lock.json
high osv/GHSA-qhr7-859c-m2p7: [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 package-lock.json
high osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q package-lock.json
high osv/GHSA-587h-7wmj-h5pm: [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm package-lock.json
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:9
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:10
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/ci.yml:18
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/docs.yml:24
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/docs.yml:25
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/docs.yml:30
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/docs.yml:31
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/docs.yml:35
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/labels.yml:19
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/labels.yml:21
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/publish.yml:15
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/publish.yml:16
high zizmor/cache-poisoning: runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] .github/workflows/publish.yml:16
medium osv/GHSA-82fw-gwwq-j7x9: @vitest/[email protected] (npm) is affected by GHSA-82fw-gwwq-j7x9 package-lock.json
medium osv/GHSA-qxg6-89mg-rqv8: @vitest/[email protected] (npm) is affected by GHSA-qxg6-89mg-rqv8 package-lock.json
medium osv/GHSA-q2hr-2g5m-vwhr: [email protected] (npm) is affected by GHSA-q2hr-2g5m-vwhr package-lock.json
medium osv/GHSA-g3hv-75wg-m249: [email protected] (npm) is affected by GHSA-g3hv-75wg-m249 package-lock.json
medium osv/GHSA-698v-4r3x-3vcv: [email protected] (npm) is affected by GHSA-698v-4r3x-3vcv package-lock.json
medium osv/GHSA-r825-w8mm-5pxw: [email protected] (npm) is affected by GHSA-r825-w8mm-5pxw package-lock.json
medium osv/GHSA-rq7h-c2jc-7f22: [email protected] (npm) is affected by GHSA-rq7h-c2jc-7f22 package-lock.json
medium osv/GHSA-vfpm-58rq-9qcg: [email protected] (npm) is affected by GHSA-vfpm-58rq-9qcg package-lock.json

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: 307; test lines: 584
Language Lines
TypeScript 830
JavaScript 61