kafka/internal/engines
ashisgreat22 d21e9189b8 fix(engines): validate Wikipedia language codes to prevent SSRF
Wikipedia language subdomain was derived from user input without
validation, allowing attackers to redirect requests via malicious
language values like "evil.com.attacker.com". Added a whitelist of
valid Wikipedia language codes to prevent this.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 13:22:52 +01:00
..
arxiv.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
arxiv_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
bing.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
bing_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
braveapi.go fix(engines): cap Brave API offset to 9 to avoid 422 error 2026-03-22 12:01:25 +00:00
braveapi_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
crossref.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
crossref_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
duckduckgo.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
duckduckgo_parse.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
duckduckgo_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
engine.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
factory.go refactor: clean up verbose and redundant comments 2026-03-22 11:10:50 +00:00
github.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
github_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
google.go refactor: clean up verbose and redundant comments 2026-03-22 11:10:50 +00:00
html_helpers.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
http_mock_test.go feat: build Go-based SearXNG-compatible search service 2026-03-20 20:34:08 +01:00
planner.go refactor: clean up verbose and redundant comments 2026-03-22 11:10:50 +00:00
qwant.go refactor: clean up verbose and redundant comments 2026-03-22 11:10:50 +00:00
qwant_lite_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
qwant_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
reddit.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00
reddit_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
wikipedia.go fix(engines): validate Wikipedia language codes to prevent SSRF 2026-03-22 13:22:52 +01:00
wikipedia_test.go chore: update Go module path to github.com/metamorphosis-dev/kafka 2026-03-21 19:42:01 +00:00
youtube.go license: change from MIT to AGPLv3 2026-03-22 08:27:23 +00:00