RepoTrust

DisposaBoy/GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.

https://github.com/DisposaBoy/GoSublime · commit 890149fb88c6 · scored 2026-11-13 · 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) 0 none-detected 65% 100%
Code quality 53 weak 90% 100%
Security 71 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2018-12 664 0%
2019-01 53 0%
2019-02 1 0%
2019-06 2,143 0%
2019-07 1,460 0%
2019-10 3,233 0%
2019-12 598 0%
2020-01 1,004 0%
2020-02 182 0%
2020-03 46 0%
2020-05 554 0%
2020-06 62 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.08, no CI test run detected; 19% of function code in complex or long functions; 12% duplicated lines. Weakest area: process.

Area Score
Complexity (lizard) 57
Duplication 50
Code smells (Opengrep) 76
Tests and CI 43
Documentation 100
Type safety 40
Process (Scorecard review/maintenance) 0

Most complex functions:

Security

Security posture is adequate: 11 high-severity SAST findings; 2 high-severity workflow issues. Weakest area: posture.

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

Top findings

Severity Finding Location
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'STARTUPINFO' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] gosubl/gs.py:39
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] gosubl/gs.py:209
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] gosubl/gsshell.py:81
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'STARTUPINFO' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] gosubl/sh.py:16
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'Popen' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] gosubl/sh.py:71
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] src/gosublime/cmd/margo_pkg/m_play.go:64
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] src/gosublime/cmd/margo_pkg/m_sh.go:39
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] src/margo.sh/cmdpkg/margo/cmdrunner/cmdrunner.go:20
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] src/margo.sh/format/format.go:83
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] src/margo.sh/mg/cmd.go:353
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] src/margo.sh/mg/lint.go:116
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/gs-ci.yml:12
high zizmor/unpinned-uses: unpinned action reference [confidence high] .github/workflows/gs-ci.yml:16
medium opengrep/python.lang.security.audit.exec-detected: Detected the use of exec(). exec() can be dangerous if used to evaluate dynamic content. If this content can be input from outside the program, this may be a code injection vulnerability. Ensure evaluated content is not definable by external sources. [confidence low] GoSublime.py:19
medium opengrep/python.lang.security.dangerous-globals-use: Found non static data as an index to 'globals()'. This is extremely dangerous because it allows an attacker to execute arbitrary code on the system. Refactor your code not to use 'globals()'. [confidence low] gosubl/sh.py:147
medium opengrep/go.lang.security.audit.net.pprof-debug-exposure: The profiling 'pprof' endpoint is automatically exposed on /debug/pprof. This could leak information about the server. Instead, use import "net/http/pprof". See https://www.farsightsecurity.com/blog/txt-record/go-remote-profiling-20161028/ for more information and mitigation. [confidence low] src/gosublime/something-borrowed/gocode/gocode.go:67
medium opengrep/go.lang.security.audit.net.use-tls: Found an HTTP server without TLS. Use 'http.ListenAndServeTLS' instead. See https://golang.org/pkg/net/http/#ListenAndServeTLS for more information. [confidence medium] src/gosublime/something-borrowed/gocode/gocode.go:67
medium opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] src/gosublime/something-borrowed/gocode/os_windows.go:29
medium opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] src/gosublime/something-borrowed/gocode/os_windows.go:43
medium opengrep/go.lang.security.audit.xss.import-text-template: When working with web applications that involve rendering user-generated content, it's important to properly escape any HTML content to prevent Cross-Site Scripting (XSS) attacks. In Go, the text/template package does not automatically escape HTML content, which can leave your application vuln [confidence low] src/margo.sh/mg/cmd.go:14
medium opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] src/margo.sh/vfs/vfs.go:146
medium opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] src/margo.sh/vfs/vfs.go:335
medium opengrep/go.lang.security.audit.use-of-unsafe-block: Using the unsafe package in Go gives you low-level memory management and many of the strengths of the C language, but also steps around the type safety of Go and can lead to buffer overflows and possible arbitrary code execution by an attacker. Only use this package if you absolutely know what you'r [confidence low] src/margo.sh/vfs/vfs.go:335
medium zizmor/artipacked: credential persistence through GitHub Actions artifacts [confidence low] .github/workflows/gs-ci.yml:15
medium zizmor/excessive-permissions: overly broad permissions [confidence medium] .github/workflows/gs-ci.yml:4

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

Language Lines
Go 35,110
Python 12,754

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