Skip to content

[BUG] Can't install camelcase, decamelize and other camel-related packages (#camelgate) #8203

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

Closed
2 tasks done
TheDevMinerTV opened this issue Apr 1, 2025 · 389 comments
Closed
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Registry specific to registry implementation

Comments

@TheDevMinerTV
Copy link

TheDevMinerTV commented Apr 1, 2025

STATUS:

✅ Cloudflare marked it as resolved:
This issue is now resolved. - 19:42 UTC

✅ NPM marked it as resolved:
This incident has been resolved. - 19:40 UTC

👀 NPM is monitoring the situation:
A fix has been implemented and we are monitoring the results. - 17:37 UTC

👀 Cloudflare disabled the rule and is monitoring the situation:
We have disabled the rule in question, and the rate of false positives is decreasing. We are monitoring. - 17:31 UTC

✅ Seems to be working again - 17:13:17 UTC

GET BACK TO WORK, NERDS!

✅ NPM fixed:
The issue has been identified and a fix is being implemented. - 17:11 UTC

🛠️ Cloudflare is fixing:
Identified - Cloudflare has identified an issue with the managed ruleset "Apache Camel - Remote Code Execution - CVE:CVE-2025-29891" which is potentially causing false positives. Customers can disable this rule by setting Action -> Log in the Cloudflare Dashboard. Other WAF rules are unaffected. We are currently working on a fix for this issue.

👀 NPM is investigating:
We are currently investigating reports of intermittent failures when viewing and installing packages scoped to certain keywords. - 16:40 UTC

👀 First failure in our CI - 15:49:08 UTC

Caused by https://developers.cloudflare.com/waf/change-log/2025-03-11-emergency/

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Affected packages

registry.npmjs.org/camelcase
registry.npmjs.org/camelcase-keys
registry.npmjs.org/decamelize
registry.npmjs.org/camel-case
registry.npmjs.org/lodash.camelcaseregistry.npmjs.org/camelcase-css

Current Behavior

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-04-01T15_55_18_127Z-debug-0.log
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-04-01T15_44_48_105Z-debug-0.log

Expected Behavior

Those downloads should work

Steps To Reproduce

  1. npm i camelize decamelize

Environment

  • npm: 10.5.0
  • Node.js: v21.7.1
  • OS Name: linux
  • System Model Name: ??
  • npm config:
; node bin location = /usr/local/bin/node
; node version = v21.7.1
; npm local prefix = /
; npm version = 10.5.0
; cwd = /
; HOME = /root
; Run `npm config ls -l` to show all defaults.
@TheDevMinerTV TheDevMinerTV added Bug thing that needs fixing Needs Triage needs review for next steps labels Apr 1, 2025
@mattkindy
Copy link

mattkindy commented Apr 1, 2025

I'm getting this for a few different ones:

As a result, my CI pipeline is failing and I cannot build/deploy.

First failure was at ~10:55 AM CDT

I can occasionally get the following via my browser, which I think is likely related:

Image

@Recursing
Copy link

Recursing commented Apr 1, 2025

We get the same error for any path with "camel", e.g. https://www.npmjs.com/search?q=camel | https://registry.npmjs.org/camel123 | https://registry.yarnpkg.com/camel456

Builds are failing for us as well.

Edit: this is fixed now, thank you all

@patternleaf
Copy link

Same here! Can't deploy a new build. Begun the camel wars have.

@maksym-boytsov
Copy link

I'm experiencing the same issue

@kstieverjc
Copy link

same

@Tirke
Copy link

Tirke commented Apr 1, 2025

Our builds are down because of that too

@k-walsh-gmg
Copy link

Same

1 similar comment
@mchr3k
Copy link

mchr3k commented Apr 1, 2025

Same

@wilkesreid
Copy link

wilkesreid commented Apr 1, 2025

did a hard refresh, and previously affected packages seem to be back up

@smithb1994
Copy link

Any search of "camel" on npm fails...

@shankars99
Copy link

i am NOT going to use the pythonic variant - bring back camels

@lehcosta
Copy link

lehcosta commented Apr 1, 2025

Same

@M1113R
Copy link

M1113R commented Apr 1, 2025

Same, in my job we are with this error in build

 > [build 13/15] RUN npm install --legacy-peer-deps:
105.5 npm notice Run `npm install -g [email protected]` to update!
105.5 npm notice 
105.5 npm ERR! code E403
105.5 npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz
105.5 npm ERR! 403 In most cases, you or one of your dependencies are requesting
105.5 npm ERR! 403 a package version that is forbidden by your security policy, or
105.5 npm ERR! 403 on a server you do not have access to.
105.5 
105.5 npm ERR! A complete log of this run can be found in:
105.5 npm ERR!     /root/.npm/_logs/2025-04-01T16_30_44_400Z-debug-0.log

