#javascriptproductionbug — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #javascriptproductionbug, aggregated by home.social.
-
What's wrong with this JavaScript prototype pollution?
What's wrong with this JavaScript prototype pollution from user merge. The JavaScript code merges user input into an object. In JavaScript __proto__ or constructor can pollute all objects.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #jav...
-
What's wrong with this JavaScript BigInt mixing with Number?
What's wrong with this JavaScript BigInt mixing with Number in a calculator. The JavaScript code adds BigInt and Number. In JavaScript this throws and crashes the app.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #jav...
-
Why does this JavaScript scheduler drift?
Why does this JavaScript scheduler drift in reporting. The JavaScript code mutates a Date object and reuses it, so every window shifts forward. In JavaScript jobs this breaks hourly aggregation.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascript...
-
Why does this JavaScript lock file race?
Why does this JavaScript lock file race under concurrency. The JavaScript code checks for a lock file and then creates it, which is a classic TOCTOU race. In JavaScript workers this lets two processes run the same job.
#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascript...