{"id":4375489,"name":"@fastify/passport","ecosystem":"npm","description":"Simple, unobtrusive authentication for Fastify.","homepage":"https://www.passportjs.org/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/fastify/fastify-passport","keywords_array":["fastify","auth","authentication"],"namespace":"fastify","versions_count":18,"first_release_published_at":"2022-04-27T14:35:37.322Z","latest_release_published_at":"2026-10-09T17:05:13.126Z","latest_release_number":"4.0.4","latest_published_release_number":null,"last_synced_at":"2026-10-20T10:15:06.565Z","created_at":"2022-05-24T13:29:19.747Z","updated_at":"2026-10-20T13:13:43.794Z","registry_url":"https://www.npmjs.com/package/@fastify/passport","install_command":"npm install @fastify/passport","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"one":"1.1.0","next":"3.0.0","latest":"4.0.4"},"contentPolicy":null},"repo_metadata":{"id":37431088,"uuid":"172923933","full_name":"fastify/fastify-passport","owner":"fastify","description":"Use passport strategies for authentication within a fastify application ","archived":false,"fork":false,"pushed_at":"2026-10-07T09:24:14.000Z","size":3657,"stargazers_count":303,"open_issues_count":2,"forks_count":51,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-10-08T11:57:38.275Z","etag":null,"topics":["authentication","fastify","fastify-plugin","passport"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@fastify/passport","language":"TypeScript","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/fastify.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"fastify","open_collective":"fastify"}},"created_at":"2019-02-27T13:47:47.000Z","updated_at":"2026-10-07T09:24:20.000Z","dependencies_parsed_at":"2023-11-20T06:28:12.636Z","dependency_job_id":"4ab3a72d-0fcc-4a16-b1ad-f77712f884cf","html_url":"https://github.com/fastify/fastify-passport","commit_stats":{"total_commits":1124,"total_committers":36,"mean_commits":31.22222222222222,"dds":"0.12277580071174377","last_synced_commit":"c12d0737dfde4d7579abe07922d4bdee5ba69b24"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/fastify/fastify-passport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastify","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/sbom","scorecard":{"id":393375,"data":{"date":"2025-08-11","repo":{"name":"github.com/fastify/fastify-passport","commit":"55aad13004def208107353a9d06b714e7d7b31f3"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":6.7,"checks":[{"name":"Maintained","score":10,"reason":"10 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:23","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/fastify/fastify-passport/ci.yml/main?enable=pin","Info:   0 out of   1 third-party GitHubAction 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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/fastify/.github/SECURITY.md:1","Info: Found linked content: github.com/fastify/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/fastify/.github/SECURITY.md:1","Info: Found text in security policy: github.com/fastify/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-mg2h-6x62-wpwc","Warn: Project is vulnerable to: GHSA-rrr8-f88r-h8q6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T18:22:58.665Z","repository_id":37431088,"created_at":"2025-08-18T18:22:58.665Z","updated_at":"2025-08-18T18:22:58.665Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38395770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-20T02:00:06.669Z","response_time":101,"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":"fastify","name":"Fastify","uuid":"24939410","kind":"organization","description":"Fast and low overhead web framework, for Node.js","email":"hello@fastify.dev","website":"https://fastify.dev","location":"United States of America","twitter":"fastifyjs","company":null,"icon_url":"https://avatars.githubusercontent.com/u/24939410?v=4","repositories_count":140,"last_synced_at":"2026-10-17T13:46:04.887Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"fastify","open_collective":"fastify"}},"html_url":"https://github.com/fastify","funding_links":["https://github.com/sponsors/fastify","https://opencollective.com/fastify"],"total_stars":64118,"followers":1289,"following":0,"created_at":"2022-11-02T16:30:46.974Z","updated_at":"2026-10-17T13:46:04.901Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastify","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastify/repositories"},"tags":[{"name":"v3.0.2","sha":"671fafef69bb9d090f82887f984b19cbadb946a5","kind":"tag","published_at":"2025-01-11T12:01:48.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v3.0.2","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v3.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.2/manifests"},{"name":"v3.0.1","sha":"49b451ad136c7ed16ec3a0abf18b48ea292b654a","kind":"commit","published_at":"2024-09-22T09:37:47.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v3.0.1","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.1/manifests"},{"name":"v3.0.0","sha":"eb1b61529cb48b1826f6ee3af524e6debdd3651c","kind":"commit","published_at":"2024-09-11T16:25:26.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v3.0.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v3.0.0/manifests"},{"name":"v2.4.0","sha":"2da4be6a36937a5067b136093aead33d96b04b8d","kind":"commit","published_at":"2023-10-03T10:44:51.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.4.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.4.0/manifests"},{"name":"v2.3.0","sha":"30843bc2f201879950311ad422bc57747a98f35f","kind":"commit","published_at":"2023-04-21T22:10:28.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.3.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.3.0/manifests"},{"name":"v1.1.0","sha":"628664a0c86f489def6fd2303990ba059cca5417","kind":"commit","published_at":"2023-04-21T22:07:48.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v1.1.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.1.0/manifests"},{"name":"v2.2.0","sha":"970bd8aa13274905bd83e74d1e0aa79fc4402a56","kind":"commit","published_at":"2022-08-06T21:45:27.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.2.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.2.0/manifests"},{"name":"v2.1.0","sha":"dd286c99a6df49ba3ef7fc2f5efa984ffa8f027a","kind":"commit","published_at":"2022-07-25T16:37:35.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.1.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.1.0/manifests"},{"name":"@fastify/passport-v2.0.1-gitpkg-21c5172","sha":"139ddd55b80a1d865de1b3a6eb7d255fc1996348","kind":"commit","published_at":"2022-07-15T14:54:25.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/@fastify/passport-v2.0.1-gitpkg-21c5172","html_url":"https://github.com/fastify/fastify-passport/releases/tag/@fastify/passport-v2.0.1-gitpkg-21c5172","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@%40fastify%2Fpassport-v2.0.1-gitpkg-21c5172","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/@fastify%2Fpassport-v2.0.1-gitpkg-21c5172","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/@fastify%2Fpassport-v2.0.1-gitpkg-21c5172/manifests"},{"name":"fastify-passport-v0.4.3-gitpkg-a0183cc","sha":"b89d86b435404488f98481b34e06edc29d40f21c","kind":"commit","published_at":"2022-07-12T21:41:22.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/fastify-passport-v0.4.3-gitpkg-a0183cc","html_url":"https://github.com/fastify/fastify-passport/releases/tag/fastify-passport-v0.4.3-gitpkg-a0183cc","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@fastify-passport-v0.4.3-gitpkg-a0183cc","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.3-gitpkg-a0183cc","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.3-gitpkg-a0183cc/manifests"},{"name":"v2.0.1","sha":"d075ef049f0fa3606bab976e1d3dfb1f562decb3","kind":"commit","published_at":"2022-06-21T13:47:58.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.0.1","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"673e5abc3f342170e65669c023cebb1f5f4b3784","kind":"commit","published_at":"2022-05-14T07:54:12.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v2.0.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v2.0.0/manifests"},{"name":"v1.0.1","sha":"0df7c50ac1d2786bcf87dc208921092b29b1b0dd","kind":"tag","published_at":"2022-04-27T17:01:23.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v1.0.1","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"4af471546d4d9333caa2e87c04eba54dd6d4c214","kind":"tag","published_at":"2022-04-27T14:42:11.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v1.0.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v1.0.0/manifests"},{"name":"v0.5.0","sha":"c572f81688e40a081fad6ba4da4b4dd6c0cad12e","kind":"commit","published_at":"2022-01-04T13:05:47.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.5.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.5.0/manifests"},{"name":"fastify-passport-v0.4.1-gitpkg-df444c7","sha":"5ddeb25d45120c26d9652f8b50c5ca094a1d9909","kind":"commit","published_at":"2021-06-19T11:56:08.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/fastify-passport-v0.4.1-gitpkg-df444c7","html_url":"https://github.com/fastify/fastify-passport/releases/tag/fastify-passport-v0.4.1-gitpkg-df444c7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@fastify-passport-v0.4.1-gitpkg-df444c7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-df444c7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-df444c7/manifests"},{"name":"fastify-passport-v0.4.1-gitpkg-b6096e3","sha":"79c642d149923bc9441bef18c084583b2f8ea155","kind":"commit","published_at":"2021-06-19T11:51:13.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/fastify-passport-v0.4.1-gitpkg-b6096e3","html_url":"https://github.com/fastify/fastify-passport/releases/tag/fastify-passport-v0.4.1-gitpkg-b6096e3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@fastify-passport-v0.4.1-gitpkg-b6096e3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-b6096e3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-b6096e3/manifests"},{"name":"fastify-passport-v0.4.1-gitpkg-1a07b7a","sha":"46f9eed9c39a1e48c461aba1db32ff4d45c02be8","kind":"commit","published_at":"2021-06-15T19:53:15.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/fastify-passport-v0.4.1-gitpkg-1a07b7a","html_url":"https://github.com/fastify/fastify-passport/releases/tag/fastify-passport-v0.4.1-gitpkg-1a07b7a","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@fastify-passport-v0.4.1-gitpkg-1a07b7a","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-1a07b7a","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-1a07b7a/manifests"},{"name":"fastify-passport-v0.4.1-gitpkg-383dc88","sha":"850cdaf3b7280e242281a93ac6e1992c32a9f828","kind":"commit","published_at":"2021-06-15T18:09:29.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/fastify-passport-v0.4.1-gitpkg-383dc88","html_url":"https://github.com/fastify/fastify-passport/releases/tag/fastify-passport-v0.4.1-gitpkg-383dc88","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@fastify-passport-v0.4.1-gitpkg-383dc88","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-383dc88","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/fastify-passport-v0.4.1-gitpkg-383dc88/manifests"},{"name":"v0.4.2","sha":"884ba83836af6b945e428f9e4ec24aac5a097253","kind":"tag","published_at":"2021-02-28T20:04:55.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.4.2","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.4.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.4.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.2/manifests"},{"name":"v0.4.1","sha":"9b176b1120ee92b73b8fdf00142ad65b306bc2ab","kind":"tag","published_at":"2021-02-10T16:34:44.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.4.1","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"43c5e80da10b956cbc182eb22db106606c58f995","kind":"tag","published_at":"2021-02-03T21:51:19.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.4.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"9cf3677c9b09080f0d31350f4c45fd2bb93253a9","kind":"tag","published_at":"2021-01-27T10:21:25.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.3.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"3c20033188d03f996f6db1f1799a77ce83bab100","kind":"tag","published_at":"2021-01-06T16:52:39.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.2.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"7b8a59d3fd1a9fb6759e8248d6f9ffd3156d3630","kind":"commit","published_at":"2020-09-23T08:28:23.000Z","download_url":"https://codeload.github.com/fastify/fastify-passport/tar.gz/v0.1.0","html_url":"https://github.com/fastify/fastify-passport/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/fastify/fastify-passport@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-20T13:13:43.793Z","dependent_packages_count":8,"downloads":221624,"downloads_period":"last-month","dependent_repos_count":20,"rankings":{"downloads":0.8947680311276515,"dependent_repos_count":2.7481550674887445,"dependent_packages_count":2.4905489170939075,"stargazers_count":3.923544107015061,"forks_count":4.315011667974365,"docker_downloads_count":1.361360296579954,"average":2.6222313478799473},"purl":"pkg:npm/%40fastify/passport","advisories":[{"uuid":"GSA_kwCzR0hTQS00bTNtLXBwdngteGd3Oc4AAy6_","url":"https://github.com/advisories/GHSA-4m3m-ppvx-xgw9","title":"Session fixation in fastify-passport","description":"Applications using `@fastify/passport` for user authentication, in combination with `@fastify/session` as the underlying session management mechanism, are vulnerable to [session fixation attacks](https://owasp.org/www-community/attacks/Session_fixation) from network and same-site attackers.\n\n## Details\nfastify applications rely on the `@fastify/passport` library for user authentication. The login and user validation are performed by the `authenticate` function. When executing this function, the `sessionId` is preserved between the pre-login and the authenticated session. Network and [same-site attackers](https://canitakeyoursubdomain.name/) can hijack the victim's session by tossing a valid `sessionId` cookie in the victim's browser and waiting for the victim to log in on the website.\n\n## Fix\nAs a solution, newer versions of `@fastify/passport` regenerate `sessionId` upon login, preventing the attacker-controlled pre-session cookie from being upgraded to an authenticated session.\n\n## Credits\n* Pedro Adão (@pedromigueladao), [Instituto Superior Técnico, University of Lisbon](https://tecnico.ulisboa.pt/)\n* Marco Squarcina (@lavish), [Security \u0026 Privacy Research Unit, TU Wien](https://secpriv.wien/)","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2023-04-21T22:33:30.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","references":["https://github.com/fastify/fastify-passport/security/advisories/GHSA-4m3m-ppvx-xgw9","https://nvd.nist.gov/vuln/detail/CVE-2023-29019","https://github.com/fastify/fastify-passport/commit/43c82c321db58ea3e375dd475de60befbfcf2a11","https://owasp.org/www-community/attacks/Session_fixation","https://github.com/advisories/GHSA-4m3m-ppvx-xgw9"],"source_kind":"github","identifiers":["GHSA-4m3m-ppvx-xgw9","CVE-2023-29019"],"repository_url":"https://github.com/fastify/fastify-passport","blast_radius":0.0,"created_at":"2023-04-21T23:03:11.508Z","updated_at":"2026-10-12T14:13:29.590Z","epss_percentage":0.00751,"epss_percentile":0.53542,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00bTNtLXBwdngteGd3Oc4AAy6_","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS00bTNtLXBwdngteGd3Oc4AAy6_","packages":[{"ecosystem":"npm","package_name":"@fastify/passport","versions":[{"first_patched_version":"2.3.0","vulnerable_version_range":"\u003e= 2.0.0, \u003c 2.3.0"},{"first_patched_version":"1.1.0","vulnerable_version_range":"\u003c 1.1.0"}],"purl":"pkg:npm/%40fastify%2Fpassport"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00bTNtLXBwdngteGd3Oc4AAy6_/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0yY2NmLWZmcmotbTRxd84AAy6-","url":"https://github.com/advisories/GHSA-2ccf-ffrj-m4qw","title":"CSRF token fixation in fastify-passport","description":"The [CSRF](https://owasp.org/www-community/attacks/csrf) protection enforced by the `@fastify/csrf-protection` library, when combined with `@fastify/passport`, can be bypassed by network and same-site attackers.\n\n## Details\n`fastify/csrf-protection` implements the [synchronizer token pattern](https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#synchronizer-token-pattern) (using plugins `@fastify/session` and `@fastify/secure-session`) by storing a random value used for CSRF token generation in the `_csrf` attribute of a user's session.\n\nThe `@fastify/passport` library does not clear the session object upon authentication, preserving the `_csrf` attribute between pre-login and authenticated sessions. Consequently, CSRF tokens generated before authentication are still valid. Network and [same-site attackers](https://canitakeyoursubdomain.name/) can thus obtain a CSRF token for their pre-session, fixate that pre-session in the victim's browser via cookie tossing, and then perform a CSRF attack after the victim authenticates.\n\n## Fix\nAs a solution, newer versions of `@fastify/passport` include the configuration options\n\n* `clearSessionOnLogin (default: true)` and\n* `clearSessionIgnoreFields (default: ['session'])`\n\nto clear all the session attributes by default, preserving those explicitly defined in `clearSessionIgnoreFields`.\n\n## Credits\n* Pedro Adão (@pedromigueladao), [Instituto Superior Técnico, University of Lisbon](https://tecnico.ulisboa.pt/)\n* Marco Squarcina (@lavish), [Security \u0026 Privacy Research Unit, TU Wien](https://secpriv.wien/)","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-04-21T22:32:47.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","references":["https://github.com/fastify/fastify-passport/security/advisories/GHSA-2ccf-ffrj-m4qw","https://nvd.nist.gov/vuln/detail/CVE-2023-29020","https://github.com/fastify/fastify-passport/commit/07c90feab9cba0dd4779e47cfb0717a7e2f01d3d","https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#synchronizer-token-pattern","https://owasp.org/www-community/attacks/csrf","https://github.com/advisories/GHSA-2ccf-ffrj-m4qw"],"source_kind":"github","identifiers":["GHSA-2ccf-ffrj-m4qw","CVE-2023-29020"],"repository_url":"https://github.com/fastify/fastify-passport","blast_radius":0.0,"created_at":"2023-04-21T23:03:11.529Z","updated_at":"2026-10-18T11:28:28.775Z","epss_percentage":0.00384,"epss_percentile":0.30554,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yY2NmLWZmcmotbTRxd84AAy6-","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0yY2NmLWZmcmotbTRxd84AAy6-","packages":[{"ecosystem":"npm","package_name":"@fastify/passport","versions":[{"first_patched_version":"2.3.0","vulnerable_version_range":"\u003e= 2.0.0, \u003c 2.3.0"},{"first_patched_version":"1.1.0","vulnerable_version_range":"\u003c 1.1.0"}],"purl":"pkg:npm/%40fastify%2Fpassport"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yY2NmLWZmcmotbTRxd84AAy6-/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@fastify/passport","docker_dependents_count":1,"docker_downloads_count":148,"usage_url":"https://repos.ecosyste.ms/usage/npm/@fastify/passport","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@fastify/passport/dependencies","status":null,"funding_links":["https://github.com/sponsors/fastify","https://opencollective.com/fastify"],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-20T10:15:09.673Z","issues_count":47,"pull_requests_count":814,"avg_time_to_close_issue":10489266.441860465,"avg_time_to_close_pull_request":606642.0827943078,"issues_closed_count":43,"pull_requests_closed_count":773,"pull_request_authors_count":23,"issue_authors_count":44,"avg_comments_per_issue":5.468085106382978,"avg_comments_per_pull_request":0.39434889434889436,"merged_pull_requests_count":624,"bot_issues_count":1,"bot_pull_requests_count":715,"past_year_issues_count":1,"past_year_pull_requests_count":80,"past_year_avg_time_to_close_issue":12768.0,"past_year_avg_time_to_close_pull_request":1073376.7564102565,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":78,"past_year_pull_request_authors_count":10,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":0.9375,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":55,"past_year_merged_pull_requests_count":67,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-passport/issues","maintainers":[{"login":"Fdawgs","count":44,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Fdawgs"},{"login":"Tony133","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Tony133"},{"login":"mcollina","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mcollina"},{"login":"Eomm","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Eomm"},{"login":"jsumners","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jsumners"},{"login":"gurgunday","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gurgunday"},{"login":"ilteoood","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ilteoood"},{"login":"climba03003","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/climba03003"},{"login":"airhorns","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/airhorns"},{"login":"fox1t","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fox1t"}],"active_maintainers":[{"login":"Tony133","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Tony133"},{"login":"Fdawgs","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Fdawgs"},{"login":"climba03003","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/climba03003"},{"login":"ilteoood","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ilteoood"},{"login":"mcollina","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mcollina"},{"login":"Eomm","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Eomm"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@fastify%2Fpassport/codemeta","maintainers":[{"uuid":"matteo.collina","login":"matteo.collina","name":null,"email":"hello@matteocollina.com","url":null,"packages_count":651,"html_url":"https://www.npmjs.com/~matteo.collina","role":null,"created_at":"2026-10-08T12:00:21.798Z","updated_at":"2026-10-08T12:00:21.798Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/matteo.collina/packages"},{"uuid":"eomm","login":"eomm","name":null,"email":"behemoth89@gmail.com","url":null,"packages_count":145,"html_url":"https://www.npmjs.com/~eomm","role":null,"created_at":"2022-11-10T19:39:01.540Z","updated_at":"2022-11-10T19:39:01.540Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/eomm/packages"}]}