{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:06.834894Z","repo":{"ref":{"host":"github.com","owner":"petems","name":"tugboat"},"default_branch":"master","clone_url":"https://github.com/petems/tugboat.git","html_url":"https://github.com/petems/tugboat","description":"A command line tool for interacting with your DigitalOcean droplets.","stars":1437,"forks":86,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":709,"primary_language":"Ruby","license_spdx":"MIT","created_at":"2013-04-13T19:14:45Z","pushed_at":"2018-03-11T19:09:27Z","security_policy_url":null,"distribution":{"owner_created_at":"2011-09-20T10:50:17Z","owner_type":"User","release_assets":[]}},"commit_sha":"db1785c75f894022eb2ca3a7381f1d19cba4612f","profile":{"lines_by_language":{"Ruby":6322,"Shell":3},"files_by_category":{"source":44,"test":44,"config":42,"other":8,"docs":7},"source_lines":2647,"test_lines":3678},"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,"style_index":0.756},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":77.9,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":81.5,"duplication":49.4,"lint":100.0,"testing":70.0,"docs":100.0,"type_safety":null,"process":null},"summary":"Code quality is adequate: test-to-source ratio 1.39, no CI test run detected; 7% of function code in complex or long functions; 12% duplicated lines. Weakest area: duplication."},"security":{"score":77.7,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":93.6,"sast":96.7,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":null},"summary":"Security posture is adequate: no high-impact findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"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":453.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":12968.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2013-04":{"loc":2471,"attributed_loc":0},"2013-05":{"loc":400,"attributed_loc":0},"2013-06":{"loc":457,"attributed_loc":0},"2013-07":{"loc":78,"attributed_loc":0},"2013-08":{"loc":303,"attributed_loc":0},"2013-09":{"loc":547,"attributed_loc":0},"2013-11":{"loc":119,"attributed_loc":0},"2013-12":{"loc":2,"attributed_loc":0},"2014-01":{"loc":117,"attributed_loc":0},"2014-02":{"loc":684,"attributed_loc":0},"2014-03":{"loc":19,"attributed_loc":0},"2014-04":{"loc":6,"attributed_loc":0},"2014-07":{"loc":0,"attributed_loc":0},"2014-09":{"loc":238,"attributed_loc":0},"2014-10":{"loc":10,"attributed_loc":0},"2014-12":{"loc":323,"attributed_loc":0},"2015-01":{"loc":125,"attributed_loc":0},"2015-02":{"loc":6,"attributed_loc":0},"2015-05":{"loc":9,"attributed_loc":0},"2015-07":{"loc":257,"attributed_loc":0},"2015-08":{"loc":4,"attributed_loc":0},"2015-10":{"loc":1642,"attributed_loc":0},"2015-11":{"loc":729,"attributed_loc":0},"2015-12":{"loc":80,"attributed_loc":0},"2016-01":{"loc":39,"attributed_loc":0},"2016-02":{"loc":86,"attributed_loc":0},"2016-03":{"loc":0,"attributed_loc":0},"2016-05":{"loc":0,"attributed_loc":0},"2016-10":{"loc":260,"attributed_loc":0},"2017-03":{"loc":2650,"attributed_loc":0},"2017-06":{"loc":482,"attributed_loc":0},"2017-07":{"loc":2,"attributed_loc":0},"2017-11":{"loc":357,"attributed_loc":0},"2017-12":{"loc":465,"attributed_loc":0},"2018-03":{"loc":1,"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":190.0,"flagged_units":0.0,"pre_ai_era_bursts":1.0,"pre_ai_era_measured_loc":12968.0,"pre_ai_era_burst_loc":2443.0,"measured_loc":12968.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":552.6801985797775,"median_loc_per_hour":46.25,"pr_timed_units":0.0,"excluded_import_loc":0.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":[]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":26.0,"flagged_releases":0.0,"max_loc_per_day":211.2},"findings":[],"evidence":[],"data":{"releases":[{"from":"v0.0.2","to":"v0.0.3","loc":31,"days":0.84,"loc_per_day":36.7,"flagged":false},{"from":"v0.0.3","to":"v0.0.4","loc":1005,"days":7.99,"loc_per_day":125.8,"flagged":false},{"from":"v0.0.4","to":"v0.0.5","loc":325,"days":10.82,"loc_per_day":30.0,"flagged":false},{"from":"v0.0.5","to":"v0.0.6","loc":759,"days":52.18,"loc_per_day":14.5,"flagged":false},{"from":"v0.0.6","to":"v0.0.7","loc":79,"days":14.91,"loc_per_day":5.3,"flagged":false},{"from":"v0.0.7","to":"v0.0.8","loc":600,"days":58.84,"loc_per_day":10.2,"flagged":false},{"from":"v0.0.8","to":"v0.0.9","loc":370,"days":108.54,"loc_per_day":3.4,"flagged":false},{"from":"v0.0.9","to":"v0.2.0","loc":801,"days":53.05,"loc_per_day":15.1,"flagged":false},{"from":"v0.2.0","to":"v1.0.0","loc":730,"days":464.88,"loc_per_day":1.6,"flagged":false},{"from":"v1.0.0","to":"v1.1.0","loc":38,"days":52.98,"loc_per_day":0.7,"flagged":false},{"from":"v1.1.0","to":"v1.2.0","loc":8,"days":0.04,"loc_per_day":192.0,"flagged":false},{"from":"v1.2.0","to":"v1.3.0","loc":218,"days":1.03,"loc_per_day":211.2,"flagged":false},{"from":"v1.3.0","to":"v1.3.1","loc":4,"days":13.63,"loc_per_day":0.3,"flagged":false},{"from":"v1.3.1","to":"v2.0.0.RC1","loc":1463,"days":78.61,"loc_per_day":18.6,"flagged":false},{"from":"v2.0.0.RC1","to":"v2.0.0","loc":295,"days":14.51,"loc_per_day":20.3,"flagged":false},{"from":"v2.0.0","to":"v2.0.1","loc":31,"days":7.24,"loc_per_day":4.3,"flagged":false},{"from":"v2.0.1","to":"v2.1.0","loc":583,"days":20.98,"loc_per_day":27.8,"flagged":false},{"from":"v2.1.0","to":"v2.2.0","loc":118,"days":59.7,"loc_per_day":2.0,"flagged":false},{"from":"v2.2.0","to":"v2.2.1","loc":45,"days":17.0,"loc_per_day":2.6,"flagged":false},{"from":"v2.2.1","to":"v2.2.2","loc":41,"days":2.13,"loc_per_day":19.3,"flagged":false},{"from":"v2.2.2","to":"v2.2.3","loc":2640,"days":377.97,"loc_per_day":7.0,"flagged":false},{"from":"v2.2.3","to":"v2.2.4","loc":10,"days":16.28,"loc_per_day":0.6,"flagged":false},{"from":"v2.2.4","to":"v3.0.0","loc":272,"days":103.83,"loc_per_day":2.6,"flagged":false},{"from":"v3.0.0","to":"v3.1.0","loc":2,"days":12.72,"loc_per_day":0.2,"flagged":false},{"from":"v3.1.0","to":"v4.0.0","loc":664,"days":143.2,"loc_per_day":4.6,"flagged":false},{"from":"v4.0.0","to":"v4.1.0","loc":629,"days":98.14,"loc_per_day":6.4,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":2647.0,"index":0.756,"count:narrated_steps":2.0,"per_kloc:narrated_steps":0.756,"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, if nothing is provided to us, we should quit and","ref":"lib/tugboat/middleware/find_droplet.rb:25","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/middleware/find_droplet.rb#L25","weight":0.0},{"kind":"stylometry:narrated_steps","description":"step-by-step narration comment: # First, if nothing is provided to us, we should quit and","ref":"lib/tugboat/middleware/find_image.rb:11","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/middleware/find_image.rb#L11","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":1.0,"secrets_low_confidence":1.0},"findings":[{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"features/tugboat/config_array_of_ssh_keys.feature","line":12,"fingerprint":"features/tugboat/config_array_of_ssh_keys.feature:generic-api-key:12"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"README.md","line":58,"fingerprint":"README.md:generic-api-key:58"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":1.0,"findings_high":0.0,"findings_medium":1.0,"findings_low":0.0,"weighted_findings":0.25,"scanned_lines":2647.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/ruby.rails.security.audit.xss.manual-template-creation","severity":"medium","message":"Detected manual creation of an ERB template. Manual creation of templates may expose your application to server-side template injection (SSTI) or cross-site scripting (XSS) attacks if user input is used to create the template. Instead, create a '.erb' template file and use 'render'. [confidence low]","path":"features/step_definitions/steps.rb","line":4,"fingerprint":"ruby.rails.security.audit.xss.manual-template-creation:features/step_definitions/steps.rb:4"}],"evidence":[],"data":{"rulesets":["ruby"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"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":0.0,"signed_commit_share":0.06,"unpinned_manifests":1.0},"findings":[],"evidence":[{"kind":"posture","description":"Gemfile has no lockfile alongside it (unpinned dependencies)","ref":"Gemfile","url":null,"weight":0.3}],"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":135.0,"function_nloc":1392.0,"mean_ccn":1.97,"p90_ccn":3.0,"complex_functions":1.0,"long_functions":0.0,"many_param_functions":1.0,"risky_nloc_share":0.0682},"findings":[],"evidence":[{"kind":"complex-function","description":"call in lib/tugboat/middleware/find_droplet.rb: complexity 17, 95 lines","ref":"lib/tugboat/middleware/find_droplet.rb","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/middleware/find_droplet.rb#L18","weight":0.2833333333333333}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":1738.0,"duplicated_lines":204.0,"duplicated_share":0.1174,"files":44.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: lib/tugboat/cli.rb:41 and lib/tugboat/cli.rb:136","ref":"lib/tugboat/cli.rb","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/cli.rb#L41","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/tugboat/middleware/base.rb:98 and lib/tugboat/middleware/info_droplet.rb:26","ref":"lib/tugboat/middleware/base.rb","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/middleware/base.rb#L98","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/tugboat/middleware/list_images.rb:11 and lib/tugboat/middleware/list_images.rb:22","ref":"lib/tugboat/middleware/list_images.rb","url":"https://github.com/petems/tugboat/blob/db1785c75f894022eb2ca3a7381f1d19cba4612f/lib/tugboat/middleware/list_images.rb#L11","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":0.0,"weighted_findings":0.0,"scanned_lines":2647.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":1.0,"check:ci_present":1.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":1.0,"test_lines":3678.0,"source_lines":2647.0,"test_ratio":1.3895,"ci_files":1.0,"cochange_share":0.4062,"cochange_commits":160.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .travis.yml","ref":".travis.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":529.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":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}