Skip to content

fix(oauth): scope repo JSON URL analysis to OAuth config keys (#164)#253

Merged
hello-args merged 3 commits into
mainfrom
fix/164-oauth-json-url-scope
Jun 11, 2026
Merged

fix(oauth): scope repo JSON URL analysis to OAuth config keys (#164)#253
hello-args merged 3 commits into
mainfrom
fix/164-oauth-json-url-scope

Conversation

@hello-args

Copy link
Copy Markdown
Collaborator

Summary

  • Skip data/, fixtures/, test_data/, processed/, and tests/ JSON during repo OAuth scans
  • Extract URLs only from OAuth-related JSON keys (no regex scrape of arbitrary fields)
  • Flag plaintext HTTP only when the URL is under an OAuth endpoint key

Test plan

  • pytest tests/test_oauth_json_scope.py
  • Scraped/non-OAuth HTTP URLs in JSON → no OAuth finding
  • authorization_endpoint: http://... → still HIGH
  • Existing typosquat regression test still passes

Made with Cursor

Skip fixture and data JSON during repo walks, stop regex-scraping
non-OAuth fields, and only flag plaintext HTTP on OAuth endpoint keys.
@hello-args hello-args merged commit 6e9f6b0 into main Jun 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant