Skip to content

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

Draft
Copilot wants to merge 16 commits intomainfrom
copilot/block-rogue-traffic
Draft

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

Conversation

Copy link
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

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 10:25 am

@railway-app railway-app bot temporarily deployed to website (maiertech / website-pr-1126) November 29, 2025 10:19 Destroyed
Co-authored-by: maiertech <1482402+maiertech@users.noreply.github.com>
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
Owner

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

maiertech and others added 13 commits March 18, 2026 10:10
* Reorganize content collections

* Fix `lastmod.json`

* Simplify post collection definition

* Simplify note collection definition

* Add first video to collection

* Update SEO description
…ther (#1140)

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

* Update lockfile

* Fix layout

* Final fixes
* Unpublish Reolink post
Fixes #1143

* Update `lastmod.json`

* Fix prerendering error
#1134)

* Use a Grid to render items with `LinkPreview` in `/posts` and `/notes`
Fixes #1133

* Fix lint errors

* Do not render OG images
* Update and republish Reolink post
Fixes #1145

* Fix lint error
* Update dependencies
Fixes #1151

* Update more dependencies
Co-authored-by: maiertech <1482402+maiertech@users.noreply.github.com>
Copy link
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.

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