{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:07.111884Z","repo":{"ref":{"host":"github.com","owner":"rendrjs","name":"rendr"},"default_branch":"master","clone_url":"https://github.com/rendrjs/rendr.git","html_url":"https://github.com/rendrjs/rendr","description":"Render your Backbone.js apps on the client and the server, using Node.js.","stars":4049,"forks":302,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":1464,"primary_language":"JavaScript","license_spdx":"MIT","created_at":"2012-10-31T19:24:35Z","pushed_at":"2020-04-29T22:43:18Z","security_policy_url":null,"distribution":{"owner_created_at":"2014-02-19T06:02:39Z","owner_type":"Organization","release_assets":[]}},"commit_sha":"48560e1ca1ad72c94c9c68fb9cfba3259163536e","profile":{"lines_by_language":{"JavaScript":8964},"files_by_category":{"test":28,"source":23,"config":6,"docs":4},"source_lines":3215,"test_lines":5749},"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.311},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":73.7,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":100.0,"duplication":100.0,"lint":53.7,"testing":70.0,"docs":85.0,"type_safety":null,"process":10.0},"summary":"Code quality is adequate: test-to-source ratio 1.79, no CI test run detected; 0% of function code in complex or long functions; 0% duplicated lines. Weakest area: process."},"security":{"score":55.5,"confidence":0.85,"coverage":1.0,"label":"weak","breakdown":{"secrets":81.9,"sast":65.6,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":25.0},"summary":"Security posture is weak: 2 high-severity SAST findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"ok","tool_version":"scorecard v5.6.0","metrics":{"aggregate":2.3,"check:Maintained":0.0,"check:Code-Review":2.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 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/rendrjs/rendr","weight":1.0},{"kind":"scorecard-check","description":"Scorecard Code-Review: 2/10 (Found 7/24 approved changesets -- score normalized to 2)","ref":"Code-Review","url":"https://scorecard.dev/viewer/?uri=github.com/rendrjs/rendr","weight":0.8},{"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/rendrjs/rendr","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/rendrjs/rendr","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/rendrjs/rendr","weight":1.0},{"kind":"scorecard-check","description":"Scorecard License: 10/10 (license file detected)","ref":"License","url":"https://scorecard.dev/viewer/?uri=github.com/rendrjs/rendr","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/rendrjs/rendr","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/rendrjs/rendr","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/rendrjs/rendr","weight":1.0}],"data":{"date":"2026-11-02","commit":"48560e1ca1ad72c94c9c68fb9cfba3259163536e","matches_head":true},"error":null},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":20.0,"checked":20.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":979.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":23239.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2012-10":{"loc":0,"attributed_loc":0},"2012-11":{"loc":1369,"attributed_loc":0},"2012-12":{"loc":0,"attributed_loc":0},"2013-01":{"loc":0,"attributed_loc":0},"2013-02":{"loc":0,"attributed_loc":0},"2013-03":{"loc":0,"attributed_loc":0},"2013-04":{"loc":4893,"attributed_loc":0},"2013-05":{"loc":589,"attributed_loc":0},"2013-06":{"loc":738,"attributed_loc":0},"2013-07":{"loc":221,"attributed_loc":0},"2013-08":{"loc":107,"attributed_loc":0},"2013-09":{"loc":257,"attributed_loc":0},"2013-10":{"loc":2410,"attributed_loc":0},"2013-11":{"loc":4617,"attributed_loc":0},"2013-12":{"loc":1912,"attributed_loc":0},"2014-01":{"loc":652,"attributed_loc":0},"2014-02":{"loc":1338,"attributed_loc":0},"2014-03":{"loc":103,"attributed_loc":0},"2014-04":{"loc":65,"attributed_loc":0},"2014-05":{"loc":32,"attributed_loc":0},"2014-06":{"loc":213,"attributed_loc":0},"2014-07":{"loc":18,"attributed_loc":0},"2014-08":{"loc":551,"attributed_loc":0},"2014-09":{"loc":638,"attributed_loc":0},"2014-10":{"loc":533,"attributed_loc":0},"2014-11":{"loc":341,"attributed_loc":0},"2014-12":{"loc":100,"attributed_loc":0},"2015-01":{"loc":275,"attributed_loc":0},"2015-02":{"loc":79,"attributed_loc":0},"2015-03":{"loc":226,"attributed_loc":0},"2015-04":{"loc":300,"attributed_loc":0},"2015-05":{"loc":410,"attributed_loc":0},"2015-06":{"loc":131,"attributed_loc":0},"2015-07":{"loc":5,"attributed_loc":0},"2015-09":{"loc":0,"attributed_loc":0},"2015-10":{"loc":53,"attributed_loc":0},"2015-11":{"loc":1,"attributed_loc":0},"2016-03":{"loc":25,"attributed_loc":0},"2016-05":{"loc":37,"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":334.0,"flagged_units":0.0,"pre_ai_era_bursts":1.0,"pre_ai_era_measured_loc":19128.0,"pre_ai_era_burst_loc":2188.0,"measured_loc":19128.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":547.0,"median_loc_per_hour":62.3049691884096,"pr_timed_units":0.0,"excluded_import_loc":4111.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["4f6a72151d6545f50c2bad28081d7f61b6809d99"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":57.0,"flagged_releases":0.0,"max_loc_per_day":1587.3},"findings":[],"evidence":[],"data":{"releases":[{"from":"0.1.0","to":"0.1.1","loc":0,"days":0.12,"loc_per_day":0.0,"flagged":false},{"from":"0.1.1","to":"0.2.1","loc":0,"days":6.3,"loc_per_day":0.0,"flagged":false},{"from":"0.2.1","to":"0.2.2","loc":0,"days":0.91,"loc_per_day":0.0,"flagged":false},{"from":"0.2.2","to":"0.2.3","loc":0,"days":8.82,"loc_per_day":0.0,"flagged":false},{"from":"0.2.3","to":"0.2.4","loc":0,"days":0.15,"loc_per_day":0.0,"flagged":false},{"from":"0.2.4","to":"0.3.0","loc":0,"days":1.23,"loc_per_day":0.0,"flagged":false},{"from":"0.3.0","to":"0.3.1","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"0.3.1","to":"0.3.2","loc":0,"days":0.66,"loc_per_day":0.0,"flagged":false},{"from":"0.3.2","to":"0.3.3","loc":0,"days":5.86,"loc_per_day":0.0,"flagged":false},{"from":"0.3.3","to":"0.3.4","loc":13,"days":0.28,"loc_per_day":46.9,"flagged":false},{"from":"0.3.4","to":"0.4.0","loc":582,"days":3.64,"loc_per_day":160.1,"flagged":false},{"from":"0.4.0","to":"0.4.1","loc":29,"days":0.37,"loc_per_day":78.3,"flagged":false},{"from":"0.4.1","to":"0.4.2","loc":9,"days":0.09,"loc_per_day":98.2,"flagged":false},{"from":"0.4.2","to":"0.4.3","loc":148,"days":0.67,"loc_per_day":220.1,"flagged":false},{"from":"0.4.3","to":"0.4.4-rc.3","loc":6,"days":2.31,"loc_per_day":2.6,"flagged":false},{"from":"0.4.4-rc.3","to":"0.4.4","loc":7,"days":3.78,"loc_per_day":1.9,"flagged":false},{"from":"0.4.4","to":"0.4.5-rc.1","loc":11,"days":7.08,"loc_per_day":1.6,"flagged":false},{"from":"0.4.5-rc.1","to":"0.4.5-rc.4","loc":103,"days":9.08,"loc_per_day":11.3,"flagged":false},{"from":"0.4.5-rc.4","to":"0.4.5-rc.5","loc":1,"days":0.04,"loc_per_day":24.0,"flagged":false},{"from":"0.4.5-rc.5","to":"0.4.5-rc.6","loc":3,"days":0.04,"loc_per_day":72.0,"flagged":false},{"from":"0.4.5-rc.6","to":"0.4.5-rc.7","loc":13,"days":0.78,"loc_per_day":16.6,"flagged":false},{"from":"0.4.5-rc.7","to":"0.4.5","loc":45,"days":3.89,"loc_per_day":11.6,"flagged":false},{"from":"0.4.5","to":"0.4.6-rc.1","loc":322,"days":0.2,"loc_per_day":1587.3,"flagged":false},{"from":"0.4.6-rc.1","to":"0.4.6","loc":44,"days":4.58,"loc_per_day":9.6,"flagged":false},{"from":"0.4.6","to":"0.4.7-rc.1","loc":21,"days":1.81,"loc_per_day":11.6,"flagged":false},{"from":"0.4.7-rc.1","to":"0.4.7-rc.2","loc":23,"days":0.2,"loc_per_day":115.5,"flagged":false},{"from":"0.4.7-rc.2","to":"0.4.7-rc.3","loc":350,"days":15.06,"loc_per_day":23.2,"flagged":false},{"from":"0.4.7-rc.3","to":"0.4.7-rc.4","loc":1,"days":10.09,"loc_per_day":0.1,"flagged":false},{"from":"0.4.7-rc.4","to":"0.4.7","loc":0,"days":0.19,"loc_per_day":0.0,"flagged":false},{"from":"0.4.7","to":"0.4.8-alpha.01","loc":100,"days":0.16,"loc_per_day":615.3,"flagged":false},{"from":"0.4.8-alpha.01","to":"0.4.8-alpha.03","loc":58,"days":0.6,"loc_per_day":96.4,"flagged":false},{"from":"0.4.8-alpha.03","to":"0.4.8-1","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"0.4.8-1","to":"0.4.8-2","loc":22,"days":13.2,"loc_per_day":1.7,"flagged":false},{"from":"0.4.8-2","to":"0.4.8-3","loc":0,"days":0.05,"loc_per_day":0.0,"flagged":false},{"from":"0.4.8-3","to":"0.4.8-4","loc":0,"days":1.86,"loc_per_day":0.0,"flagged":false},{"from":"0.4.8-4","to":"0.5.0-alpha02","loc":458,"days":57.58,"loc_per_day":8.0,"flagged":false},{"from":"0.5.0-alpha02","to":"0.5.0-alpha03","loc":52,"days":15.47,"loc_per_day":3.4,"flagged":false},{"from":"0.5.0-alpha03","to":"0.5.0-alpha04","loc":100,"days":0.95,"loc_per_day":104.7,"flagged":false},{"from":"0.5.0-alpha04","to":"0.5.0-alpha05","loc":1531,"days":11.05,"loc_per_day":138.6,"flagged":false},{"from":"0.5.0-alpha05","to":"0.5.0-alpha06","loc":80,"days":1.13,"loc_per_day":70.9,"flagged":false},{"from":"0.5.0-alpha06","to":"0.5.0-alpha07","loc":15,"days":0.04,"loc_per_day":360.0,"flagged":false},{"from":"0.5.0-alpha07","to":"0.5.0-alpha09","loc":1813,"days":45.02,"loc_per_day":40.3,"flagged":false},{"from":"0.5.0-alpha09","to":"0.5.0-rc1","loc":5207,"days":27.8,"loc_per_day":187.3,"flagged":false},{"from":"0.5.0-rc1","to":"0.5.0-rc2","loc":1841,"days":58.33,"loc_per_day":31.6,"flagged":false},{"from":"0.5.0-rc2","to":"0.5.0","loc":462,"days":8.88,"loc_per_day":52.0,"flagged":false},{"from":"0.5.0","to":"0.5.1","loc":2747,"days":289.08,"loc_per_day":9.5,"flagged":false},{"from":"0.5.1","to":"0.5.2","loc":87,"days":28.84,"loc_per_day":3.0,"flagged":false},{"from":"0.5.2","to":"1.0.0","loc":238,"days":32.88,"loc_per_day":7.2,"flagged":false},{"from":"1.0.0","to":"1.0.1","loc":29,"days":15.0,"loc_per_day":1.9,"flagged":false},{"from":"1.0.1","to":"1.0.2","loc":221,"days":27.97,"loc_per_day":7.9,"flagged":false},{"from":"1.0.2","to":"1.0.3","loc":5,"days":1.04,"loc_per_day":4.8,"flagged":false},{"from":"1.0.3","to":"1.0.4","loc":395,"days":42.04,"loc_per_day":9.4,"flagged":false},{"from":"1.0.4","to":"1.0.5","loc":230,"days":6.9,"loc_per_day":33.3,"flagged":false},{"from":"1.0.5","to":"1.1.0","loc":93,"days":27.23,"loc_per_day":3.4,"flagged":false},{"from":"1.1.0","to":"1.1.1","loc":114,"days":35.89,"loc_per_day":3.2,"flagged":false},{"from":"1.1.1","to":"1.1.3","loc":67,"days":102.32,"loc_per_day":0.7,"flagged":false},{"from":"1.1.3","to":"1.1.4","loc":26,"days":139.11,"loc_per_day":0.2,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":3215.0,"index":0.311,"count:narrated_steps":1.0,"per_kloc:narrated_steps":0.311,"files:narrated_steps":1.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, see if we have stored the model or collection.","ref":"shared/fetcher.js:90","url":"https://github.com/rendrjs/rendr/blob/48560e1ca1ad72c94c9c68fb9cfba3259163536e/shared/fetcher.js#L90","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":5.0},"findings":[{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit cba7ea6030); removed from the current tree but still retrievable","path":"examples/02_middleware/server/middleware/fetchDataForApp.js","line":14,"fingerprint":"cba7ea603029f89bffc318299b0bc0bfc644f4bc:examples/02_middleware/server/middleware/fetchDataForApp.js:generic-api-key:14"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 866574fd1c); removed from the current tree but still retrievable","path":"Gruntfile.js","line":59,"fingerprint":"866574fd1c989ae00b1109a506566dd26ca111ac:Gruntfile.js:generic-api-key:59"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit e6662a5d9a); removed from the current tree but still retrievable","path":"config/environments/development.coffee","line":10,"fingerprint":"e6662a5d9a6c76304df0832421fa71570294e474:config/environments/development.coffee:generic-api-key:10"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit e6662a5d9a); removed from the current tree but still retrievable","path":"config/environments/test.coffee","line":10,"fingerprint":"e6662a5d9a6c76304df0832421fa71570294e474:config/environments/test.coffee:generic-api-key:10"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 1e8671e099); removed from the current tree but still retrievable","path":"config/environments/production.coffee","line":11,"fingerprint":"1e8671e099661480ed3b40f88663e2e97649ff78:config/environments/production.coffee:generic-api-key:11"},{"rule_id":"gitleaks/generic-api-key","severity":"low","message":"Possible generic-api-key secret in history (commit 1e8671e099); removed from the current tree but still retrievable","path":"config/environments/environments.coffee","line":10,"fingerprint":"1e8671e099661480ed3b40f88663e2e97649ff78:config/environments/environments.coffee:generic-api-key:10"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":13.0,"findings_high":2.0,"findings_medium":9.0,"findings_low":2.0,"weighted_findings":3.875,"scanned_lines":3215.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/javascript.express.security.audit.remote-property-injection","severity":"high","message":"Bracket object notation with user input is present, this might allow an attacker to access all properties of the object and even it's prototype. Use literal values for object properties. [confidence low]","path":"shared/base/view.js","line":567,"fingerprint":"javascript.express.security.audit.remote-property-injection:shared/base/view.js:567"},{"rule_id":"opengrep/javascript.express.security.audit.remote-property-injection","severity":"high","message":"Bracket object notation with user input is present, this might allow an attacker to access all properties of the object and even it's prototype. Use literal values for object properties. [confidence low]","path":"shared/fetcher.js","line":98,"fingerprint":"javascript.express.security.audit.remote-property-injection:shared/fetcher.js:98"},{"rule_id":"opengrep/javascript.jquery.security.audit.prohibit-jquery-html","severity":"medium","message":"JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low]","path":"client/app_view.js","line":33,"fingerprint":"javascript.jquery.security.audit.prohibit-jquery-html:client/app_view.js:33"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"server/middleware/index.js","line":18,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:server/middleware/index.js:18"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"server/middleware/initApp.js","line":14,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:server/middleware/initApp.js:14"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"shared/app.js","line":97,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:shared/app.js:97"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"shared/app.js","line":100,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:shared/app.js:100"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"shared/base/router.js","line":81,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:shared/base/router.js:81"},{"rule_id":"opengrep/javascript.jquery.security.audit.prohibit-jquery-html","severity":"medium","message":"JQuery's `html` function is susceptible to Cross Site Scripting (XSS) attacks. If you're just passing text, consider `text` instead. Otherwise, use a function that escapes HTML such as edX's `HtmlUtils.setHtml()`. [confidence low]","path":"shared/base/view.js","line":212,"fingerprint":"javascript.jquery.security.audit.prohibit-jquery-html:shared/base/view.js:212"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"shared/base/view.js","line":450,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:shared/base/view.js:450"},{"rule_id":"opengrep/javascript.lang.security.audit.detect-non-literal-require","severity":"medium","message":"Detected the use of require(variable). Calling require with a non-literal argument might allow an attacker to load and run arbitrary code, or access arbitrary files. [confidence low]","path":"shared/base/view.js","line":453,"fingerprint":"javascript.lang.security.audit.detect-non-literal-require:shared/base/view.js:453"},{"rule_id":"opengrep/javascript.browser.security.js-open-redirect-from-function","severity":"low","message":"The application accepts potentially user-controlled input `path` which can control the location of the current window context. This can lead two types of vulnerabilities open-redirection and Cross-Site-Scripting (XSS) with JavaScript URIs. It is recommended to validate user-controllable input before [confidence low]","path":"client/router.js","line":229,"fingerprint":"javascript.browser.security.js-open-redirect-from-function:client/router.js:229"},{"rule_id":"opengrep/javascript.express.security.audit.express-check-csurf-middleware-usage","severity":"low","message":"A CSRF middleware was not detected in your express application. Ensure you are either using one such as `csurf` or `csrf` (see rule references) and/or you are properly doing CSRF validation in your routes with a token or cookies. [confidence low]","path":"server/server.js","line":40,"fingerprint":"javascript.express.security.audit.express-check-csurf-middleware-usage:server/server.js:40"}],"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":0.0,"check:lockfiles":0.0,"signed_commit_share":0.0,"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":274.0,"function_nloc":1993.0,"mean_ccn":2.18,"p90_ccn":4.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":1950.0,"duplicated_lines":0.0,"duplicated_share":0.0,"files":23.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":8.0,"weighted_findings":8.0,"scanned_lines":3215.0,"category:best-practice":7.0,"category:correctness":1.0},"findings":[{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"server/data_adapter/rest_adapter.js","line":22,"fingerprint":"javascript.lang.best-practice.lazy-load-module:server/data_adapter/rest_adapter.js:22"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"server/middleware/index.js","line":18,"fingerprint":"javascript.lang.best-practice.lazy-load-module:server/middleware/index.js:18"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"shared/app.js","line":97,"fingerprint":"javascript.lang.best-practice.lazy-load-module:shared/app.js:97"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"shared/app.js","line":100,"fingerprint":"javascript.lang.best-practice.lazy-load-module:shared/app.js:100"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"shared/app.js","line":131,"fingerprint":"javascript.lang.best-practice.lazy-load-module:shared/app.js:131"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"shared/base/router.js","line":81,"fingerprint":"javascript.lang.best-practice.lazy-load-module:shared/base/router.js:81"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"shared/base/router.js","line":110,"fingerprint":"javascript.lang.best-practice.lazy-load-module:shared/base/router.js:110"},{"rule_id":"opengrep/javascript.lang.correctness.no-stringify-keys","severity":"medium","message":"JSON stringify does not produce a stable key ordering, and should not be relied on for producing object keys. Consider using json-stable-stringify instead.","path":"shared/base/view.js","line":173,"fingerprint":"javascript.lang.correctness.no-stringify-keys:shared/base/view.js:173"}],"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":5749.0,"source_lines":3215.0,"test_ratio":1.7882,"ci_files":1.0,"cochange_share":0.4908,"cochange_commits":163.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":0.0,"check:changelog":1.0,"readme_lines":231.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":"HISTORY.md","ref":"HISTORY.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":[]}