{"id":1118490,"name":"@phntms/next-basic-auth","ecosystem":"npm","description":"Lightweight middleware to add basic-auth protection onto your Next.js site.","homepage":"https://github.com/phantomstudios/next-basic-auth#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/phantomstudios/next-basic-auth","keywords_array":["next.js","middleware","auth","basic-auth","protect"],"namespace":"phntms","versions_count":1,"first_release_published_at":"2021-06-13T20:32:39.720Z","latest_release_published_at":"2021-06-13T20:32:39.720Z","latest_release_number":"0.0.1","last_synced_at":"2026-06-06T21:46:31.216Z","created_at":"2022-04-08T11:15:47.701Z","updated_at":"2026-06-06T21:46:31.217Z","registry_url":"https://www.npmjs.com/package/@phntms/next-basic-auth","install_command":"npm install @phntms/next-basic-auth","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.0.1"}},"repo_metadata":{"id":42636212,"uuid":"376592802","full_name":"phantomstudios/next-basic-auth","owner":"phantomstudios","description":"Lightweight middleware to add basic-auth protection onto your Next.js site.","archived":false,"fork":false,"pushed_at":"2026-02-02T10:40:15.000Z","size":348,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-02T23:38:57.184Z","etag":null,"topics":["auth","basic-auth","middleware","nextjs"],"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/phantomstudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-13T16:41:17.000Z","updated_at":"2026-02-02T10:40:17.000Z","dependencies_parsed_at":"2025-03-26T14:25:37.575Z","dependency_job_id":"eec9f4e7-5667-4ca6-aa9b-2cd8da32abf5","html_url":"https://github.com/phantomstudios/next-basic-auth","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":0.4,"last_synced_commit":"c22aaae7de05a5a0d1cd1b0c35fcd5ffd7d31bd8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/phantomstudios/next-basic-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phantomstudios","download_url":"https://codeload.github.com/phantomstudios/next-basic-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/sbom","scorecard":{"id":730569,"data":{"date":"2025-08-11","repo":{"name":"github.com/phantomstudios/next-basic-auth","commit":"4cb22394a02ab9cf18d2eda42ebdcee3eb9b1766"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/phantomstudios/next-basic-auth/release.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/pr.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:8","Warn: topLevel 'packages' permission set to 'write': .github/workflows/release.yml:9","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":8,"reason":"Found 7/8 approved changesets -- score normalized to 8","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Info: codeowner review is required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":5,"reason":"SAST tool is not run on all commits -- score normalized to 5","details":["Warn: 16 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T14:17:49.019Z","repository_id":42636212,"created_at":"2025-08-22T14:17:49.019Z","updated_at":"2025-08-22T14:17:49.019Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29896314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T12:09:13.686Z","status":"ssl_error","status_checked_at":"2026-02-27T12:09:13.282Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"phantomstudios","name":"Phantom","uuid":"21063421","kind":"organization","description":"Phantom is an independent, digitally-led creative agency headquartered in London, with a second studio PHQ based in Auckland.","email":"boo@phantom.agency","website":"https://phantom.land","location":"London","twitter":"phntmLDN","company":null,"icon_url":"https://avatars.githubusercontent.com/u/21063421?v=4","repositories_count":15,"last_synced_at":"2023-03-04T01:50:38.759Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/phantomstudios","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T07:56:17.480Z","updated_at":"2023-03-04T01:50:38.769Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phantomstudios","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phantomstudios/repositories"},"tags":[{"name":"0.0.1","sha":"ff5c3f62071bf8a19d6d45143e7fe87a3c76eeff","kind":"commit","published_at":"2021-06-13T20:29:59.000Z","download_url":"https://codeload.github.com/phantomstudios/next-basic-auth/tar.gz/0.0.1","html_url":"https://github.com/phantomstudios/next-basic-auth/releases/tag/0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/phantomstudios/next-basic-auth@0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/tags/0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/tags/0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-02-27T13:06:06.911Z","dependent_packages_count":1,"downloads":5,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":45.76322889354142,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":22.15612637126761,"forks_count":17.419597981652586,"average":25.378175958153633},"purl":"pkg:npm/%40phntms/next-basic-auth","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@phntms/next-basic-auth","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@phntms/next-basic-auth","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@phntms/next-basic-auth/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-02-01T12:04:27.309Z","issues_count":0,"pull_requests_count":102,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":14901226.790697675,"issues_closed_count":0,"pull_requests_closed_count":86,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.5294117647058824,"merged_pull_requests_count":52,"bot_issues_count":0,"bot_pull_requests_count":86,"past_year_issues_count":0,"past_year_pull_requests_count":52,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":847163.8205128205,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":39,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.28846153846153844,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":38,"past_year_merged_pull_requests_count":29,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantomstudios%2Fnext-basic-auth/issues","maintainers":[{"login":"JPedersen","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JPedersen"},{"login":"digitaljohn","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/digitaljohn"}],"active_maintainers":[{"login":"JPedersen","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JPedersen"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@phntms%2Fnext-basic-auth/codemeta","maintainers":[{"uuid":"digitaljohn","login":"digitaljohn","name":null,"email":"mrharding@gmail.com","url":null,"packages_count":21,"html_url":"https://www.npmjs.com/~digitaljohn","role":null,"created_at":"2022-11-20T21:35:52.781Z","updated_at":"2022-11-20T21:35:52.781Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/digitaljohn/packages"}]}