{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:32:20.025249Z","repo":{"ref":{"host":"github.com","owner":"nsf","name":"termbox"},"default_branch":"master","clone_url":"https://github.com/nsf/termbox.git","html_url":"https://github.com/nsf/termbox","description":"Library for writing text-based user interfaces","stars":2006,"forks":186,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":562,"primary_language":"C","license_spdx":"MIT","created_at":"2010-01-22T12:52:15Z","pushed_at":"2020-08-25T15:20:53Z","security_policy_url":null,"distribution":{"owner_created_at":"2008-06-04T12:31:14Z","owner_type":"User","release_assets":[]}},"commit_sha":"a04f34c11494a1dbfb6286fc95470dea4086c520","profile":{"lines_by_language":{"C":2087,"Python":260},"files_by_category":{"other":9,"source":8,"config":2,"docs":1,"test":1},"source_lines":2218,"test_lines":129},"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":58.0,"confidence":0.9,"coverage":1.0,"label":"weak","breakdown":{"complexity":61.5,"duplication":100.0,"lint":89.3,"testing":23.2,"docs":65.0,"type_safety":40.0,"process":30.0},"summary":"Code quality is weak: test-to-source ratio 0.06, no CI test run detected; 16% of function code in complex or long functions; 0% duplicated lines. Weakest area: testing."},"security":{"score":68.6,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":100.0,"sast":85.4,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":25.0},"summary":"Security posture is weak: no high-impact findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":2.9,"check:Code-Review":6.0,"check:Binary-Artifacts":10.0,"check:Maintained":0.0,"check:CII-Best-Practices":0.0,"check:Security-Policy":0.0,"check:Fuzzing":0.0,"check:License":10.0,"check:Branch-Protection":0.0,"check:SAST":0.0},"findings":[],"evidence":[{"kind":"scorecard-check","description":"Scorecard Code-Review: 6/10 (Found 20/29 approved changesets -- score normalized to 6)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/nsf/termbox","weight":0.4},{"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/nsf/termbox","weight":0.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/nsf/termbox","weight":1.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/nsf/termbox","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/nsf/termbox","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Fuzzing: 0/10 (project is not fuzzed)","ref":"Fuzzing","url":"https://scorecard.dev/viewer/?uri=github.com/nsf/termbox","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/nsf/termbox","weight":0.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/nsf/termbox","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/nsf/termbox","weight":1.0}],"data":{"date":"2026-11-09","commit":"a04f34c11494a1dbfb6286fc95470dea4086c520","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":260.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":6665.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2008-09":{"loc":2777,"attributed_loc":0},"2009-01":{"loc":179,"attributed_loc":0},"2009-02":{"loc":54,"attributed_loc":0},"2009-06":{"loc":4,"attributed_loc":0},"2009-07":{"loc":2,"attributed_loc":0},"2010-01":{"loc":372,"attributed_loc":0},"2010-02":{"loc":144,"attributed_loc":0},"2010-03":{"loc":171,"attributed_loc":0},"2010-06":{"loc":29,"attributed_loc":0},"2010-07":{"loc":50,"attributed_loc":0},"2010-09":{"loc":17,"attributed_loc":0},"2010-10":{"loc":8,"attributed_loc":0},"2010-11":{"loc":183,"attributed_loc":0},"2010-12":{"loc":176,"attributed_loc":0},"2011-03":{"loc":3,"attributed_loc":0},"2011-04":{"loc":0,"attributed_loc":0},"2011-05":{"loc":1,"attributed_loc":0},"2011-06":{"loc":0,"attributed_loc":0},"2011-09":{"loc":0,"attributed_loc":0},"2012-01":{"loc":0,"attributed_loc":0},"2012-02":{"loc":19,"attributed_loc":0},"2012-03":{"loc":4,"attributed_loc":0},"2012-05":{"loc":49,"attributed_loc":0},"2012-06":{"loc":266,"attributed_loc":0},"2012-07":{"loc":15,"attributed_loc":0},"2012-08":{"loc":41,"attributed_loc":0},"2012-09":{"loc":0,"attributed_loc":0},"2012-12":{"loc":0,"attributed_loc":0},"2013-01":{"loc":61,"attributed_loc":0},"2013-04":{"loc":2,"attributed_loc":0},"2013-07":{"loc":113,"attributed_loc":0},"2013-08":{"loc":736,"attributed_loc":0},"2013-09":{"loc":3,"attributed_loc":0},"2013-10":{"loc":0,"attributed_loc":0},"2014-01":{"loc":495,"attributed_loc":0},"2014-02":{"loc":30,"attributed_loc":0},"2014-07":{"loc":127,"attributed_loc":0},"2014-08":{"loc":30,"attributed_loc":0},"2014-09":{"loc":1,"attributed_loc":0},"2014-12":{"loc":21,"attributed_loc":0},"2015-01":{"loc":45,"attributed_loc":0},"2015-02":{"loc":116,"attributed_loc":0},"2015-03":{"loc":29,"attributed_loc":0},"2015-04":{"loc":40,"attributed_loc":0},"2015-05":{"loc":21,"attributed_loc":0},"2015-06":{"loc":14,"attributed_loc":0},"2015-10":{"loc":2,"attributed_loc":0},"2016-03":{"loc":0,"attributed_loc":0},"2016-05":{"loc":48,"attributed_loc":0},"2016-07":{"loc":142,"attributed_loc":0},"2016-08":{"loc":19,"attributed_loc":0},"2016-09":{"loc":1,"attributed_loc":0},"2016-12":{"loc":0,"attributed_loc":0},"2017-01":{"loc":3,"attributed_loc":0},"2017-02":{"loc":1,"attributed_loc":0},"2017-04":{"loc":1,"attributed_loc":0},"2017-09":{"loc":0,"attributed_loc":0},"2018-03":{"loc":0,"attributed_loc":0},"2018-08":{"loc":0,"attributed_loc":0},"2019-01":{"loc":0,"attributed_loc":0},"2019-02":{"loc":0,"attributed_loc":0},"2019-07":{"loc":0,"attributed_loc":0},"2020-05":{"loc":0,"attributed_loc":0},"2020-07":{"loc":0,"attributed_loc":0},"2020-08":{"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":108.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":6665.0,"pre_ai_era_burst_loc":0.0,"measured_loc":6665.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":406.25,"median_loc_per_hour":35.5,"pr_timed_units":9.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":3.0,"flagged_releases":0.0,"max_loc_per_day":1.1},"findings":[],"evidence":[],"data":{"releases":[{"from":"v1.0.0","to":"v1.1.0","loc":1183,"days":1093.25,"loc_per_day":1.1,"flagged":false},{"from":"v1.1.0","to":"v1.1.1","loc":6,"days":573.62,"loc_per_day":0.0,"flagged":false},{"from":"v1.1.1","to":"v1.1.2","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":2218.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":4.0,"findings_high":0.0,"findings_medium":4.0,"findings_low":0.0,"weighted_findings":1.0,"scanned_lines":2218.0,"parse_errors":1.0},"findings":[{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"src/termbox.c","line":96,"fingerprint":"c.lang.security.insecure-use-memset:src/termbox.c:96"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"src/termbox.c","line":479,"fingerprint":"c.lang.security.insecure-use-memset:src/termbox.c:479"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"src/termbox.c","line":490,"fingerprint":"c.lang.security.insecure-use-memset:src/termbox.c:490"},{"rule_id":"opengrep/c.lang.security.insecure-use-memset","severity":"medium","message":"When handling sensitive information in a buffer, it's important to ensure  that the data is securely erased before the buffer is deleted or reused.  While `memset()` is commonly used for this purpose, it can leave sensitive  information behind due to compiler optimizations or other factors.  To avoi [confidence low]","path":"src/termbox.c","line":632,"fingerprint":"c.lang.security.insecure-use-memset:src/termbox.c:632"}],"evidence":[],"data":{"rulesets":["c","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":"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.035,"unpinned_manifests":1.0},"findings":[],"evidence":[{"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":64.0,"function_nloc":1156.0,"mean_ccn":3.86,"p90_ccn":9.0,"complex_functions":1.0,"long_functions":1.0,"many_param_functions":0.0,"risky_nloc_share":0.1618},"findings":[],"evidence":[{"kind":"complex-function","description":"send_attr in src/termbox.c: complexity 16, 42 lines","ref":"src/termbox.c","url":"https://github.com/nsf/termbox/blob/a04f34c11494a1dbfb6286fc95470dea4086c520/src/termbox.c#L498","weight":0.26666666666666666},{"kind":"complex-function","description":"draw_keyboard in src/demo/keyboard.c: complexity 7, 145 lines","ref":"src/demo/keyboard.c","url":"https://github.com/nsf/termbox/blob/a04f34c11494a1dbfb6286fc95470dea4086c520/src/demo/keyboard.c#L372","weight":0.11666666666666667}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":1719.0,"duplicated_lines":0.0,"duplicated_share":0.0,"files":8.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":1.0,"weighted_findings":1.0,"scanned_lines":2218.0,"category:best-practice":1.0},"findings":[{"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":"setup.py","line":10,"fingerprint":"python.lang.best-practice.unspecified-open-encoding:setup.py:10"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":0.1163,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":0.0247,"test_lines":129.0,"source_lines":2218.0,"test_ratio":0.0582,"ci_files":0.0,"cochange_share":0.0062,"cochange_commits":162.0},"findings":[],"evidence":[],"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":0.0,"check:changelog":0.0,"readme_lines":134.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"COPYING","ref":"COPYING","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":0.0,"escapes_per_kloc":0.0},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}