{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:08.204056Z","repo":{"ref":{"host":"github.com","owner":"tuffzinc","name":"epstienclickersourceleak"},"default_branch":"main","clone_url":"https://github.com/tuffzinc/epstienclickersourceleak.git","html_url":"https://github.com/tuffzinc/epstienclickersourceleak","description":null,"stars":0,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":2125,"primary_language":"JavaScript","license_spdx":null,"created_at":"2026-05-24T22:23:45Z","pushed_at":"2026-05-27T04:35:05Z","security_policy_url":null,"distribution":{"owner_created_at":"2026-03-31T00:17:09Z","owner_type":"User","release_assets":[]}},"commit_sha":"519ba957e567d2274617c438fc72c6075fbba9eb","profile":{"lines_by_language":{"JavaScript":1840},"files_by_category":{"source":7,"other":6,"docs":1,"oversized":1},"source_lines":1840,"test_lines":0},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.41,"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":null,"style_index":0.0},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":50.0,"confidence":0.9,"coverage":1.0,"label":"poor","breakdown":{"complexity":52.3,"duplication":100.0,"lint":100.0,"testing":0.0,"docs":20.0,"type_safety":null,"process":null},"summary":"Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 22% of function code in complex or long functions; 0% duplicated lines. Weakest area: testing."},"security":{"score":33.5,"confidence":0.85,"coverage":1.0,"label":"poor","breakdown":{"secrets":50.5,"sast":18.9,"dependencies":null,"ci_actions":null,"posture":20.0,"scorecard":null},"summary":"Security posture is poor: 1 possible secret(s) in the tree, 0 only in history; 10 high-severity SAST findings. Weakest area: sast."}},"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":2.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":1840.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2026-05":{"loc":1840,"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":1.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":1840.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":460.0,"median_loc_per_hour":460.0,"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":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":1840.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":1.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":8.0},"findings":[{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"ticker-lite.js","line":2,"fingerprint":"ticker-lite.js:generic-api-key:2"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"social.html","line":11,"fingerprint":"social.html:generic-api-key:11"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"play.html","line":11,"fingerprint":"play.html:generic-api-key:11"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"leaderboard.html","line":12,"fingerprint":"leaderboard.html:generic-api-key:12"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"index.html","line":11,"fingerprint":"index.html:generic-api-key:11"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"stats.html","line":12,"fingerprint":"stats.html:generic-api-key:12"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"leaderboard.js","line":2,"fingerprint":"leaderboard.js:generic-api-key:2"},{"rule_id":"gitleaks/gcp-api-key","severity":"high","message":"Possible gcp-api-key secret in the current tree","path":"leaderboard.js","line":43,"fingerprint":"leaderboard.js:gcp-api-key:43"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in the current tree","path":"game.js","line":1,"fingerprint":"game.js:generic-api-key:1"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":15.0,"findings_high":10.0,"findings_medium":5.0,"findings_low":0.0,"weighted_findings":8.75,"scanned_lines":1840.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/javascript.browser.security.insecure-document-method","severity":"high","message":"User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"game.js","line":291,"fingerprint":"javascript.browser.security.insecure-document-method:game.js:291"},{"rule_id":"opengrep/javascript.browser.security.insecure-innerhtml","severity":"high","message":"User controlled data in a `left.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"game.js","line":291,"fingerprint":"javascript.browser.security.insecure-innerhtml:game.js:291"},{"rule_id":"opengrep/javascript.browser.security.insecure-document-method","severity":"high","message":"User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"game.js","line":399,"fingerprint":"javascript.browser.security.insecure-document-method:game.js:399"},{"rule_id":"opengrep/javascript.browser.security.insecure-innerhtml","severity":"high","message":"User controlled data in a `breakdownEl.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"game.js","line":399,"fingerprint":"javascript.browser.security.insecure-innerhtml:game.js:399"},{"rule_id":"opengrep/javascript.browser.security.insecure-document-method","severity":"high","message":"User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":28,"fingerprint":"javascript.browser.security.insecure-document-method:leaderboard.js:28"},{"rule_id":"opengrep/javascript.browser.security.insecure-innerhtml","severity":"high","message":"User controlled data in a `el.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":28,"fingerprint":"javascript.browser.security.insecure-innerhtml:leaderboard.js:28"},{"rule_id":"opengrep/javascript.browser.security.insecure-document-method","severity":"high","message":"User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":429,"fingerprint":"javascript.browser.security.insecure-document-method:leaderboard.js:429"},{"rule_id":"opengrep/javascript.browser.security.insecure-innerhtml","severity":"high","message":"User controlled data in a `lbList.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":429,"fingerprint":"javascript.browser.security.insecure-innerhtml:leaderboard.js:429"},{"rule_id":"opengrep/javascript.browser.security.insecure-document-method","severity":"high","message":"User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":430,"fingerprint":"javascript.browser.security.insecure-document-method:leaderboard.js:430"},{"rule_id":"opengrep/javascript.browser.security.insecure-innerhtml","severity":"high","message":"User controlled data in a `topTenEl.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities [confidence low]","path":"leaderboard.js","line":430,"fingerprint":"javascript.browser.security.insecure-innerhtml:leaderboard.js:430"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"game.js","line":292,"fingerprint":"javascript.lang.security.html-in-template-string:game.js:292"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"game.js","line":293,"fingerprint":"javascript.lang.security.html-in-template-string:game.js:293"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"game.js","line":294,"fingerprint":"javascript.lang.security.html-in-template-string:game.js:294"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"game.js","line":397,"fingerprint":"javascript.lang.security.html-in-template-string:game.js:397"},{"rule_id":"opengrep/javascript.lang.security.html-in-template-string","severity":"medium","message":"This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low]","path":"leaderboard.js","line":127,"fingerprint":"javascript.lang.security.html-in-template-string:leaderboard.js:127"}],"evidence":[],"data":{"rulesets":["javascript"]},"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":1.0,"check:lockfiles":1.0,"signed_commit_share":1.0,"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":143.0,"function_nloc":1496.0,"mean_ccn":3.74,"p90_ccn":7.0,"complex_functions":6.0,"long_functions":0.0,"many_param_functions":0.0,"risky_nloc_share":0.2159},"findings":[],"evidence":[{"kind":"complex-function","description":"window.__noteTrustedClick in game.js: complexity 34, 90 lines","ref":"game.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/game.js#L615","weight":0.5666666666666667},{"kind":"complex-function","description":"joinOrChangeName in leaderboard.js: complexity 23, 55 lines","ref":"leaderboard.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/leaderboard.js#L130","weight":0.38333333333333336},{"kind":"complex-function","description":"window.__flagCheat in game.js: complexity 19, 50 lines","ref":"game.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/game.js#L439","weight":0.31666666666666665},{"kind":"complex-function","description":"(anonymous) in game.js: complexity 18, 30 lines","ref":"game.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/game.js#L782","weight":0.3},{"kind":"complex-function","description":"updateStatBoard in game.js: complexity 17, 61 lines","ref":"game.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/game.js#L314","weight":0.2833333333333333},{"kind":"complex-function","description":"load in game.js: complexity 16, 37 lines","ref":"game.js","url":"https://github.com/tuffzinc/epstienclickersourceleak/blob/519ba957e567d2274617c438fc72c6075fbba9eb/game.js#L197","weight":0.26666666666666666}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":1399.0,"duplicated_lines":0.0,"duplicated_share":0.0,"files":7.0},"findings":[],"evidence":[],"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":1840.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":0.0,"check:test_ratio":0.0,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0,"test_lines":0.0,"source_lines":1840.0,"test_ratio":0.0,"ci_files":0.0,"cochange_share":0.0,"cochange_commits":1.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":0.0,"check:contributing":0.0,"check:changelog":0.0,"readme_lines":1.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.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":[]}