Skip to content

Harden URL scraping against local and private targets#43

Open
0xmrma wants to merge 2 commits into
emcf:mainfrom
0xmrma:fix/url-source-validation
Open

Harden URL scraping against local and private targets#43
0xmrma wants to merge 2 commits into
emcf:mainfrom
0xmrma:fix/url-source-validation

Conversation

@0xmrma
Copy link
Copy Markdown
Contributor

@0xmrma 0xmrma commented May 25, 2026

This PR blocks unsafe local/private URL targets by default, rejects non-http(s) schemes in scrape_url, validates special-host routing by parsed hostname instead of string prefix matching, and adds regression coverage for file://, localhost, opt-in localhost scraping, and GitHub host confusion.

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