{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:25:52.884562Z","repo":{"ref":{"host":"github.com","owner":"DisposaBoy","name":"GoSublime"},"default_branch":"development","clone_url":"https://github.com/DisposaBoy/GoSublime.git","html_url":"https://github.com/DisposaBoy/GoSublime","description":"A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.","stars":3395,"forks":293,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":8798,"primary_language":"Go","license_spdx":"MIT","created_at":"2011-08-27T22:24:39Z","pushed_at":"2020-07-21T18:51:34Z","security_policy_url":null,"distribution":{"owner_created_at":"2011-08-27T18:05:33Z","owner_type":"User","release_assets":[]}},"commit_sha":"890149fb88c64554759cbd8339adf55628939bcd","profile":{"lines_by_language":{"Go":35110,"Python":12754},"files_by_category":{"vendored":742,"source":241,"other":41,"docs":23,"test":23,"config":10,"binary":4},"source_lines":44513,"test_lines":3351},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.65,"coverage":1.0,"label":"none-detected","breakdown":{"attributed_share":0.0,"suspected_share":0.0,"estimated_share":0.0,"ai_artifacts":0.0,"flagged_work_units":0.0,"flagged_releases":0.0},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":53.1,"confidence":0.9,"coverage":1.0,"label":"weak","breakdown":{"complexity":57.2,"duplication":50.1,"lint":75.9,"testing":43.0,"docs":100.0,"type_safety":40.0,"process":0.0},"summary":"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."},"security":{"score":70.6,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":91.6,"dependencies":null,"ci_actions":63.1,"posture":0.0,"scorecard":37.1},"summary":"Security posture is adequate: 11 high-severity SAST findings; 2 high-severity workflow issues. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":3.2,"check:Code-Review":0.0,"check:Maintained":0.0,"check:Dangerous-Workflow":10.0,"check:Token-Permissions":0.0,"check:Binary-Artifacts":10.0,"check:CII-Best-Practices":0.0,"check:Pinned-Dependencies":6.0,"check:Security-Policy":0.0,"check:License":10.0,"check:Fuzzing":0.0,"check:Branch-Protection":0.0,"check:SAST":0.0},"findings":[],"evidence":[{"kind":"scorecard-check","description":"Scorecard Code-Review: 0/10 (Found 0/6 approved changesets -- score normalized to 0)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Maintained: 0/10 (0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0)","ref":"Maintained","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Dangerous-Workflow: 10/10 (no dangerous workflow patterns detected)","ref":"Dangerous-Workflow","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":0.0},{"kind":"scorecard-check","description":"Scorecard Token-Permissions: 0/10 (detected GitHub workflow tokens with excessive permissions)","ref":"Token-Permissions","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Binary-Artifacts: 10/10 (no binaries found in the repo)","ref":"Binary-Artifacts","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":0.0},{"kind":"scorecard-check","description":"Scorecard CII-Best-Practices: 0/10 (no effort to earn an OpenSSF best practices badge detected)","ref":"CII-Best-Practices","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Pinned-Dependencies: 6/10 (dependency not pinned by hash detected -- score normalized to 6)","ref":"Pinned-Dependencies","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":0.4},{"kind":"scorecard-check","description":"Scorecard Security-Policy: 0/10 (security policy file not detected)","ref":"Security-Policy","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":0.0},{"kind":"scorecard-check","description":"Scorecard Fuzzing: 0/10 (project is not fuzzed)","ref":"Fuzzing","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Branch-Protection: 0/10 (branch protection not enabled on development/release branches)","ref":"Branch-Protection","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0},{"kind":"scorecard-check","description":"Scorecard SAST: 0/10 (SAST tool is not run on all commits -- score normalized to 0)","ref":"SAST","url":"https://scorecard.dev/viewer/?uri=github.com/DisposaBoy/GoSublime","weight":1.0}],"data":{"date":"2026-11-09","commit":"890149fb88c64554759cbd8339adf55628939bcd","matches_head":true},"error":null},{"analyzer":"sec-registry","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no registry dependencies declared"},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":1925.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":104028.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2011-08":{"loc":256,"attributed_loc":0},"2011-09":{"loc":197,"attributed_loc":0},"2011-10":{"loc":169,"attributed_loc":0},"2011-12":{"loc":61,"attributed_loc":0},"2012-01":{"loc":668,"attributed_loc":0},"2012-02":{"loc":332,"attributed_loc":0},"2012-03":{"loc":3206,"attributed_loc":0},"2012-04":{"loc":260,"attributed_loc":0},"2012-05":{"loc":704,"attributed_loc":0},"2012-06":{"loc":690,"attributed_loc":0},"2012-07":{"loc":1107,"attributed_loc":0},"2012-08":{"loc":890,"attributed_loc":0},"2012-09":{"loc":9265,"attributed_loc":0},"2012-10":{"loc":14117,"attributed_loc":0},"2012-11":{"loc":2952,"attributed_loc":0},"2012-12":{"loc":6177,"attributed_loc":0},"2013-01":{"loc":1824,"attributed_loc":0},"2013-02":{"loc":6305,"attributed_loc":0},"2013-03":{"loc":8124,"attributed_loc":0},"2013-04":{"loc":409,"attributed_loc":0},"2013-05":{"loc":284,"attributed_loc":0},"2013-06":{"loc":980,"attributed_loc":0},"2013-07":{"loc":828,"attributed_loc":0},"2013-08":{"loc":171,"attributed_loc":0},"2013-09":{"loc":32,"attributed_loc":0},"2013-10":{"loc":31,"attributed_loc":0},"2013-11":{"loc":29,"attributed_loc":0},"2013-12":{"loc":349,"attributed_loc":0},"2014-01":{"loc":12,"attributed_loc":0},"2014-02":{"loc":19,"attributed_loc":0},"2014-03":{"loc":0,"attributed_loc":0},"2014-10":{"loc":1,"attributed_loc":0},"2014-12":{"loc":18,"attributed_loc":0},"2015-12":{"loc":755,"attributed_loc":0},"2016-01":{"loc":46,"attributed_loc":0},"2016-03":{"loc":7,"attributed_loc":0},"2016-04":{"loc":429,"attributed_loc":0},"2016-05":{"loc":1260,"attributed_loc":0},"2016-06":{"loc":63,"attributed_loc":0},"2016-07":{"loc":14,"attributed_loc":0},"2016-12":{"loc":0,"attributed_loc":0},"2017-02":{"loc":508,"attributed_loc":0},"2017-03":{"loc":8,"attributed_loc":0},"2017-08":{"loc":502,"attributed_loc":0},"2017-10":{"loc":149,"attributed_loc":0},"2017-11":{"loc":175,"attributed_loc":0},"2017-12":{"loc":177,"attributed_loc":0},"2018-01":{"loc":661,"attributed_loc":0},"2018-02":{"loc":11483,"attributed_loc":0},"2018-03":{"loc":1925,"attributed_loc":0},"2018-04":{"loc":2761,"attributed_loc":0},"2018-05":{"loc":3520,"attributed_loc":0},"2018-07":{"loc":1223,"attributed_loc":0},"2018-08":{"loc":1258,"attributed_loc":0},"2018-09":{"loc":1147,"attributed_loc":0},"2018-10":{"loc":491,"attributed_loc":0},"2018-11":{"loc":4999,"attributed_loc":0},"2018-12":{"loc":664,"attributed_loc":0},"2019-01":{"loc":53,"attributed_loc":0},"2019-02":{"loc":1,"attributed_loc":0},"2019-06":{"loc":2143,"attributed_loc":0},"2019-07":{"loc":1460,"attributed_loc":0},"2019-10":{"loc":3233,"attributed_loc":0},"2019-11":{"loc":0,"attributed_loc":0},"2019-12":{"loc":598,"attributed_loc":0},"2020-01":{"loc":1004,"attributed_loc":0},"2020-02":{"loc":182,"attributed_loc":0},"2020-03":{"loc":46,"attributed_loc":0},"2020-05":{"loc":554,"attributed_loc":0},"2020-06":{"loc":62,"attributed_loc":0}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":0.0,"workflow_agents":0.0,"tools_configured":0.0},"findings":[],"evidence":[],"data":{"artifacts":[],"workflows":[],"tools":[]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":590.0,"flagged_units":0.0,"pre_ai_era_bursts":9.0,"pre_ai_era_measured_loc":88820.0,"pre_ai_era_burst_loc":41331.0,"measured_loc":88820.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":5389.750889679715,"median_loc_per_hour":71.0155594874187,"pr_timed_units":4.0,"excluded_import_loc":15208.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["b15c8993659c73ebb0e2b6f740d586053027e859","c8256b5746c81b9f577a7521e4b7de6fdc447dff"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":45.0,"flagged_releases":0.0,"max_loc_per_day":887.0},"findings":[],"evidence":[],"data":{"releases":[{"from":"r13.12.26-1","to":"r16.04.29-1","loc":1287,"days":855.5,"loc_per_day":1.5,"flagged":false},{"from":"r16.04.29-1","to":"r16.05.01-1","loc":996,"days":1.68,"loc_per_day":593.7,"flagged":false},{"from":"r16.05.01-1","to":"r16.05.03-1","loc":14,"days":2.33,"loc_per_day":6.0,"flagged":false},{"from":"r16.05.03-1","to":"r16.05.03-2","loc":49,"days":0.06,"loc_per_day":887.0,"flagged":false},{"from":"r16.05.03-2","to":"r16.05.07-1","loc":201,"days":3.8,"loc_per_day":52.9,"flagged":false},{"from":"r16.05.07-1","to":"r16.06.02-1","loc":63,"days":26.23,"loc_per_day":2.4,"flagged":false},{"from":"r16.06.02-1","to":"r16.07.09-1","loc":14,"days":36.96,"loc_per_day":0.4,"flagged":false},{"from":"r16.07.09-1","to":"r17.02.16","loc":508,"days":221.95,"loc_per_day":2.3,"flagged":false},{"from":"r17.02.16","to":"r17.03.05","loc":8,"days":17.13,"loc_per_day":0.5,"flagged":false},{"from":"r17.03.05","to":"r17.08.23-1","loc":502,"days":170.82,"loc_per_day":2.9,"flagged":false},{"from":"r17.08.23-1","to":"r17.10.15-1","loc":149,"days":52.96,"loc_per_day":2.8,"flagged":false},{"from":"r17.10.15-1","to":"r17.11.13-1","loc":105,"days":29.14,"loc_per_day":3.6,"flagged":false},{"from":"r17.11.13-1","to":"r17.11.14-1","loc":3,"days":0.97,"loc_per_day":3.1,"flagged":false},{"from":"r17.11.14-1","to":"r17.11.25-1","loc":65,"days":10.74,"loc_per_day":6.1,"flagged":false},{"from":"r17.11.25-1","to":"r17.11.27-1","loc":2,"days":1.53,"loc_per_day":1.3,"flagged":false},{"from":"r17.11.27-1","to":"r17.12.08-1","loc":37,"days":11.53,"loc_per_day":3.2,"flagged":false},{"from":"r17.12.08-1","to":"r17.13.08-1","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"r17.13.08-1","to":"r17.12.17-1","loc":14,"days":9.2,"loc_per_day":1.5,"flagged":false},{"from":"r17.12.17-1","to":"r18.01.14-1","loc":127,"days":28.18,"loc_per_day":4.5,"flagged":false},{"from":"r18.01.14-1","to":"r18.01.17-1","loc":48,"days":2.79,"loc_per_day":17.2,"flagged":false},{"from":"r18.01.17-1","to":"18.02.04-1","loc":2,"days":17.91,"loc_per_day":0.1,"flagged":false},{"from":"18.02.04-1","to":"18.02.09-1","loc":2153,"days":5.02,"loc_per_day":428.7,"flagged":false},{"from":"18.02.09-1","to":"r18.02.16-1","loc":650,"days":6.78,"loc_per_day":95.9,"flagged":false},{"from":"r18.02.16-1","to":"r18.02.17-1","loc":11,"days":0.85,"loc_per_day":13.0,"flagged":false},{"from":"r18.02.17-1","to":"r18.02.17-2","loc":1,"days":0.19,"loc_per_day":5.4,"flagged":false},{"from":"r18.02.17-2","to":"r18.03.05-1","loc":1369,"days":16.17,"loc_per_day":84.7,"flagged":false},{"from":"r18.03.05-1","to":"v18.03.16-1","loc":727,"days":10.83,"loc_per_day":67.1,"flagged":false},{"from":"v18.03.16-1","to":"v18.03.19-1","loc":244,"days":3.29,"loc_per_day":74.1,"flagged":false},{"from":"v18.03.19-1","to":"v18.03.20-1","loc":28,"days":1.0,"loc_per_day":28.1,"flagged":false},{"from":"v18.03.20-1","to":"v18.03.21-1","loc":3,"days":1.03,"loc_per_day":2.9,"flagged":false},{"from":"v18.03.21-1","to":"v18.03.23-1","loc":233,"days":2.05,"loc_per_day":113.5,"flagged":false},{"from":"v18.03.23-1","to":"v18.03.26-1","loc":164,"days":2.46,"loc_per_day":66.7,"flagged":false},{"from":"v18.03.26-1","to":"v18.04.19-1","loc":3,"days":24.07,"loc_per_day":0.1,"flagged":false},{"from":"v18.04.19-1","to":"v18.04.30-1","loc":9,"days":10.97,"loc_per_day":0.8,"flagged":false},{"from":"v18.04.30-1","to":"v18.05.19","loc":2,"days":19.04,"loc_per_day":0.1,"flagged":false},{"from":"v18.05.19","to":"v18.07.12","loc":34,"days":56.08,"loc_per_day":0.6,"flagged":false},{"from":"v18.07.12","to":"v18.07.17","loc":1,"days":4.23,"loc_per_day":0.2,"flagged":false},{"from":"v18.07.17","to":"v18.11.28","loc":15291,"days":133.08,"loc_per_day":114.9,"flagged":false},{"from":"v18.11.28","to":"v19.06.16","loc":57,"days":200.02,"loc_per_day":0.3,"flagged":false},{"from":"v19.06.16","to":"v19.10.22","loc":3234,"days":127.55,"loc_per_day":25.4,"flagged":false},{"from":"v19.10.22","to":"v20.01.01","loc":830,"days":71.1,"loc_per_day":11.7,"flagged":false},{"from":"v20.01.01","to":"v20.02.01","loc":173,"days":31.06,"loc_per_day":5.6,"flagged":false},{"from":"v20.02.01","to":"v20.03.01","loc":9,"days":29.05,"loc_per_day":0.3,"flagged":false},{"from":"v20.03.01","to":"v20.03.09","loc":5140,"days":7.86,"loc_per_day":653.7,"flagged":false},{"from":"v20.03.09","to":"v20.06.14","loc":616,"days":97.32,"loc_per_day":6.3,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":44513.0,"index":0.045,"count:narrated_steps":2.0,"per_kloc:narrated_steps":0.045,"files:narrated_steps":2.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":0.0,"per_kloc:emoji_in_code":0.0,"files:emoji_in_code":0.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # First, shift the edit as far left as possible.","ref":"something_borrowed/diff_match_patch/python2/diff_match_patch.py:801","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/something_borrowed/diff_match_patch/python2/diff_match_patch.py#L801","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # First, shift the edit as far left as possible.","ref":"something_borrowed/diff_match_patch/python3/diff_match_patch.py:799","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/something_borrowed/diff_match_patch/python3/diff_match_patch.py#L799","weight":0.0}],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":21.0,"findings_high":11.0,"findings_medium":10.0,"findings_low":0.0,"weighted_findings":11.1,"scanned_lines":44513.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/python.lang.security.audit.dangerous-subprocess-use-audit","severity":"high","message":"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]","path":"gosubl/gs.py","line":39,"fingerprint":"python.lang.security.audit.dangerous-subprocess-use-audit:gosubl/gs.py:39"},{"rule_id":"opengrep/python.lang.security.audit.dangerous-subprocess-use-audit","severity":"high","message":"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]","path":"gosubl/gs.py","line":209,"fingerprint":"python.lang.security.audit.dangerous-subprocess-use-audit:gosubl/gs.py:209"},{"rule_id":"opengrep/python.lang.security.audit.dangerous-subprocess-use-audit","severity":"high","message":"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]","path":"gosubl/gsshell.py","line":81,"fingerprint":"python.lang.security.audit.dangerous-subprocess-use-audit:gosubl/gsshell.py:81"},{"rule_id":"opengrep/python.lang.security.audit.dangerous-subprocess-use-audit","severity":"high","message":"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]","path":"gosubl/sh.py","line":16,"fingerprint":"python.lang.security.audit.dangerous-subprocess-use-audit:gosubl/sh.py:16"},{"rule_id":"opengrep/python.lang.security.audit.dangerous-subprocess-use-audit","severity":"high","message":"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]","path":"gosubl/sh.py","line":71,"fingerprint":"python.lang.security.audit.dangerous-subprocess-use-audit:gosubl/sh.py:71"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/gosublime/cmd/margo_pkg/m_play.go","line":64,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/gosublime/cmd/margo_pkg/m_play.go:64"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/gosublime/cmd/margo_pkg/m_sh.go","line":39,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/gosublime/cmd/margo_pkg/m_sh.go:39"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/margo.sh/cmdpkg/margo/cmdrunner/cmdrunner.go","line":20,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/margo.sh/cmdpkg/margo/cmdrunner/cmdrunner.go:20"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/margo.sh/format/format.go","line":83,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/margo.sh/format/format.go:83"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/margo.sh/mg/cmd.go","line":353,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/margo.sh/mg/cmd.go:353"},{"rule_id":"opengrep/go.lang.security.audit.dangerous-exec-command","severity":"high","message":"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]","path":"src/margo.sh/mg/lint.go","line":116,"fingerprint":"go.lang.security.audit.dangerous-exec-command:src/margo.sh/mg/lint.go:116"},{"rule_id":"opengrep/python.lang.security.audit.exec-detected","severity":"medium","message":"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]","path":"GoSublime.py","line":19,"fingerprint":"python.lang.security.audit.exec-detected:GoSublime.py:19"},{"rule_id":"opengrep/python.lang.security.dangerous-globals-use","severity":"medium","message":"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]","path":"gosubl/sh.py","line":147,"fingerprint":"python.lang.security.dangerous-globals-use:gosubl/sh.py:147"},{"rule_id":"opengrep/go.lang.security.audit.net.pprof-debug-exposure","severity":"medium","message":"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]","path":"src/gosublime/something-borrowed/gocode/gocode.go","line":67,"fingerprint":"go.lang.security.audit.net.pprof-debug-exposure:src/gosublime/something-borrowed/gocode/gocode.go:67"},{"rule_id":"opengrep/go.lang.security.audit.net.use-tls","severity":"medium","message":"Found an HTTP server without TLS. Use 'http.ListenAndServeTLS' instead. See https://golang.org/pkg/net/http/#ListenAndServeTLS for more information. [confidence medium]","path":"src/gosublime/something-borrowed/gocode/gocode.go","line":67,"fingerprint":"go.lang.security.audit.net.use-tls:src/gosublime/something-borrowed/gocode/gocode.go:67"},{"rule_id":"opengrep/go.lang.security.audit.use-of-unsafe-block","severity":"medium","message":"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]","path":"src/gosublime/something-borrowed/gocode/os_windows.go","line":29,"fingerprint":"go.lang.security.audit.use-of-unsafe-block:src/gosublime/something-borrowed/gocode/os_windows.go:29"},{"rule_id":"opengrep/go.lang.security.audit.use-of-unsafe-block","severity":"medium","message":"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]","path":"src/gosublime/something-borrowed/gocode/os_windows.go","line":43,"fingerprint":"go.lang.security.audit.use-of-unsafe-block:src/gosublime/something-borrowed/gocode/os_windows.go:43"},{"rule_id":"opengrep/go.lang.security.audit.xss.import-text-template","severity":"medium","message":"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]","path":"src/margo.sh/mg/cmd.go","line":14,"fingerprint":"go.lang.security.audit.xss.import-text-template:src/margo.sh/mg/cmd.go:14"},{"rule_id":"opengrep/go.lang.security.audit.use-of-unsafe-block","severity":"medium","message":"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]","path":"src/margo.sh/vfs/vfs.go","line":146,"fingerprint":"go.lang.security.audit.use-of-unsafe-block:src/margo.sh/vfs/vfs.go:146"},{"rule_id":"opengrep/go.lang.security.audit.use-of-unsafe-block","severity":"medium","message":"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]","path":"src/margo.sh/vfs/vfs.go","line":335,"fingerprint":"go.lang.security.audit.use-of-unsafe-block:src/margo.sh/vfs/vfs.go:335"},{"rule_id":"opengrep/go.lang.security.audit.use-of-unsafe-block","severity":"medium","message":"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]","path":"src/margo.sh/vfs/vfs.go","line":335,"fingerprint":"go.lang.security.audit.use-of-unsafe-block:src/margo.sh/vfs/vfs.go:335"}],"evidence":[],"data":{"rulesets":["go","python"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"ok","tool_version":"zizmor 1.32.0","metrics":{"workflows":1.0,"findings":4.0,"findings_high":2.0,"findings_medium":2.0,"findings_low":0.0,"penalty":27.6},"findings":[{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/gs-ci.yml","line":12,"fingerprint":"unpinned-uses:.github/workflows/gs-ci.yml:12"},{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/gs-ci.yml","line":16,"fingerprint":"unpinned-uses:.github/workflows/gs-ci.yml:16"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/gs-ci.yml","line":15,"fingerprint":"artipacked:.github/workflows/gs-ci.yml:15"},{"rule_id":"zizmor/excessive-permissions","severity":"medium","message":"overly broad permissions [confidence medium]","path":".github/workflows/gs-ci.yml","line":4,"fingerprint":"excessive-permissions:.github/workflows/gs-ci.yml:4"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":1.0,"signed_commit_share":0.085,"unpinned_manifests":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":0.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[],"data":{"signals":[],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":2496.0,"function_nloc":29578.0,"mean_ccn":3.55,"p90_ccn":7.0,"complex_functions":65.0,"long_functions":10.0,"many_param_functions":3.0,"risky_nloc_share":0.1863},"findings":[],"evidence":[{"kind":"complex-function","description":"rawExpr in src/gosublime/something-borrowed/types/expr.go: complexity 145, 528 lines","ref":"src/gosublime/something-borrowed/types/expr.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/expr.go#L654","weight":1.0},{"kind":"complex-function","description":"stmt in src/gosublime/something-borrowed/types/stmt.go: complexity 115, 357 lines","ref":"src/gosublime/something-borrowed/types/stmt.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/stmt.go#L289","weight":1.0},{"kind":"complex-function","description":"builtin in src/gosublime/something-borrowed/types/builtins.go: complexity 93, 326 lines","ref":"src/gosublime/something-borrowed/types/builtins.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/builtins.go#L19","weight":1.0},{"kind":"complex-function","description":"infer_type in src/gosublime/something-borrowed/gocode/decl.go: complexity 54, 171 lines","ref":"src/gosublime/something-borrowed/gocode/decl.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/gocode/decl.go#L748","weight":0.9},{"kind":"complex-function","description":"isRepresentableConst in src/gosublime/something-borrowed/types/const.go: complexity 51, 94 lines","ref":"src/gosublime/something-borrowed/types/const.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/const.go#L202","weight":0.85},{"kind":"complex-function","description":"binaryOpConst in src/gosublime/something-borrowed/types/const.go: complexity 46, 134 lines","ref":"src/gosublime/something-borrowed/types/const.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/const.go#L439","weight":0.7666666666666667},{"kind":"complex-function","description":"assign1to1 in src/gosublime/something-borrowed/types/stmt.go: complexity 36, 111 lines","ref":"src/gosublime/something-borrowed/types/stmt.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/stmt.go#L35","weight":0.6},{"kind":"complex-function","description":"newCurCtx in src/margo.sh/golang/cursor/curctx.go: complexity 36, 107 lines","ref":"src/margo.sh/golang/cursor/curctx.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/margo.sh/golang/cursor/curctx.go#L114","weight":0.6},{"kind":"complex-function","description":"IsIdentical in src/gosublime/something-borrowed/types/predicates.go: complexity 33, 61 lines","ref":"src/gosublime/something-borrowed/types/predicates.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/types/predicates.go#L96","weight":0.55},{"kind":"complex-function","description":"diff_bisect in something_borrowed/diff_match_patch/python2/diff_match_patch.py: complexity 31, 67 lines","ref":"something_borrowed/diff_match_patch/python2/diff_match_patch.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/something_borrowed/diff_match_patch/python2/diff_match_patch.py#L257","weight":0.5166666666666667}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":31679.0,"duplicated_lines":3650.0,"duplicated_share":0.1152,"files":241.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: gosubl/gs.py:414 and gosubl/sh.py:362","ref":"gosubl/gs.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/gosubl/gs.py#L414","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: gosubl/margo.py:525 and gosubl/mg9.py:299","ref":"gosubl/margo.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/gosubl/margo.py#L525","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: gsdoc.py:79 and gsdoc.py:167","ref":"gsdoc.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/gsdoc.py#L79","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: something_borrowed/diff_match_patch/python2/diff_match_patch.py:5 and something_borrowed/diff_match_patch/python3/diff_match_patch.py:3","ref":"something_borrowed/diff_match_patch/python2/diff_match_patch.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/something_borrowed/diff_match_patch/python2/diff_match_patch.py#L5","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: something_borrowed/diff_match_patch/python2/diff_match_patch.py:227 and something_borrowed/diff_match_patch/python2/diff_match_patch.py:926","ref":"something_borrowed/diff_match_patch/python2/diff_match_patch.py","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/something_borrowed/diff_match_patch/python2/diff_match_patch.py#L227","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/gosublime/cmd/margo_pkg/m_pkgdoc.go:35 and src/gosublime/cmd/margo_pkg/m_pkgdoc.go:66","ref":"src/gosublime/cmd/margo_pkg/m_pkgdoc.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/cmd/margo_pkg/m_pkgdoc.go#L35","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/gosublime/something-borrowed/gocode/autocompletecontext.go:765 and src/gosublime/something-borrowed/gocode/autocompletecontext.go:788","ref":"src/gosublime/something-borrowed/gocode/autocompletecontext.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/gocode/autocompletecontext.go#L765","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/gosublime/something-borrowed/gocode/autocompletefile.go:4 and src/gosublime/something-borrowed/gocode/cursorcontext.go:4","ref":"src/gosublime/something-borrowed/gocode/autocompletefile.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/gocode/autocompletefile.go#L4","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/gosublime/something-borrowed/gocode/config.go:129 and src/gosublime/something-borrowed/gocode/config.go:142","ref":"src/gosublime/something-borrowed/gocode/config.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/gocode/config.go#L129","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/gosublime/something-borrowed/gocode/decl.go:180 and src/gosublime/something-borrowed/gocode/decl.go:197","ref":"src/gosublime/something-borrowed/gocode/decl.go","url":"https://github.com/DisposaBoy/GoSublime/blob/890149fb88c64554759cbd8339adf55628939bcd/src/gosublime/something-borrowed/gocode/decl.go#L180","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":40.0,"weighted_findings":49.0,"scanned_lines":44513.0,"category:best-practice":19.0,"category:correctness":9.0,"category:maintainability":12.0},"findings":[{"rule_id":"opengrep/python.lang.best-practice.open-never-closed","severity":"high","message":"file object opened without corresponding close","path":"gosubl/gs.py","line":189,"fingerprint":"python.lang.best-practice.open-never-closed:gosubl/gs.py:189"},{"rule_id":"opengrep/python.lang.best-practice.open-never-closed","severity":"high","message":"file object opened without corresponding close","path":"gosubl/gs.py","line":919,"fingerprint":"python.lang.best-practice.open-never-closed:gosubl/gs.py:919"},{"rule_id":"opengrep/python.lang.best-practice.open-never-closed","severity":"high","message":"file object opened without corresponding close","path":"gosubl/gs.py","line":930,"fingerprint":"python.lang.best-practice.open-never-closed:gosubl/gs.py:930"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"gosubl/gsshell.py","line":194,"fingerprint":"python.lang.best-practice.arbitrary-sleep:gosubl/gsshell.py:194"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"gosubl/gsshell.py","line":196,"fingerprint":"python.lang.best-practice.arbitrary-sleep:gosubl/gsshell.py:196"},{"rule_id":"opengrep/python.lang.best-practice.arbitrary-sleep","severity":"high","message":"time.sleep() call; did you mean to leave this in?","path":"gosubl/mg9.py","line":588,"fingerprint":"python.lang.best-practice.arbitrary-sleep:gosubl/mg9.py:588"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"GoSublime.py","line":17,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:GoSublime.py:17"},{"rule_id":"opengrep/python.lang.best-practice.pass-body-fn","severity":"medium","message":"`pass` is the body of function gs_init. Consider removing this or raise NotImplementedError() if this is a TODO","path":"_after.py","line":2,"fingerprint":"python.lang.best-practice.pass-body-fn:_after.py:2"},{"rule_id":"opengrep/python.lang.best-practice.pass-body-fn","severity":"medium","message":"`pass` is the body of function gs_init. Consider removing this or raise NotImplementedError() if this is a TODO","path":"_before.py","line":2,"fingerprint":"python.lang.best-practice.pass-body-fn:_before.py:2"},{"rule_id":"opengrep/python.lang.maintainability.return-not-in-function","severity":"medium","message":"`return` only makes sense inside a function","path":"gosubl/gs.py","line":34,"fingerprint":"python.lang.maintainability.return-not-in-function:gosubl/gs.py:34"},{"rule_id":"opengrep/python.lang.maintainability.return-not-in-function","severity":"medium","message":"`return` only makes sense inside a function","path":"gosubl/gs.py","line":36,"fingerprint":"python.lang.maintainability.return-not-in-function:gosubl/gs.py:36"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"gosubl/gs.py","line":919,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:gosubl/gs.py:919"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"gosubl/gs.py","line":930,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:gosubl/gs.py:930"},{"rule_id":"opengrep/python.lang.best-practice.pass-body-fn","severity":"medium","message":"`pass` is the body of function command_on_done. Consider removing this or raise NotImplementedError() if this is a TODO","path":"gosubl/gsshell.py","line":22,"fingerprint":"python.lang.best-practice.pass-body-fn:gosubl/gsshell.py:22"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_9o\" a function or an attribute? If it is a function, you may have meant mgv.is_9o() because mgv.is_9o is always true.","path":"gosubl/margo.py","line":164,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo.py:164"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_file\" a function or an attribute? If it is a function, you may have meant mgv.is_file() because mgv.is_file is always true.","path":"gosubl/margo.py","line":167,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo.py:167"},{"rule_id":"opengrep/python.lang.maintainability.return-not-in-function","severity":"medium","message":"`return` only makes sense inside a function","path":"gosubl/margo_agent.py","line":21,"fingerprint":"python.lang.maintainability.return-not-in-function:gosubl/margo_agent.py:21"},{"rule_id":"opengrep/python.lang.best-practice.pass-body-fn","severity":"medium","message":"`pass` is the body of function on_navigate. Consider removing this or raise NotImplementedError() if this is a TODO","path":"gosubl/margo_render.py","line":141,"fingerprint":"python.lang.best-practice.pass-body-fn:gosubl/margo_render.py:141"},{"rule_id":"opengrep/python.lang.best-practice.pass-body-fn","severity":"medium","message":"`pass` is the body of function on_hide. Consider removing this or raise NotImplementedError() if this is a TODO","path":"gosubl/margo_render.py","line":144,"fingerprint":"python.lang.best-practice.pass-body-fn:gosubl/margo_render.py:144"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_9o\" a function or an attribute? If it is a function, you may have meant self.is_9o() because self.is_9o is always true.","path":"gosubl/margo_state.py","line":37,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:37"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_file\" a function or an attribute? If it is a function, you may have meant self.is_file() because self.is_file is always true.","path":"gosubl/margo_state.py","line":38,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:38"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_widget\" a function or an attribute? If it is a function, you may have meant self.is_widget() because self.is_widget is always true.","path":"gosubl/margo_state.py","line":39,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:39"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_file\" a function or an attribute? If it is a function, you may have meant self.is_file() because self.is_file is always true.","path":"gosubl/margo_state.py","line":50,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:50"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_widget\" a function or an attribute? If it is a function, you may have meant self.is_widget() because self.is_widget is always true.","path":"gosubl/margo_state.py","line":51,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:51"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_file\" a function or an attribute? If it is a function, you may have meant self.is_file() because self.is_file is always true.","path":"gosubl/margo_state.py","line":51,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gosubl/margo_state.py:51"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"gosubl/mg9.py","line":130,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:gosubl/mg9.py:130"},{"rule_id":"opengrep/python.lang.best-practice.unspecified-open-encoding","severity":"medium","message":"Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files with special characters. Specify the encoding to ensure cross-platform support when opening files in text mode (e.g. encoding=\"utf-8\").","path":"gosubl/mg9.py","line":309,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:gosubl/mg9.py:309"},{"rule_id":"opengrep/python.lang.maintainability.is-function-without-parentheses","severity":"medium","message":"Is \"is_9o\" a function or an attribute? If it is a function, you may have meant mg.view(v.id(), view=v).is_9o() because mg.view(v.id(), view=v).is_9o is always true.","path":"gs9o.py","line":186,"fingerprint":"python.lang.maintainability.is-function-without-parentheses:gs9o.py:186"},{"rule_id":"opengrep/go.lang.correctness.permissions.incorrect-default-permission","severity":"medium","message":"Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.M","path":"something_borrowed/Go/generate.go","line":77,"fingerprint":"go.lang.correctness.permissions.incorrect-default-permission:something_borrowed/Go/generate.go:77"},{"rule_id":"opengrep/go.lang.correctness.permissions.incorrect-default-permission","severity":"medium","message":"Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.M","path":"src/gosublime/cmd/margo_pkg/common.go","line":232,"fingerprint":"go.lang.correctness.permissions.incorrect-default-permission:src/gosublime/cmd/margo_pkg/common.go:232"},{"rule_id":"opengrep/go.lang.best-practice.hidden-goroutine","severity":"medium","message":"Detected a hidden goroutine. Function invocations are expected to synchronous, and this function will execute asynchronously because all it does is call a goroutine. Instead, remove the internal goroutine and call the function using 'go'.","path":"src/gosublime/cmd/margo_pkg/g_autoinst.go","line":112,"fingerprint":"go.lang.best-practice.hidden-goroutine:src/gosublime/cmd/margo_pkg/g_autoinst.go:112"},{"rule_id":"opengrep/go.lang.correctness.permissions.incorrect-default-permission","severity":"medium","message":"Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.M","path":"src/gosublime/cmd/margo_pkg/m_play.go","line":36,"fingerprint":"go.lang.correctness.permissions.incorrect-default-permission:src/gosublime/cmd/margo_pkg/m_play.go:36"},{"rule_id":"opengrep/go.lang.best-practice.hidden-goroutine","severity":"medium","message":"Detected a hidden goroutine. Function invocations are expected to synchronous, and this function will execute asynchronously because all it does is call a goroutine. Instead, remove the internal goroutine and call the function using 'go'.","path":"src/gosublime/cmd/margo_pkg/oom.go","line":9,"fingerprint":"go.lang.best-practice.hidden-goroutine:src/gosublime/cmd/margo_pkg/oom.go:9"},{"rule_id":"opengrep/go.lang.correctness.permissions.incorrect-default-permission","severity":"medium","message":"Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.M","path":"src/gosublime/something-borrowed/gocode/config.go","line":171,"fingerprint":"go.lang.correctness.permissions.incorrect-default-permission:src/gosublime/something-borrowed/gocode/config.go:171"},{"rule_id":"opengrep/go.lang.correctness.permissions.incorrect-default-permission","severity":"medium","message":"Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.M","path":"src/margo.sh/sublime/sublime.go","line":146,"fingerprint":"go.lang.correctness.permissions.incorrect-default-permission:src/margo.sh/sublime/sublime.go:146"},{"rule_id":"opengrep/go.lang.best-practice.hidden-goroutine","severity":"medium","message":"Detected a hidden goroutine. Function invocations are expected to synchronous, and this function will execute asynchronously because all it does is call a goroutine. Instead, remove the internal goroutine and call the function using 'go'.","path":"src/margo.sh/vfs/vfs.go","line":32,"fingerprint":"go.lang.best-practice.hidden-goroutine:src/margo.sh/vfs/vfs.go:32"},{"rule_id":"opengrep/python.lang.correctness.useless-eqeq","severity":"low","message":"This expression is always True: `ipc_codec == ipc_codec` or `ipc_codec != ipc_codec`. If testing for floating point NaN, use `math.isnan(ipc_codec)`, or `cmath.isnan(ipc_codec)` if the number is complex.","path":"gosubl/margo_agent.py","line":18,"fingerprint":"python.lang.correctness.useless-eqeq:gosubl/margo_agent.py:18"},{"rule_id":"opengrep/go.lang.correctness.hardcoded-eq-true-or-false","severity":"low","message":"Detected useless if statement. 'if (True)' and 'if (False)' always result in the same behavior, and therefore is not necessary in the code. Remove the 'if (False)' expression completely or just the 'if (True)' comparison depending on which expression is in the code.","path":"src/gosublime/something-borrowed/types/exportdata.go","line":26,"fingerprint":"go.lang.correctness.hardcoded-eq-true-or-false:src/gosublime/something-borrowed/types/exportdata.go:26"},{"rule_id":"opengrep/go.lang.correctness.hardcoded-eq-true-or-false","severity":"low","message":"Detected useless if statement. 'if (True)' and 'if (False)' always result in the same behavior, and therefore is not necessary in the code. Remove the 'if (False)' expression completely or just the 'if (True)' comparison depending on which expression is in the code.","path":"src/gosublime/something-borrowed/types/gcimporter.go","line":183,"fingerprint":"go.lang.correctness.hardcoded-eq-true-or-false:src/gosublime/something-borrowed/types/gcimporter.go:183"},{"rule_id":"opengrep/go.lang.correctness.hardcoded-eq-true-or-false","severity":"low","message":"Detected useless if statement. 'if (True)' and 'if (False)' always result in the same behavior, and therefore is not necessary in the code. Remove the 'if (False)' expression completely or just the 'if (True)' comparison depending on which expression is in the code.","path":"src/gosublime/something-borrowed/types/gcimporter.go","line":202,"fingerprint":"go.lang.correctness.hardcoded-eq-true-or-false:src/gosublime/something-borrowed/types/gcimporter.go:202"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":0.1506,"check:ci_present":1.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.4194,"test_lines":3351.0,"source_lines":44513.0,"test_ratio":0.0753,"ci_files":1.0,"cochange_share":0.1048,"cochange_commits":248.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .github/workflows/gs-ci.yml","ref":".github/workflows/gs-ci.yml","url":null,"weight":0.0}],"data":{"test_commands":[],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":1.0,"check:contributing":1.0,"check:changelog":1.0,"readme_lines":50.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE.md","ref":"LICENSE.md","url":null,"weight":0.0},{"kind":"docs","description":"CONTRIBUTING.md","ref":"CONTRIBUTING.md","url":null,"weight":0.0},{"kind":"docs","description":"CHANGELOG.md","ref":"CHANGELOG.md","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:strict_config":0.0,"check:low_escape_density":1.0,"escapes":2.0,"escapes_per_kloc":0.182},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}