Possible DoS on public esm.sh, many compilations of the same package/versions #1224
Unanswered
NadhifRadityo
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We appear to be seeing an automated flood of compilation requests against the public esm.sh service. Many different version builds of the same package (React) being queued/started at the same time. That looks like either a misbehaving client or an intentional attempt to exhaust CPU/memory I/O by forcing repeated on-demand compilations.
What I observed
(See the following screenshot of the status log showing many
react@.../react.mjs,@solana/web3entries created in quick succession.Because of this sudden flood of builds, it looks like the compilation queue is getting backed up.
My own requests to esm.sh (for completely unrelated packages) are now being delayed or failing entirely, presumably because my build jobs are being placed at the back of the queue.
So while this might not be a deliberate attack, it effectively acts like a denial-of-service for everyone else using the public instance of esm.sh.
Also, if whoever is running the version sweep sees this: please pause your job. It’s really slowing down the public endpoint for everyone.
Beta Was this translation helpful? Give feedback.
All reactions