Skip to content

fix(jwt): detect decode calls through import aliases and direct imports - #783

Open
DavidPandleton wants to merge 4 commits into
duriantaco:mainfrom
DavidPandleton:fix/jwt-alias-resolution
Open

fix(jwt): detect decode calls through import aliases and direct imports#783
DavidPandleton wants to merge 4 commits into
duriantaco:mainfrom
DavidPandleton:fix/jwt-alias-resolution

Conversation

@DavidPandleton

Copy link
Copy Markdown
Contributor

_JWTChecker only matched and . and both bypassed detection. Track import aliases and direct function imports from the jwt module, then check against them in visit_Call.

_JWTChecker only matched  and , but
 and
both bypassed detection. Track import aliases and direct function imports
from the jwt module, then check against them in visit_Call.
@DavidPandleton
DavidPandleton force-pushed the fix/jwt-alias-resolution branch from d9d547d to dd0d538 Compare September 1, 2026 05:42
Track normal and abrupt exits separately through loops, handlers and finalizers. Keep deferred import summaries reachable and visit reporting paths only once. Add 40 inert control-flow regression cases.
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.

2 participants