Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badge not displayed in JSR, Deno and jsDelivr #10982

Closed
regseb opened this issue Mar 31, 2025 · 3 comments
Closed

Badge not displayed in JSR, Deno and jsDelivr #10982

regseb opened this issue Mar 31, 2025 · 3 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@regseb
Copy link
Contributor

regseb commented Mar 31, 2025

Are you experiencing an issue with...

shields.io

🐞 Description

This badge badge is displayed in GitHub and npm, but it's not displayed in JSR, Deno and jsDelivr.

If I open this address in a browser, I get the following error:

Sorry, you have been blocked

You are unable to access shields.io

Why have I been blocked?

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Performance & security by Cloudflare

🔗 Link to the badge

https://img.shields.io/endpoint?label=coverage&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fregseb%2Fjfather%2Fmain

💡 Possible Solution

Others badges work:

Perhaps the problem is with the endpoint route, as it needs to call another URL (https://badge-api.stryker-mutator.io/github.com/regseb/jfather/main). Cloudflare blocks because it detects a URL within a URL.

@regseb regseb added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Mar 31, 2025
Copy link
Contributor

Badge tested using npm run badge https://img.shields.io/endpoint?label=coverage&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fregseb%2Fjfather%2Fmain
Output is available here

@chris48s
Copy link
Member

Hi. As noted in #10981 (comment) I've temporarily blocked most traffic to the endpoint badge. This is intended to be a temporary measure, but I can't completely unblock it until the abusive traffic is under control.

@chris48s
Copy link
Member

The majority of legitimate requests to the endpoint badge should now be getting served.

I'm not going to disclose the precise details of what we are/aren't blocking at the moment as we are still blocking a lot of unwanted traffic and I don't want to make it public how to circumvent that, but the majority of legitimate requests should now be unblocked.

I'm going to close these issues but we will continue to monitor the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants