RepoTrust

bestruirui/octopus

One Hub All LLMs For You | 为个人打造的 LLM API 聚合网关

https://github.com/bestruirui/octopus · commit 8aa58b0340ba · scored 2026-11-14 · 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) 1 explicit 95% 100%
Code quality 54 weak 90% 100%
Security 57 weak 85% 100%

AI provenance

Explicit AI attribution on 1% of first-party code added; an estimated 1% including velocity signals.

AI tool Attributed commits Lines added
Claude Code 2 682
GitHub Copilot coding agent 1 5

Current source lines last changed by AI-attributed commits: 0 of 22,613.

Too few lines in one group to compare finding densities.

Month Lines added Attributed to AI
2025-11 9,307 0%
2025-12 28,662 0%
2026-01 5,285 13%
2026-02 1,261 0%
2026-03 1,710 0%
2026-04 1,361 0%
2026-05 742 0%
2026-07 219 0%
2026-08 12,078 0%
2026-09 4,946 0%
2026-10 211 0%

Evidence

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.00, no CI test run detected; 21% of function code in complex or long functions; 2% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 53
Duplication 89
Code smells (Opengrep) 52
Tests and CI 15
Documentation 80
Type safety 100
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is weak: 22 known vulnerabilities in 9 dependencies; 3 high-severity SAST findings; 24 high-severity workflow issues. Weakest area: posture.

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

Top findings

Severity Finding Location
high opengrep/go.lang.security.audit.dangerous-exec-command: Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] internal/update/core.go:153
high opengrep/go.lang.security.audit.dangerous-syscall-exec: Detected non-static command inside Exec. Audit the input to 'syscall.Exec'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a malicious script to execute arbitrary code. [confidence low] internal/update/core.go:163
high opengrep/dockerfile.security.missing-user: By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile is a USER other than 'root'. [confidence medium] scripts/dockerfile/Dockerfile:20
high osv/GHSA-6j4f-fj2g-mc7p: [email protected] (npm) is affected by GHSA-6j4f-fj2g-mc7p web/pnpm-lock.yaml
high osv/GHSA-qhr7-859c-m2p7: [email protected] (npm) is affected by GHSA-qhr7-859c-m2p7 web/pnpm-lock.yaml
high osv/GHSA-68fv-2mgg-jv7q: [email protected] (npm) is affected by GHSA-68fv-2mgg-jv7q web/pnpm-lock.yaml
high osv/GHSA-587h-7wmj-h5pm: [email protected] (npm) is affected by GHSA-587h-7wmj-h5pm web/pnpm-lock.yaml
high osv/GHSA-mrhx-c7xc-m3w5: [email protected] (npm) is affected by GHSA-mrhx-c7xc-m3w5 web/pnpm-lock.yaml
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/build.yaml:15
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/build.yaml:18
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/build.yaml:23
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/build.yaml:36
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/build.yaml:42
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:20
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:34
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:47
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:52
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:67
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:73
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:82
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:97
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:105
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:115
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:118
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/release.yaml:121

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.

Distribution signals

Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.

Repository profile

Language Lines
TypeScript 12,691
Go 9,628
JavaScript 190
Shell 104

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