@tomusher
Copy link

tomusher commented Apr 1, 2025

Seems to be a change in Cloudflare's managed WAF ruleset - any site using that will have URLs containing 'camel' blocked due to the 'Apache Camel - Remote Code Execution - CVE:CVE-2025-29891' (a9ec9cf625ff42769298671d1bbcd247) rule.

Guess they've been a bit over-eager on the pattern matching on that one. If your own site is affected you can change the 'Action' on this rule to 'Log' to disable it.

@akhll
Copy link

akhll commented Apr 1, 2025

do you have any ideas on how to fix this?

@jvkf
Copy link

jvkf commented Apr 1, 2025

Facing this issue on my end as well:

ERR_PNPM_FETCH_403  GET https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.10.0.tgz: Forbidden - 403

@KyleAMathews
Copy link

@akhll someone at NPM needs to fix this.

@KyleAMathews
Copy link

https://status.npmjs.org/ — they've updated their status page

@timbermonson
Copy link

Stackoverflow is having the same issue. Opening any question with "Camel" in the name triggers "access denied".

@ivke-99
Copy link

ivke-99 commented Apr 1, 2025

wow what a day to be working late

@paulbalaji
Copy link

also getting this issue - it's almost 6pm so breaking out the whisky too

@hueter
Copy link

hueter commented Apr 1, 2025

#camelgate

@tamebadger
Copy link

wen fix

@sewalsh
Copy link

sewalsh commented Apr 1, 2025

LOL. Same!

@rikikonikoff
Copy link

Any ideas when camelgate will be fixed?

@tiagomartins91
Copy link

It's working.. thanks!

@aianimation55
Copy link

Oh... bye... see you round for the next end of days moment.

Camel Protest - Oh, it works now

@Ravi828rk
Copy link

@icon2341
Copy link

icon2341 commented Apr 1, 2025

Working now

@baysaa006
Copy link

At this point, if this issue had its own documentary, it’d get more views than Snow White. 🍿

@kerimamansaryyev
Copy link

GitHub should create the Camel Badge for everyone who was there

@noerbot
Copy link

noerbot commented Apr 1, 2025

Another hour down the toilet debugging an issue that was beyond my control... (-‸ლ)

@TheDevMinerTV TheDevMinerTV changed the title [BUG] Can't install camelcase and decamelize [BUG] Can't install camelcase, decamelize and other camel-related packages (#camelgate) Apr 1, 2025
@TheDevMinerTV
Copy link
Author

Image The sign has been made

Actually, this is more of a Kevin Fang-kind of video idea

@krsdcbl
Copy link

krsdcbl commented Apr 1, 2025

Another hour down the toilet debugging an issue that was beyond my control... (-‸ლ)

one hour is "10x engineer" stuff, kudos.

loqibot pushed a commit to indieweb/wiki that referenced this issue Apr 1, 2025
…lling out filter blocking all URLs containing "camel" npm/cli#8203" to "See Also"
IkeNefcy pushed a commit to IkeNefcy/aws-cdk that referenced this issue Apr 1, 2025
IkeNefcy pushed a commit to IkeNefcy/aws-cdk that referenced this issue Apr 1, 2025
@rlamarche
Copy link

At least I've deployed a npmjs mirror now ! And it started working when npmjs was repaired 😂

@d2davidtb
Copy link

It tried again and it works for me. npmjs was repaired.

Image

@t3dotgg
Copy link

t3dotgg commented Apr 1, 2025

What did I miss?

@PeerRich
Copy link

PeerRich commented Apr 1, 2025

i summoned theo 👀

@lakema17
Copy link

lakema17 commented Apr 1, 2025

Shoutout to Cloudflare for fixing the problem

that they caused

@Stephane-Ag
Copy link

What did I miss?

everything

@OliverWales
Copy link

This explains everything 🐫🐫🐫

@milaninfy milaninfy added the Registry specific to registry implementation label Apr 2, 2025
@milaninfy
Copy link
Contributor

This appears to be fixed as per this https://status.npmjs.org/incidents/hdtkrsqp134s

Closing: If this issue persist please go to Registry support as this repository tracks npm cli issues. For registry support please go to npmjs.com/support.

@browens-amergis
Copy link

Confirmed 🐫

@leo1994
Copy link

leo1994 commented Apr 3, 2025

o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Registry specific to registry implementation
Projects
None yet
Development

No branches or pull requests