{"id":8600341,"name":"fastapi-proxy-lib","ecosystem":"pypi","description":"HTTP/WebSocket proxy for starlette/FastAPI.","homepage":null,"licenses":"Apache Software License","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/WSH032/fastapi-proxy-lib","keywords_array":["asgi","fastapi","forward-proxy","http","httpx","httpx-ws","proxy","reverse-proxy","starlette","websocket"],"namespace":null,"versions_count":4,"first_release_published_at":"2023-11-26T19:50:10.000Z","latest_release_published_at":"2025-03-25T15:28:06.000Z","latest_release_number":"0.3.0","last_synced_at":"2026-10-12T11:25:40.597Z","created_at":"2023-11-26T20:05:02.165Z","updated_at":"2026-10-12T11:25:40.597Z","registry_url":"https://pypi.org/project/fastapi-proxy-lib/","install_command":"pip install fastapi-proxy-lib --index-url https://pypi.org/simple","documentation_url":"https://WSH032.github.io/fastapi-proxy-lib/","metadata":{"funding":null,"documentation":"https://WSH032.github.io/fastapi-proxy-lib/","classifiers":["Environment :: Web Environment","Framework :: AsyncIO","Framework :: FastAPI","Intended Audience :: Developers","License :: OSI Approved :: Apache Software License","Operating System :: OS Independent","Programming Language :: Python :: 3 :: Only","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Programming Language :: Python :: 3.13","Programming Language :: Python :: 3.9","Topic :: Internet :: WWW/HTTP :: HTTP Servers","Topic :: Internet :: WWW/HTTP :: Session","Typing :: Typed"],"normalized_name":"fastapi-proxy-lib","project_status":null},"repo_metadata":{"id":207044869,"uuid":"715911610","full_name":"WSH032/fastapi-proxy-lib","owner":"WSH032","description":"HTTP/WebSocket proxy for starlette/FastAPI","archived":false,"fork":false,"pushed_at":"2026-09-28T20:44:39.000Z","size":197,"stargazers_count":61,"open_issues_count":15,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-10-05T16:47:48.520Z","etag":null,"topics":["asgi","fastapi","forward-proxy","gateway","http","httpx","httpx-ws","proxy","reverse-proxy","starlette","websocket"],"latest_commit_sha":null,"homepage":"https://wsh032.github.io/fastapi-proxy-lib/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WSH032.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2023-11-08T04:38:36.000Z","updated_at":"2026-09-23T10:54:57.000Z","dependencies_parsed_at":"2024-02-05T20:37:31.258Z","dependency_job_id":"2a0cd92a-0423-4054-aae1-551fbfe8cbc1","html_url":"https://github.com/WSH032/fastapi-proxy-lib","commit_stats":{"total_commits":50,"total_committers":3,"mean_commits":"16.666666666666668","dds":0.28,"last_synced_commit":"a45086a6019234a6880cee99fe323ce0b04e3c97"},"previous_names":["wsh032/fastapi-proxy","wsh032/fastapi-proxy-lib"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/WSH032/fastapi-proxy-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WSH032","download_url":"https://codeload.github.com/WSH032/fastapi-proxy-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38058950,"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-05T02:00:06.766Z","response_time":83,"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":"WSH032","name":null,"uuid":"126865849","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/126865849?v=4","repositories_count":1,"last_synced_at":"2023-04-22T15:58:59.840Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/WSH032","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-04-22T15:58:59.845Z","updated_at":"2023-04-22T15:58:59.845Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WSH032","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WSH032/repositories"},"tags":[{"name":"v0.3.0","sha":"fb53f4af44f9ca03bd67d5a551e5176348398329","kind":"tag","published_at":"2025-03-25T15:22:15.000Z","download_url":"https://codeload.github.com/WSH032/fastapi-proxy-lib/tar.gz/v0.3.0","html_url":"https://github.com/WSH032/fastapi-proxy-lib/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/WSH032/fastapi-proxy-lib@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"64a7be4ff6de596c48f19c0274a77b9b90b2a30b","kind":"tag","published_at":"2025-01-15T01:33:02.000Z","download_url":"https://codeload.github.com/WSH032/fastapi-proxy-lib/tar.gz/v0.2.0","html_url":"https://github.com/WSH032/fastapi-proxy-lib/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/WSH032/fastapi-proxy-lib@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"ea58f66bcce5fdfa9a30ed992a3acbb2d34e23b5","kind":"tag","published_at":"2023-12-01T00:43:10.000Z","download_url":"https://codeload.github.com/WSH032/fastapi-proxy-lib/tar.gz/v0.1.0","html_url":"https://github.com/WSH032/fastapi-proxy-lib/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/WSH032/fastapi-proxy-lib@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.1.0/manifests"},{"name":"v0.0.1b0","sha":"58366963b5fe67c1d49b57432364f4097c4e407c","kind":"tag","published_at":"2023-11-26T19:41:06.000Z","download_url":"https://codeload.github.com/WSH032/fastapi-proxy-lib/tar.gz/v0.0.1b0","html_url":"https://github.com/WSH032/fastapi-proxy-lib/releases/tag/v0.0.1b0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/WSH032/fastapi-proxy-lib@v0.0.1b0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.0.1b0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSH032%2Ffastapi-proxy-lib/tags/v0.0.1b0/manifests"}]},"repo_metadata_updated_at":"2026-10-06T09:12:32.574Z","dependent_packages_count":0,"downloads":33567,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":67.38406986218055,"dependent_packages_count":10.038423948696664,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":38.71124690543861},"purl":"pkg:pypi/fastapi-proxy-lib","advisories":[{"uuid":"GSA_kwCzR0hTQS03dndyLWc2cG0tOWhjOM4AA3e0","url":"https://github.com/advisories/GHSA-7vwr-g6pm-9hc8","title":"Cookie leakage between different users in fastapi-proxy-lib","description":"### Impact\n\nIn the implementation of version `0.0.1`, requests from different user clients are processed using a shared `httpx.AsyncClient`.\n\nHowever, one oversight is that the `httpx.AsyncClient` will persistently store cookies based on the `set-cookie` response header sent by the target server and share these cookies across different user requests.\n\nThis results in a cookie leakage issue among all user clients sharing the same `httpx.AsyncClient`.\n\n### Patches\n\nIt's fixed in `0.1.0`\n\n### Workarounds\n\nIf you insist `0.0.1`:\n- Do not use `ForwardHttpProxy` at all.\n- Do not use `ReverseHttpProxy` or `ReverseWebSocketProxy` for any servers that may potentially send a `set-cookie` response.\n\n**However, it's best to upgrade to the latest version.**\n\n### References\n\nfixed in [#10](https://github.com/WSH032/fastapi-proxy-lib/pull/10) \n","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2023-12-01T19:23:49.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/WSH032/fastapi-proxy-lib/security/advisories/GHSA-7vwr-g6pm-9hc8","https://github.com/WSH032/fastapi-proxy-lib/pull/10","https://github.com/advisories/GHSA-7vwr-g6pm-9hc8"],"source_kind":"github","identifiers":["GHSA-7vwr-g6pm-9hc8"],"repository_url":"https://github.com/WSH032/fastapi-proxy-lib","blast_radius":1.0,"created_at":"2023-12-01T20:06:04.749Z","updated_at":"2026-10-12T10:13:23.683Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03dndyLWc2cG0tOWhjOM4AA3e0","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03dndyLWc2cG0tOWhjOM4AA3e0","packages":[{"ecosystem":"pypi","package_name":"fastapi-proxy-lib","versions":[{"first_patched_version":"0.1.0","vulnerable_version_range":"\u003c 0.1.0"}],"purl":"pkg:pypi/fastapi-proxy-lib"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03dndyLWc2cG0tOWhjOM4AA3e0/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/fastapi-proxy-lib","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pypi/fastapi-proxy-lib","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/fastapi-proxy-lib/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-05T09:07:28.321Z","issues_count":10,"pull_requests_count":61,"avg_time_to_close_issue":432587.0,"avg_time_to_close_pull_request":4537243.29787234,"issues_closed_count":4,"pull_requests_closed_count":47,"pull_request_authors_count":6,"issue_authors_count":8,"avg_comments_per_issue":2.4,"avg_comments_per_pull_request":1.2622950819672132,"merged_pull_requests_count":43,"bot_issues_count":0,"bot_pull_requests_count":24,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsh032%2Ffastapi-proxy-lib/issues","maintainers":[{"login":"WSH032","count":33,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/WSH032"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/fastapi-proxy-lib/codemeta","maintainers":[{"uuid":"WSH032","login":"WSH032","name":null,"email":null,"url":null,"packages_count":7,"html_url":"https://pypi.org/user/WSH032/","role":null,"created_at":"2023-11-26T20:10:44.173Z","updated_at":"2023-11-26T20:10:44.173Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/WSH032/packages"}]}