Skip to content
Discussion options

You must be logged in to vote

TL;DR: Within the last ~24 hours, the npm website (https://www.npmjs.com/*) began enforcing stricter Cloudflare Bot Management. Non‑browser clients (e.g., curl, link checkers, CI) now receive HTTP 403 with a __cf_bm cookie, while real browsers pass the challenge and get 200. This does not affect the registry APIs. For automation, either (A) use the registry/NPMS APIs, (B) treat 403 from www.npmjs.com as acceptable/skip those URLs, or (C) run a real browser (Playwright) for link checks. Avoid header hacks; they’re brittle and against the spirit of site policy.


Step‑by‑step: what’s happening and how to fix it

1) What changed

  • Your curl -I to https://www.npmjs.com/package/@opentelemetry/exp…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by trentm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
npm
Labels
Question Ask and answer questions about GitHub features and usage npm Discussions around programming langages, open source and software development
3 participants