Encyclopedia
PyPI⚠ HIGHtyposquat⚠ ACTIVE THREAT

requests-oauth2-helper

First seen: Nov 12, 2026 0 viewsMimics: requests-oauthlib
Share threatHN
Threat Description

A lookalike of requests-oauthlib that adds an oauth2 submodule with a plausible helper class. Wrapping the client's session, it logs every Authorization header and refresh payload to an attacker-controlled endpoint, so token refreshes silently mint clean, long-lived credentials the victim never sees revoked. The package ships tests, typing stubs and a changelog to look maintained.

AI Hallucination Analysis
Very Likely AI Hallucination89%
Known to be hallucinated by: OAuth flow tutorials for Python
Remediation Guide
  1. Uninstall the package and audit imports for requests_oauth2_helper. 2. Revoke and reissue every OAuth access and refresh token handled during the exposure window. 3. Review provider-side grant history for refreshes from unfamiliar IPs or user agents. 4. Pin requests-oauthlib and add a spelling check for third-party auth libraries in dependency review.
Quick Facts
Ecosystem
PyPI
Risk Level
HIGH
Type
typosquat
Status
ACTIVE
Legitimate Package
requests-oauthlib
Hallucination Confidence
89%
Check My Project
Scan for this package