[BUG] Can't install `camelcase`, `decamelize` and other camel-related packages (#camelgate)
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
👀 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?
- [x] I have searched the existing issues
This issue exists in the latest npm version
- [x] 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
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.
I'm getting this for a few different ones:
- https://registry.npmjs.org/camelcase
- https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz
- https://registry.npmjs.org/decamelize
- https://registry.npmjs.org/camel-case
- https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz
- https://registry.npmjs.org/camelcase-css
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:
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
Same here! Can't deploy a new build. Begun the camel wars have.
I'm experiencing the same issue
same
Our builds are down because of that too
Same
Same
did a hard refresh, and previously affected packages seem to be back up
Any search of "camel" on npm fails...
i am NOT going to use the pythonic variant - bring back camels
Same
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
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.
do you have any ideas on how to fix this?
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
@akhll someone at NPM needs to fix this.
https://status.npmjs.org/ — they've updated their status page
Stackoverflow is having the same issue. Opening any question with "Camel" in the name triggers "access denied".
wow what a day to be working late