{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:29:45.294450Z","repo":{"ref":{"host":"github.com","owner":"NoamB","name":"sorcery"},"default_branch":"master","clone_url":"https://github.com/NoamB/sorcery.git","html_url":"https://github.com/NoamB/sorcery","description":"Magical authentication for Rails 3 & 4","stars":2296,"forks":373,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":2698,"primary_language":"Ruby","license_spdx":"MIT","created_at":"2011-01-29T23:44:22Z","pushed_at":"2016-12-29T17:46:16Z","security_policy_url":null,"distribution":{"owner_created_at":"2008-05-09T12:41:44Z","owner_type":"User","release_assets":[]}},"commit_sha":"4aaf38363eddf7a2982312ce68f0105dcc4ae8dc","profile":{"lines_by_language":{"Ruby":7993},"files_by_category":{"source":58,"test":50,"other":20,"config":6,"docs":3},"source_lines":4055,"test_lines":3938},"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":77.0,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":100.0,"duplication":70.7,"lint":100.0,"testing":70.0,"docs":65.0,"type_safety":null,"process":35.0},"summary":"Code quality is adequate: test-to-source ratio 0.97, no CI test run detected; 0% of function code in complex or long functions; 6% duplicated lines. Weakest area: process."},"security":{"score":22.3,"confidence":0.85,"coverage":1.0,"label":"poor","breakdown":{"secrets":42.0,"sast":7.5,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":25.0},"summary":"Security posture is poor: 0 possible secret(s) in the tree, 1 only in history; 16 high-severity SAST findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":3.0,"check:Code-Review":7.0,"check:Maintained":0.0,"check:Binary-Artifacts":10.0,"check:CII-Best-Practices":0.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: 7/10 (Found 11/14 approved changesets -- score normalized to 7)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/NoamB/sorcery","weight":0.3},{"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/NoamB/sorcery","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/NoamB/sorcery","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/NoamB/sorcery","weight":1.0},{"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/NoamB/sorcery","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/NoamB/sorcery","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/NoamB/sorcery","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/NoamB/sorcery","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/NoamB/sorcery","weight":1.0}],"data":{"date":"2026-11-09","commit":"4aaf38363eddf7a2982312ce68f0105dcc4ae8dc","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":901.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":58810.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2010-12":{"loc":10650,"attributed_loc":0},"2011-01":{"loc":4333,"attributed_loc":0},"2011-02":{"loc":2028,"attributed_loc":0},"2011-03":{"loc":3518,"attributed_loc":0},"2011-04":{"loc":1283,"attributed_loc":0},"2011-05":{"loc":12429,"attributed_loc":0},"2011-06":{"loc":362,"attributed_loc":0},"2011-07":{"loc":180,"attributed_loc":0},"2011-09":{"loc":745,"attributed_loc":0},"2011-10":{"loc":10762,"attributed_loc":0},"2011-11":{"loc":627,"attributed_loc":0},"2011-12":{"loc":10,"attributed_loc":0},"2012-01":{"loc":392,"attributed_loc":0},"2012-02":{"loc":135,"attributed_loc":0},"2012-03":{"loc":4,"attributed_loc":0},"2012-04":{"loc":257,"attributed_loc":0},"2012-05":{"loc":280,"attributed_loc":0},"2012-06":{"loc":102,"attributed_loc":0},"2012-07":{"loc":61,"attributed_loc":0},"2012-08":{"loc":1,"attributed_loc":0},"2012-09":{"loc":131,"attributed_loc":0},"2012-10":{"loc":82,"attributed_loc":0},"2012-11":{"loc":76,"attributed_loc":0},"2012-12":{"loc":95,"attributed_loc":0},"2013-01":{"loc":69,"attributed_loc":0},"2013-02":{"loc":136,"attributed_loc":0},"2013-03":{"loc":2,"attributed_loc":0},"2013-04":{"loc":170,"attributed_loc":0},"2013-05":{"loc":2,"attributed_loc":0},"2013-06":{"loc":197,"attributed_loc":0},"2013-07":{"loc":11,"attributed_loc":0},"2013-08":{"loc":41,"attributed_loc":0},"2013-09":{"loc":7,"attributed_loc":0},"2013-10":{"loc":1734,"attributed_loc":0},"2013-11":{"loc":949,"attributed_loc":0},"2013-12":{"loc":295,"attributed_loc":0},"2014-01":{"loc":54,"attributed_loc":0},"2014-02":{"loc":49,"attributed_loc":0},"2014-03":{"loc":25,"attributed_loc":0},"2014-04":{"loc":104,"attributed_loc":0},"2014-05":{"loc":83,"attributed_loc":0},"2014-06":{"loc":1475,"attributed_loc":0},"2014-07":{"loc":3553,"attributed_loc":0},"2014-08":{"loc":52,"attributed_loc":0},"2014-09":{"loc":6,"attributed_loc":0},"2014-10":{"loc":156,"attributed_loc":0},"2014-11":{"loc":294,"attributed_loc":0},"2014-12":{"loc":12,"attributed_loc":0},"2015-01":{"loc":141,"attributed_loc":0},"2015-02":{"loc":29,"attributed_loc":0},"2015-03":{"loc":8,"attributed_loc":0},"2015-04":{"loc":186,"attributed_loc":0},"2015-05":{"loc":22,"attributed_loc":0},"2015-06":{"loc":172,"attributed_loc":0},"2015-09":{"loc":7,"attributed_loc":0},"2015-10":{"loc":14,"attributed_loc":0},"2015-11":{"loc":0,"attributed_loc":0},"2015-12":{"loc":0,"attributed_loc":0},"2016-01":{"loc":1,"attributed_loc":0},"2016-02":{"loc":47,"attributed_loc":0},"2016-03":{"loc":34,"attributed_loc":0},"2016-05":{"loc":0,"attributed_loc":0},"2016-06":{"loc":0,"attributed_loc":0},"2016-07":{"loc":104,"attributed_loc":0},"2016-08":{"loc":19,"attributed_loc":0},"2016-09":{"loc":7,"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":429.0,"flagged_units":0.0,"pre_ai_era_bursts":1.0,"pre_ai_era_measured_loc":37887.0,"pre_ai_era_burst_loc":9573.0,"measured_loc":37887.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":3267.8551109425375,"median_loc_per_hour":45.5,"pr_timed_units":0.0,"excluded_import_loc":20923.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["42a9334b70e149a50db9064999d49a106941eb8a","84b4d59948ad944373ea7b7ee7cc7bdec016822d"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":41.0,"flagged_releases":0.0,"max_loc_per_day":943.6},"findings":[],"evidence":[],"data":{"releases":[{"from":"v0.1.0","to":"v0.1.1","loc":20,"days":2.17,"loc_per_day":9.2,"flagged":false},{"from":"v0.1.1","to":"v0.1.2","loc":25,"days":0.59,"loc_per_day":42.2,"flagged":false},{"from":"v0.1.2","to":"v0.1.3","loc":164,"days":0.38,"loc_per_day":431.0,"flagged":false},{"from":"v0.1.3","to":"v0.1.4","loc":829,"days":14.38,"loc_per_day":57.6,"flagged":false},{"from":"v0.1.4","to":"v0.2.0","loc":1671,"days":21.56,"loc_per_day":77.5,"flagged":false},{"from":"v0.2.0","to":"v0.2.1","loc":10,"days":2.04,"loc_per_day":4.9,"flagged":false},{"from":"v0.2.1","to":"v0.3.0","loc":2778,"days":20.92,"loc_per_day":132.8,"flagged":false},{"from":"v0.3.0","to":"v0.3.1","loc":354,"days":12.99,"loc_per_day":27.2,"flagged":false},{"from":"v0.3.1","to":"v0.4.0","loc":347,"days":3.67,"loc_per_day":94.6,"flagged":false},{"from":"v0.4.0","to":"v0.4.1","loc":60,"days":0.06,"loc_per_day":943.6,"flagged":false},{"from":"v0.4.1","to":"v0.4.2","loc":496,"days":9.14,"loc_per_day":54.2,"flagged":false},{"from":"v0.4.2","to":"v0.5.0","loc":129,"days":10.07,"loc_per_day":12.8,"flagged":false},{"from":"v0.5.0","to":"v0.5.1","loc":30,"days":0.12,"loc_per_day":260.7,"flagged":false},{"from":"v0.5.1","to":"v0.5.2","loc":1426,"days":8.91,"loc_per_day":160.0,"flagged":false},{"from":"v0.5.2","to":"v0.5.21","loc":1,"days":0.35,"loc_per_day":2.9,"flagged":false},{"from":"v0.5.21","to":"v0.5.3","loc":383,"days":42.61,"loc_per_day":9.0,"flagged":false},{"from":"v0.5.3","to":"v0.5.30","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"v0.5.30","to":"v0.6.0","loc":179,"days":28.99,"loc_per_day":6.2,"flagged":false},{"from":"v0.6.0","to":"v0.6.1","loc":1,"days":33.61,"loc_per_day":0.0,"flagged":false},{"from":"v0.6.1","to":"v0.7.0","loc":744,"days":27.96,"loc_per_day":26.6,"flagged":false},{"from":"v0.7.0","to":"v0.7.1","loc":594,"days":22.09,"loc_per_day":26.9,"flagged":false},{"from":"v0.7.1","to":"v0.7.2","loc":14,"days":0.43,"loc_per_day":32.2,"flagged":false},{"from":"v0.7.2","to":"v0.7.3","loc":63,"days":6.87,"loc_per_day":9.2,"flagged":false},{"from":"v0.7.3","to":"v0.7.4","loc":1,"days":0.07,"loc_per_day":13.9,"flagged":false},{"from":"v0.7.4","to":"v0.7.5","loc":554,"days":12.98,"loc_per_day":42.7,"flagged":false},{"from":"v0.7.5","to":"v0.7.6","loc":143,"days":53.09,"loc_per_day":2.7,"flagged":false},{"from":"v0.7.6","to":"v0.7.7","loc":467,"days":59.87,"loc_per_day":7.8,"flagged":false},{"from":"v0.7.7","to":"v0.7.8","loc":4,"days":27.03,"loc_per_day":0.1,"flagged":false},{"from":"v0.7.8","to":"v0.7.9","loc":115,"days":18.05,"loc_per_day":6.4,"flagged":false},{"from":"v0.7.9","to":"v0.7.10","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"v0.7.10","to":"v0.7.11","loc":0,"days":0.96,"loc_per_day":0.0,"flagged":false},{"from":"v0.7.11","to":"v0.7.12","loc":90,"days":17.41,"loc_per_day":5.2,"flagged":false},{"from":"v0.7.12","to":"v0.7.13","loc":493,"days":77.34,"loc_per_day":6.4,"flagged":false},{"from":"v0.7.13","to":"v0.8.0","loc":289,"days":173.73,"loc_per_day":1.7,"flagged":false},{"from":"v0.8.0","to":"v0.8.1","loc":167,"days":13.03,"loc_per_day":12.8,"flagged":false},{"from":"v0.8.1","to":"v0.8.2","loc":482,"days":161.48,"loc_per_day":3.0,"flagged":false},{"from":"v0.8.2","to":"v0.8.3","loc":881,"days":127.79,"loc_per_day":6.9,"flagged":false},{"from":"v0.8.3","to":"show","loc":285,"days":39.13,"loc_per_day":7.3,"flagged":false},{"from":"show","to":"v0.8.5","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"v0.8.5","to":"v0.8.6","loc":3289,"days":178.01,"loc_per_day":18.5,"flagged":false},{"from":"v0.8.6","to":"v0.9.0","loc":2928,"days":211.91,"loc_per_day":13.8,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":4055.0,"index":0.0,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.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":[],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":1.0,"secrets_nonprod":19.0,"secrets_low_confidence":2.0},"findings":[{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"spec/rails_app/config/initializers/secret_token.rb","line":7,"fingerprint":"spec/rails_app/config/initializers/secret_token.rb:generic-api-key:7"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"spec/shared_examples/user_oauth_shared_examples.rb","line":15,"fingerprint":"spec/shared_examples/user_oauth_shared_examples.rb:generic-api-key:15"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"spec/controllers/controller_oauth2_spec.rb","line":210,"fingerprint":"spec/controllers/controller_oauth2_spec.rb:generic-api-key:210"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"spec/sorcery_crypto_providers_spec.rb","line":60,"fingerprint":"spec/sorcery_crypto_providers_spec.rb:generic-api-key:60"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree (test/docs/example file)","path":"spec/controllers/controller_oauth_spec.rb","line":31,"fingerprint":"spec/controllers/controller_oauth_spec.rb:generic-api-key:31"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 320db6555a); removed from the current tree but still retrievable","path":"spec/active_record/controller_oauth2_spec.rb","line":159,"fingerprint":"320db6555aa6f35e8c8a03beb331ceef28b43d50:spec/active_record/controller_oauth2_spec.rb:generic-api-key:159"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 29a6f1dd35); removed from the current tree but still retrievable","path":"spec/rails3/spec/controller_oauth2_spec.rb","line":25,"fingerprint":"29a6f1dd35a5ad49970e0edf8c2966136c350874:spec/rails3/spec/controller_oauth2_spec.rb:generic-api-key:25"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 29a6f1dd35); removed from the current tree but still retrievable","path":"lib/generators/sorcery/templates/initializer.rb","line":61,"fingerprint":"29a6f1dd35a5ad49970e0edf8c2966136c350874:lib/generators/sorcery/templates/initializer.rb:generic-api-key:61"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 84b4d59948); removed from the current tree but still retrievable","path":"spec/rails3_mongo_mapper/config/initializers/secret_token.rb","line":7,"fingerprint":"84b4d59948ad944373ea7b7ee7cc7bdec016822d:spec/rails3_mongo_mapper/config/initializers/secret_token.rb:generic-api-key:7"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 42a9334b70); removed from the current tree but still retrievable","path":"spec/rails3_mongoid/config/initializers/secret_token.rb","line":7,"fingerprint":"42a9334b70e149a50db9064999d49a106941eb8a:spec/rails3_mongoid/config/initializers/secret_token.rb:generic-api-key:7"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 42a9334b70); removed from the current tree but still retrievable","path":"spec/rails3_mongoid/spec/user_oauth_spec.rb","line":14,"fingerprint":"42a9334b70e149a50db9064999d49a106941eb8a:spec/rails3_mongoid/spec/user_oauth_spec.rb:generic-api-key:14"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 489a1a2684); removed from the current tree but still retrievable","path":"spec/sinatra_modular/spec_modular/controller_oauth_spec.rb","line":24,"fingerprint":"489a1a26841745ad74ced4eaebdb7c790aa34cbe:spec/sinatra_modular/spec_modular/controller_oauth_spec.rb:generic-api-key:24"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 489a1a2684); removed from the current tree but still retrievable","path":"spec/sinatra_modular/spec_modular/controller_oauth2_spec.rb","line":18,"fingerprint":"489a1a26841745ad74ced4eaebdb7c790aa34cbe:spec/sinatra_modular/spec_modular/controller_oauth2_spec.rb:generic-api-key:18"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/rails3/app_root/spec/user_oauth_spec.rb","line":19,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/rails3/app_root/spec/user_oauth_spec.rb:generic-api-key:19"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/sinatra/spec/controller_oauth_spec.rb","line":24,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/sinatra/spec/controller_oauth_spec.rb:generic-api-key:24"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/sinatra/spec/user_oauth_spec.rb","line":19,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/sinatra/spec/user_oauth_spec.rb:generic-api-key:19"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/sinatra/spec/controller_oauth2_spec.rb","line":18,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/sinatra/spec/controller_oauth2_spec.rb:generic-api-key:18"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/rails3/app_root/spec/controller_oauth_spec.rb","line":25,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/rails3/app_root/spec/controller_oauth_spec.rb:generic-api-key:25"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 9bd0907449); removed from the current tree but still retrievable","path":"spec/rails3/app_root/spec/controller_oauth2_spec.rb","line":18,"fingerprint":"9bd090744905f9b0cf80ab55fd664c4cf2ef32b2:spec/rails3/app_root/spec/controller_oauth2_spec.rb:generic-api-key:18"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit ac0026bbf6); removed from the current tree but still retrievable","path":"lib/sorcery/initializers/initializer.rb","line":24,"fingerprint":"ac0026bbf6971a92a0ca7280b30e872914f18a30:lib/sorcery/initializers/initializer.rb:generic-api-key:24"},{"rule_id":"gitleaks/facebook-secret","severity":"medium","message":"Possible facebook-secret secret in history (commit ac0026bbf6); removed from the current tree but still retrievable","path":"lib/sorcery/initializers/initializer.rb","line":29,"fingerprint":"ac0026bbf6971a92a0ca7280b30e872914f18a30:lib/sorcery/initializers/initializer.rb:facebook-secret:29"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 28590bf6cb); removed from the current tree but still retrievable","path":"spec/rails3/app_root/config/initializers/secret_token.rb","line":7,"fingerprint":"28590bf6cb215705a701a288c1795c10bfe00863:spec/rails3/app_root/config/initializers/secret_token.rb:generic-api-key:7"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":18.0,"findings_high":16.0,"findings_medium":2.0,"findings_low":0.0,"weighted_findings":30.0,"scanned_lines":4055.0,"parse_errors":7.0},"findings":[{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/facebook.rb","line":65,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/facebook.rb:65"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/facebook.rb","line":65,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/facebook.rb:65"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/github.rb","line":45,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/github.rb:45"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/github.rb","line":45,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/github.rb:45"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/google.rb","line":43,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/google.rb:43"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/google.rb","line":43,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/google.rb:43"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/heroku.rb","line":51,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/heroku.rb:51"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/heroku.rb","line":51,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/heroku.rb:51"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/liveid.rb","line":44,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/liveid.rb:44"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/liveid.rb","line":44,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/liveid.rb:44"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/paypal.rb","line":54,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/paypal.rb:54"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/paypal.rb","line":54,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/paypal.rb:54"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/salesforce.rb","line":42,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/salesforce.rb:42"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/salesforce.rb","line":42,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/salesforce.rb:42"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/vk.rb","line":55,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/vk.rb:55"},{"rule_id":"opengrep/ruby.rails.security.brakeman.check-unsafe-reflection-methods","severity":"high","message":"Found user-controllable input to a reflection method. This may allow a user to alter program behavior and potentially execute arbitrary instructions in the context of the process. Do not provide arbitrary user input to `tap`, `method`, or `to_proc` [confidence medium]","path":"lib/sorcery/providers/vk.rb","line":55,"fingerprint":"ruby.rails.security.brakeman.check-unsafe-reflection-methods:lib/sorcery/providers/vk.rb:55"},{"rule_id":"opengrep/ruby.rails.security.audit.avoid-session-manipulation","severity":"medium","message":"This gets data from session using user inputs. A malicious user may be able to retrieve information from your session that you didn't intend them to. Do not use user input as a session key. [confidence medium]","path":"lib/sorcery/controller/submodules/remember_me.rb","line":67,"fingerprint":"ruby.rails.security.audit.avoid-session-manipulation:lib/sorcery/controller/submodules/remember_me.rb:67"},{"rule_id":"opengrep/ruby.lang.security.weak-hashes-md5","severity":"medium","message":"Should not use md5 to generate hashes. md5 is proven to be vulnerable through the use of brute-force attacks. Could also result in collisions, leading to potential collision attacks. Use SHA256 or other hashing functions instead. [confidence medium]","path":"lib/sorcery/crypto_providers/md5.rb","line":14,"fingerprint":"ruby.lang.security.weak-hashes-md5:lib/sorcery/crypto_providers/md5.rb:14"}],"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.0,"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":298.0,"function_nloc":1914.0,"mean_ccn":1.65,"p90_ccn":3.0,"complex_functions":0.0,"long_functions":0.0,"many_param_functions":0.0,"risky_nloc_share":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":2578.0,"duplicated_lines":149.0,"duplicated_share":0.0578,"files":58.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/crypto_providers/sha256.rb:1 and lib/sorcery/crypto_providers/sha512.rb:1","ref":"lib/sorcery/crypto_providers/sha256.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/crypto_providers/sha256.rb#L1","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/protocols/oauth2.rb:21 and lib/sorcery/providers/paypal.rb:36","ref":"lib/sorcery/protocols/oauth2.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/protocols/oauth2.rb#L21","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/facebook.rb:35 and lib/sorcery/providers/google.rb:28","ref":"lib/sorcery/providers/facebook.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/facebook.rb#L35","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/google.rb:26 and lib/sorcery/providers/liveid.rb:27","ref":"lib/sorcery/providers/google.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/google.rb#L26","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/google.rb:34 and lib/sorcery/providers/salesforce.rb:33","ref":"lib/sorcery/providers/google.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/google.rb#L34","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/jira.rb:47 and lib/sorcery/providers/linkedin.rb:43","ref":"lib/sorcery/providers/jira.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/jira.rb#L47","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/linkedin.rb:37 and lib/sorcery/providers/twitter.rb:30","ref":"lib/sorcery/providers/linkedin.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/linkedin.rb#L37","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: lib/sorcery/providers/linkedin.rb:39 and lib/sorcery/providers/xing.rb:37","ref":"lib/sorcery/providers/linkedin.rb","url":"https://github.com/NoamB/sorcery/blob/4aaf38363eddf7a2982312ce68f0105dcc4ae8dc/lib/sorcery/providers/linkedin.rb#L39","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":4055.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":3938.0,"source_lines":4055.0,"test_ratio":0.9711,"ci_files":1.0,"cochange_share":0.3399,"cochange_commits":153.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":0.5,"check:license":1.0,"check:contributing":0.0,"check:changelog":1.0,"readme_lines":2.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE.txt","ref":"LICENSE.txt","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":[]}