{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:24:07.103576Z","repo":{"ref":{"host":"github.com","owner":"HubSpot","name":"messenger"},"default_branch":"master","clone_url":"https://github.com/HubSpot/messenger.git","html_url":"https://github.com/HubSpot/messenger","description":"Growl-style alerts and messages for your app. #hubspot-open-source","stars":3979,"forks":398,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":1538,"primary_language":"JavaScript","license_spdx":"MIT","created_at":"2013-01-23T00:03:40Z","pushed_at":"2020-09-07T11:30:14Z","security_policy_url":"https://github.com/HubSpot/messenger/security/policy","distribution":{"owner_created_at":"2010-07-08T13:41:18Z","owner_type":"Organization","release_assets":[]}},"commit_sha":"b1b176185276464f45bf6be3d28c4064a82198c7","profile":{"lines_by_language":{"JavaScript":2445,"Shell":4},"files_by_category":{"other":44,"vendored":25,"source":12,"config":8,"docs":8,"binary":7,"test":1},"source_lines":1732,"test_lines":717},"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":50.5,"confidence":0.9,"coverage":1.0,"label":"weak","breakdown":{"complexity":65.3,"duplication":15.3,"lint":100.0,"testing":40.7,"docs":65.0,"type_safety":null,"process":10.0},"summary":"Code quality is weak: test-to-source ratio 0.41, no CI test run detected; 14% of function code in complex or long functions; 31% duplicated lines. Weakest area: process."},"security":{"score":68.0,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":100.0,"sast":63.5,"dependencies":null,"ci_actions":null,"posture":40.0,"scorecard":25.0},"summary":"Security posture is weak: no high-impact findings. Weakest area: scorecard."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":3.2,"check:Code-Review":2.0,"check:Maintained":0.0,"check:Binary-Artifacts":10.0,"check:CII-Best-Practices":0.0,"check:License":10.0,"check:Fuzzing":0.0,"check:Branch-Protection":0.0,"check:Security-Policy":9.0,"check:SAST":0.0},"findings":[],"evidence":[{"kind":"scorecard-check","description":"Scorecard Code-Review: 2/10 (Found 6/27 approved changesets -- score normalized to 2)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/HubSpot/messenger","weight":0.8},{"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/HubSpot/messenger","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/HubSpot/messenger","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/HubSpot/messenger","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/HubSpot/messenger","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/HubSpot/messenger","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/HubSpot/messenger","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Security-Policy: 9/10 (security policy file detected)","ref":"Security-Policy","url":"https://scorecard.dev/viewer/?uri=github.com/HubSpot/messenger","weight":0.1},{"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/HubSpot/messenger","weight":1.0}],"data":{"date":"2026-11-09","commit":"b1b176185276464f45bf6be3d28c4064a82198c7","matches_head":true},"error":null},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":6.0,"checked":6.0,"missing":0.0,"recent":0.0,"lookup_errors":0.0},"findings":[],"evidence":[],"data":{"phantom":false},"error":null},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":250.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":3319.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2013-01":{"loc":12,"attributed_loc":0},"2013-02":{"loc":158,"attributed_loc":0},"2013-03":{"loc":1574,"attributed_loc":0},"2013-04":{"loc":0,"attributed_loc":0},"2013-05":{"loc":83,"attributed_loc":0},"2013-06":{"loc":0,"attributed_loc":0},"2013-07":{"loc":0,"attributed_loc":0},"2013-08":{"loc":0,"attributed_loc":0},"2013-09":{"loc":1,"attributed_loc":0},"2013-10":{"loc":0,"attributed_loc":0},"2013-11":{"loc":1435,"attributed_loc":0},"2013-12":{"loc":0,"attributed_loc":0},"2014-02":{"loc":56,"attributed_loc":0},"2014-03":{"loc":0,"attributed_loc":0},"2014-10":{"loc":0,"attributed_loc":0},"2016-03":{"loc":0,"attributed_loc":0},"2018-03":{"loc":0,"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":23.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":3319.0,"pre_ai_era_burst_loc":0.0,"measured_loc":3319.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":379.6875,"median_loc_per_hour":172.36596425713523,"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":12.0,"flagged_releases":0.0,"max_loc_per_day":146.5},"findings":[],"evidence":[],"data":{"releases":[{"from":"1.1.3","to":"1.2.1","loc":1208,"days":8.25,"loc_per_day":146.5,"flagged":false},{"from":"1.2.1","to":"1.2.3","loc":10,"days":1.99,"loc_per_day":5.0,"flagged":false},{"from":"1.2.3","to":"1.3.0","loc":311,"days":59.49,"loc_per_day":5.2,"flagged":false},{"from":"1.3.0","to":"1.3.1","loc":0,"days":1.12,"loc_per_day":0.0,"flagged":false},{"from":"1.3.1","to":"1.3.2","loc":83,"days":6.23,"loc_per_day":13.3,"flagged":false},{"from":"1.3.2","to":"1.3.3","loc":0,"days":15.01,"loc_per_day":0.0,"flagged":false},{"from":"1.3.3","to":"1.3.4","loc":0,"days":28.7,"loc_per_day":0.0,"flagged":false},{"from":"1.3.4","to":"1.3.5","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"1.3.5","to":"v1.4.0","loc":1436,"days":145.42,"loc_per_day":9.9,"flagged":false},{"from":"v1.4.0","to":"v1.4.1","loc":56,"days":113.86,"loc_per_day":0.5,"flagged":false},{"from":"v1.4.1","to":"v1.4.2","loc":0,"days":476.79,"loc_per_day":0.0,"flagged":false},{"from":"v1.4.2","to":"v1.5.0","loc":0,"days":243.07,"loc_per_day":0.0,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":1732.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":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":9.0,"findings_high":0.0,"findings_medium":9.0,"findings_low":0.0,"weighted_findings":2.25,"scanned_lines":1732.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/javascript.jquery.security.audit.jquery-insecure-selector","severity":"medium","message":"User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"docs/welcome/javascripts/location-sel.js","line":45,"fingerprint":"javascript.jquery.security.audit.jquery-insecure-selector:docs/welcome/javascripts/location-sel.js:45"},{"rule_id":"opengrep/javascript.jquery.security.audit.jquery-insecure-selector","severity":"medium","message":"User controlled data in a `$(...)` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"docs/welcome/javascripts/theme-sel.js","line":39,"fingerprint":"javascript.jquery.security.audit.jquery-insecure-selector:docs/welcome/javascripts/theme-sel.js:39"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `words` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlle [confidence low]","path":"docs/welcome/lib/executr/lib/CodeMirror/mode/coffeescript/coffeescript.js","line":9,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:docs/welcome/lib/executr/lib/CodeMirror/mode/coffeescript/coffeescript.js:9"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `a` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled in [confidence low]","path":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:docs/welcome/lib/executr/lib/coffee-script.js:8"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `b` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled in [confidence low]","path":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:docs/welcome/lib/executr/lib/coffee-script.js:8"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-regexp","severity":"medium","message":"RegExp() called with a `b` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled in [confidence low]","path":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.lang.security.audit.detect-non-literal-regexp:docs/welcome/lib/executr/lib/coffee-script.js:8"},{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:docs/welcome/lib/executr/lib/coffee-script.js:8"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-fs-filename","severity":"medium","message":"Detected that function argument `b` has entered the fs module. An attacker could potentially control the location of this file, to include going backwards in the directory with '../'. To address this, ensure that user-controlled variables in file paths are validated. [confidence low]","path":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.lang.security.audit.detect-non-literal-fs-filename:docs/welcome/lib/executr/lib/coffee-script.js:8"},{"rule_id":"opengrep/javascript.browser.security.eval-detected","severity":"medium","message":"Detected the use of eval(). eval() 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":"docs/welcome/lib/executr/lib/coffee-script.js","line":8,"fingerprint":"javascript.browser.security.eval-detected:docs/welcome/lib/executr/lib/coffee-script.js:8"}],"evidence":[],"data":{"rulesets":["javascript","bash"]},"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":1.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":"Security policy: https://github.com/HubSpot/messenger/security/policy","ref":"https://github.com/HubSpot/messenger/security/policy","url":null,"weight":0.0},{"kind":"posture","description":"package.json has no lockfile alongside it (unpinned dependencies)","ref":"package.json","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":560.0,"function_nloc":2011.0,"mean_ccn":4.2,"p90_ccn":9.0,"complex_functions":23.0,"long_functions":1.0,"many_param_functions":0.0,"risky_nloc_share":0.1422},"findings":[],"evidence":[{"kind":"complex-function","description":"performAction in docs/welcome/lib/executr/lib/coffee-script.js: complexity 202, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":1.0},{"kind":"complex-function","description":"b.prototype.compileNode in docs/welcome/lib/executr/lib/coffee-script.js: complexity 41, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.6833333333333333},{"kind":"complex-function","description":"parse in docs/welcome/lib/executr/lib/coffee-script.js: complexity 37, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.6166666666666667},{"kind":"complex-function","description":"tokenBase in docs/welcome/lib/executr/lib/CodeMirror/mode/coffeescript/coffeescript.js: complexity 34, 102 lines","ref":"docs/welcome/lib/executr/lib/CodeMirror/mode/coffeescript/coffeescript.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/CodeMirror/mode/coffeescript/coffeescript.js#L40","weight":0.5666666666666667},{"kind":"complex-function","description":"c.prototype.compilePatternMatch in docs/welcome/lib/executr/lib/coffee-script.js: complexity 34, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.5666666666666667},{"kind":"complex-function","description":"a.prototype.literalToken in docs/welcome/lib/executr/lib/coffee-script.js: complexity 33, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.55},{"kind":"complex-function","description":"b in docs/welcome/lib/executr/lib/coffee-script.js: complexity 29, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.48333333333333334},{"kind":"complex-function","description":"b.prototype.compileNode in docs/welcome/lib/executr/lib/coffee-script.js: complexity 29, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.48333333333333334},{"kind":"complex-function","description":"a.prototype.identifierToken in docs/welcome/lib/executr/lib/coffee-script.js: complexity 28, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.4666666666666667},{"kind":"complex-function","description":"(anonymous) in docs/welcome/lib/executr/lib/coffee-script.js: complexity 27, 1 lines","ref":"docs/welcome/lib/executr/lib/coffee-script.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/executr/lib/coffee-script.js#L8","weight":0.45}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":1227.0,"duplicated_lines":384.0,"duplicated_share":0.313,"files":12.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: docs/welcome/lib/shims.js:2 and lib/shims.js:2","ref":"docs/welcome/lib/shims.js","url":"https://github.com/HubSpot/messenger/blob/b1b176185276464f45bf6be3d28c4064a82198c7/docs/welcome/lib/shims.js#L2","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":1732.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":0.8279,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0,"test_lines":717.0,"source_lines":1732.0,"test_ratio":0.414,"ci_files":0.0,"cochange_share":0.0,"cochange_commits":22.0},"findings":[],"evidence":[],"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":7.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE","ref":"LICENSE","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":[]}