← heapsort-ai

JavaScript

27 items

ARTICLEDEV.to AI·4/17/2026

Why Cursor Keeps Writing Prototype Pollution Into Your JS

This article highlights how AI editors, specifically Cursor, reproduce a dangerous recursive merge pattern from pre-2019 training data, leading to "prototype pollution" vulnerabilities in JavaScript. This security flaw allows attackers to inject properties onto `Object.prototype`, affecting all objects, and was previously identified in `lodash` (CVE-2019-10744).

28
ARTICLEDEV.to AI·27d ago

The Worm in the Registry

A six-minute attack compromised the trust model of modern JavaScript development, pushing 84 malicious package versions across 42 @tanstack packages via a legitimate release pipeline. The "worm" spread to over 170 packages on npm and PyPI, affecting over 518 million cumulative downloads and targeting credential theft.

28
ARTICLEDEV.to AI·4/20/2026

Using AI to understand JS, not copy code

This article advocates using AI as a super-powered tutor to understand programming concepts, rather than merely copying generated code. It suggests focusing on "why" and "how" when interacting with AI tools like ChatGPT or GitHub Copilot to foster deeper learning.

27
DOCDEV.to AI·5/9/2026

What is Node.js? JavaScript on the Server

Node.js is a JavaScript runtime that enables JavaScript to run outside the browser, typically on servers and backend systems. It's crucial to understand that Node.js is neither a programming language nor a framework, but rather the environment that executes JavaScript on the server.

4
DOCDEV.to AI·4/22/2026

Hey Dear,

This content describes React, a JavaScript library for building user interfaces, highlighting its declarative and component-based approaches. It emphasizes ease of learning and its ability to be used across various platforms, including mobile with React Native.

3