{"id":1461506,"name":"basic-auth","ecosystem":"npm","description":"node.js basic auth parser","homepage":"https://github.com/jshttp/basic-auth#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jshttp/basic-auth","keywords_array":["basic","auth","authorization","basicauth"],"namespace":null,"versions_count":9,"first_release_published_at":"2013-11-30T19:20:06.195Z","latest_release_published_at":"2018-09-20T03:26:02.582Z","latest_release_number":"2.0.1","last_synced_at":"2026-03-18T15:03:05.071Z","created_at":"2022-04-09T02:01:43.158Z","updated_at":"2026-03-18T15:03:05.071Z","registry_url":"https://www.npmjs.com/package/basic-auth","install_command":"npm install basic-auth","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.1"}},"repo_metadata":{"id":12203645,"uuid":"14809373","full_name":"jshttp/basic-auth","owner":"jshttp","description":"Generic basic auth Authorization header field parser","archived":false,"fork":false,"pushed_at":"2025-07-01T22:34:00.000Z","size":87,"stargazers_count":704,"open_issues_count":12,"forks_count":89,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-08-25T08:45:34.904Z","etag":null,"topics":["basic-auth","http","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jshttp.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"express"}},"created_at":"2013-11-29T20:10:24.000Z","updated_at":"2025-07-15T06:28:55.000Z","dependencies_parsed_at":"2024-06-02T18:45:58.974Z","dependency_job_id":"9400010c-65fa-47b6-8dee-03d5321db234","html_url":"https://github.com/jshttp/basic-auth","commit_stats":{"total_commits":125,"total_committers":12,"mean_commits":"10.416666666666666","dds":"0.17600000000000005","last_synced_commit":"e8a29f94dc7c05b5858b08090386338af010ce49"},"previous_names":["visionmedia/node-basic-auth"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jshttp/basic-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshttp","download_url":"https://codeload.github.com/jshttp/basic-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth/sbom","scorecard":{"id":538308,"data":{"date":"2025-08-18T21:28:11Z","repo":{"name":"github.com/jshttp/basic-auth","commit":"09dbcf3ee111589eab4a00afea57ab06ca8ef31b"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":6.9,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Code-Review","score":3,"reason":"Found 7/21 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:14","Warn: jobLevel 'checks' permission set to 'write': .github/workflows/ci.yml:13","Warn: jobLevel 'checks' permission set to 'write': .github/workflows/ci.yml:221","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:32","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:139: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:212: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:226: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/jshttp/basic-auth/codeql.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:172","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:188","Info:   3 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"SAST","score":8,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 9 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/jshttp/.github/SECURITY.md:1","Info: Found linked content: github.com/jshttp/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/jshttp/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"CI-Tests","score":6,"reason":"10 out of 16 merged PRs checked by a CI test -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Contributors","score":10,"reason":"project has 13 contributing companies or organizations","details":["Info: found contributions from: ExpressGateway, LOUISINTERNET, crypto-utils, expressjs, houzz, jshttp, koajs, louisinternet, mysqljs, nodejs, pillarjs, repo-utils, stream-utils"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-20T07:34:15.365Z","repository_id":12203645,"created_at":"2025-08-20T07:34:15.365Z","updated_at":"2025-08-20T07:34:15.365Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278056726,"owners_count":25922669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"jshttp","name":"jshttp","uuid":"8325802","kind":"organization","description":"Low-Level JavaScript HTTP-related Modules","email":null,"website":"https://jshttp.github.io/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/8325802?v=4","repositories_count":29,"last_synced_at":"2024-04-16T08:37:30.344Z","metadata":{"has_sponsors_listing":false,"funding":{"open_collective":"express"}},"html_url":"https://github.com/jshttp","funding_links":["https://opencollective.com/express"],"total_stars":9089,"followers":163,"following":0,"created_at":"2022-11-02T16:18:51.300Z","updated_at":"2024-04-16T08:37:36.746Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshttp","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshttp/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-02-11T15:28:58.012Z","dependent_packages_count":1188,"downloads":56719788,"downloads_period":"last-month","dependent_repos_count":788900,"rankings":{"downloads":0.048188495872764844,"dependent_repos_count":0.040357865293440556,"dependent_packages_count":0.059934441741751276,"stargazers_count":2.6737770252584383,"forks_count":3.19183160963584,"docker_downloads_count":0.028283361498048915,"average":1.007062133216714},"purl":"pkg:npm/basic-auth","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/basic-auth","docker_dependents_count":8751,"docker_downloads_count":2748571527,"usage_url":"https://repos.ecosyste.ms/usage/npm/basic-auth","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/basic-auth/dependencies","status":null,"funding_links":["https://opencollective.com/express"],"critical":true,"issue_metadata":{"last_synced_at":"2025-09-02T18:03:54.934Z","issues_count":30,"pull_requests_count":66,"avg_time_to_close_issue":11006351.142857144,"avg_time_to_close_pull_request":3035187.3846153845,"issues_closed_count":28,"pull_requests_closed_count":39,"pull_request_authors_count":26,"issue_authors_count":29,"avg_comments_per_issue":3.2666666666666666,"avg_comments_per_pull_request":0.696969696969697,"merged_pull_requests_count":22,"bot_issues_count":0,"bot_pull_requests_count":16,"past_year_issues_count":3,"past_year_pull_requests_count":34,"past_year_avg_time_to_close_issue":9842.0,"past_year_avg_time_to_close_pull_request":357760.9,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":10,"past_year_pull_request_authors_count":5,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.029411764705882353,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":16,"past_year_merged_pull_requests_count":10,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshttp%2Fbasic-auth/issues","maintainers":[{"login":"UlisesGascon","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/UlisesGascon"},{"login":"dougwilson","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/dougwilson"},{"login":"jonathanong","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jonathanong"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/basic-auth/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/basic-auth/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/basic-auth/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/basic-auth/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/basic-auth/codemeta","maintainers":[{"uuid":"dougwilson","login":"dougwilson","name":null,"email":"doug@somethingdoug.com","url":null,"packages_count":102,"html_url":"https://www.npmjs.com/~dougwilson","role":null,"created_at":"2022-11-11T13:50:26.138Z","updated_at":"2022-11-11T13:50:26.138Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dougwilson/packages"},{"uuid":"tjholowaychuk","login":"tjholowaychuk","name":null,"email":"tj@vision-media.ca","url":null,"packages_count":525,"html_url":"https://www.npmjs.com/~tjholowaychuk","role":null,"created_at":"2022-11-11T13:50:26.289Z","updated_at":"2022-11-11T13:50:26.289Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/tjholowaychuk/packages"},{"uuid":"blakeembrey","login":"blakeembrey","name":null,"email":"hello@blakeembrey.com","url":null,"packages_count":241,"html_url":"https://www.npmjs.com/~blakeembrey","role":null,"created_at":"2024-10-10T20:55:18.291Z","updated_at":"2024-10-10T20:55:18.291Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/blakeembrey/packages"},{"uuid":"ulisesgascon","login":"ulisesgascon","name":null,"email":"ulisesgascondev@gmail.com","url":null,"packages_count":224,"html_url":"https://www.npmjs.com/~ulisesgascon","role":null,"created_at":"2026-02-11T14:54:17.238Z","updated_at":"2026-02-11T14:54:17.238Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ulisesgascon/packages"},{"uuid":"jongleberry","login":"jongleberry","name":null,"email":"jonathanrichardong@gmail.com","url":null,"packages_count":566,"html_url":"https://www.npmjs.com/~jongleberry","role":null,"created_at":"2022-11-11T13:50:26.247Z","updated_at":"2022-11-11T13:50:26.247Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jongleberry/packages"},{"uuid":"jonathanong","login":"jonathanong","name":null,"email":"jonathanrichardong@gmail.com","url":null,"packages_count":109,"html_url":"https://www.npmjs.com/~jonathanong","role":null,"created_at":"2022-11-11T13:50:26.194Z","updated_at":"2022-11-11T13:50:26.194Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonathanong/packages"}]}