Skip to content

Add FastAPI TrustedHost rule - #3989

Open
theinfosecguy wants to merge 1 commit into
semgrep:developfrom
theinfosecguy:fastapi-trusted-host
Open

Add FastAPI TrustedHost rule#3989
theinfosecguy wants to merge 1 commit into
semgrep:developfrom
theinfosecguy:fastapi-trusted-host

Conversation

@theinfosecguy

Copy link
Copy Markdown
Contributor

Similar to #3988, this adds FastAPI middleware coverage for TrustedHostMiddleware when allowed_hosts allows any host or is missing.

Tests:

  • make SEMGREP=semgrep test

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