Skip to content

Block rogue bot traffic with svelte-kit-bot-block#1126

Closed
Copilot wants to merge 6 commits intomainfrom
copilot/block-rogue-traffic
Closed

Block rogue bot traffic with svelte-kit-bot-block#1126
Copilot wants to merge 6 commits intomainfrom
copilot/block-rogue-traffic

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 29, 2025

  • Rebase branch onto latest main (d4a5cbe)
  • Add svelte-kit-bot-block dependency to package.json
  • Update hooks.server.ts with bot blocking logic
  • Update pnpm-lock.yaml to include svelte-kit-bot-block@0.0.7
Original prompt

This section details on the original issue you should resolve

<issue_title>Block rogue traffic</issue_title>
<issue_description>Every now and then my website gets hammered with rogue request:

  • /css/colors/blue/index.php
  • /wp-includes/assets/index.php
  • /1.php
  • /wp-admin/css/colors/midnight/about.php
  • /wp-includes/js/codemirror/index.php

These are just examples. There are many more requests like this.

I am hosting on Railway and would like to avoid using third party firewalls. What are my options to mitigate these types of requests in a way that the rogue bots don't keep trying?

You would need to think about options to mitigate this within the SvelteKit app or possibly with another service hosted on Railway. Can you do some research about the options I have?</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@railway-app
Copy link
Copy Markdown

railway-app Bot commented Nov 29, 2025

🚅 Deployed to the website-pr-1126 environment in maiertech

Service Status Web Updated (UTC)
website ❌ Build Failed (View Logs) Web Mar 18, 2026 at 7:49 pm

@railway-app railway-app Bot temporarily deployed to website (maiertech / website-pr-1126) November 29, 2025 10:19 Destroyed
Copilot AI changed the title [WIP] Implement mitigation for rogue traffic requests Block rogue bot traffic with svelte-kit-bot-block Nov 29, 2025
Copilot AI requested a review from maiertech November 29, 2025 10:29
@maiertech
Copy link
Copy Markdown
Owner

@copilot Rebase this PR and get it ready for review.

@railway-app railway-app Bot temporarily deployed to maiertech / website-pr-1126 March 18, 2026 10:10 Destroyed
@railway-app railway-app Bot temporarily deployed to maiertech / website-pr-1126 March 18, 2026 10:24 Destroyed
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 18, 2026

@copilot Rebase this PR and get it ready for review.

Done. Rebased onto latest main and also updated pnpm-lock.yaml to include svelte-kit-bot-block@0.0.7 (it was missing from the lockfile). The PR is ready for review with commits 33725db and c3297cf on top of main.

Copilot AI and others added 6 commits March 18, 2026 20:37
Co-authored-by: maiertech <1482402+maiertech@users.noreply.github.com>
…ther (#1140)

* Add post: The privacy-friendly video doorbell that failed in cold weather
Fixes #1139

* Update lockfile

* Fix layout

* Final fixes
* Update dependencies
Fixes #1151

* Update more dependencies
@maiertech maiertech force-pushed the copilot/block-rogue-traffic branch from c3297cf to ab81c5b Compare March 18, 2026 19:49
@railway-app railway-app Bot temporarily deployed to maiertech / website-pr-1126 March 18, 2026 19:49 Destroyed
@maiertech
Copy link
Copy Markdown
Owner

Closing this because it's been open for a while.

@maiertech maiertech closed this Mar 18, 2026
@maiertech maiertech deleted the copilot/block-rogue-traffic branch March 19, 2026 13:10
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.

Block rogue traffic

2 participants