authcaptureproxy
A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth.
What it is and what it does
authcaptureproxy is a Python proxy server that sits between a browser and a web application to intercept and log authentication credentials as they pass through HTTP traffic. It's designed for scenarios where you need to extract login details from a website without direct access to a third-party OAuth provider.
The package provides a command-line interface via typer to set up and run the proxy, with HTML parsing via beautifulsoup4 to identify credential fields in web forms. It uses aiohttp and httpx for async HTTP handling and yarl for URL manipulation. The project is in Alpha status with minimal adoption, so it's best suited for development and testing rather than production use.
Use it for:
- Extract login credentials from a website for testing when OAuth provider access is unavailable.
- Debug authentication flows by observing raw credential submission and server responses.
- Capture OAuth tokens from a web application to understand the authentication handshake.
- Automate credential harvesting for security testing or penetration testing scenarios.
- Log and analyze how a website handles sensitive form data during login.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Intercepts and logs authentication credentials from web traffic by acting as a proxy between a browser and target website.
Yes, with conditions. Install if you need to intercept web authentication for development or testing in a controlled environment. Low install friction, active maintenance, and permissive Apache-2.0 license make it accessible. However, avoid production use: Alpha status and minimal adoption mean you should thoroughly test and audit it first. Intercepting credentials raises significant security and legal concerns—use only on systems you own or have explicit permission to test.
Install
authcaptureproxy on PyPI
pip
pip install authcaptureproxyuv
uv add authcaptureproxypoetry
poetry add authcaptureproxyInstalling authcaptureproxy
Before you install
Low friction install with a pure-Python wheel. Actively maintained as of 2026-08-03 with recent commits; however, the project is marked Alpha status and has minimal adoption (4 repository stars), so production use should be approached cautiously.
License in practice
Licensed under Apache-2.0 (permissive), so you can use, modify, and distribute it freely provided you include a copy of the license and note any changes made.
Quickstart
pip install authcaptureproxy
from authcaptureproxy.cli import proxy_example
proxy_example()
Requires Python 3.10 or later; depends on aiohttp, httpx, beautifulsoup4, and typer for async HTTP, HTML parsing, and CLI functionality.
Verify before relying
- Whether the proxy works with modern OAuth 2.0 flows and multi-factor authentication.
- Performance and stability under sustained traffic or with large credential payloads.
- Compatibility with HTTPS interception and certificate handling.
- Whether captured credentials are stored securely or only logged to stdout/files.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — aiohttp, beautifulsoup4, httpx, multidict, typer, yarl |
| Maintenance | actively maintained — 178 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 532,186/month — #6,149 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: authcaptureproxy-1.3.7-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
mitmproxymitmproxy is an interactive, SSL/TLS-capable…
permissive · top 5,000 on PyPI
selenium-wireExtends Selenium's Python bindings to…
permissive · top 5,000 on PyPI
PyPACPyPAC discovers proxy auto-config (PAC) files…
permissive · top 15,000 on PyPI
SocketSwapSocketSwap intercepts and redirects network…
permissive · top 15,000 on PyPI
mitmproxy-windowsProvides Windows-specific traffic redirection…
copyleft · top 15,000 on PyPI
proxy.pyA lightweight, pluggable HTTP proxy server…
permissive · top 5,000 on PyPI
tinynetrcRead, parse, and write .netrc credential files…
permissive · top 15,000 on PyPI
pypcapPython wrapper around libpcap that lets you…
unclear · top 15,000 on PyPI
websockets-proxyEnables WebSocket connections through HTTP and…
permissive · top 15,000 on PyPI
requests-ntlm3Provides HTTP NTLM authentication for the…
permissive · top 15,000 on PyPI