News for hackers. Stuff that matters.
Re:Deno 2.8 by sysguest on Friday May 22, 2026 @03:06PM (#48240050)
yeah it's such a pity deno's security features could have made recent npm attacks moot...
Re:Deno 2.8 by sheept on Friday May 22, 2026 @03:15PM (#48240191)
The recent npm supply chain attacks relied on lifecycle scripts, which Deno doesn't run by default, but neither do pnpm or Bun. While Deno, like npm, supports a minimum release age, it doesn't enable it by default.
Re:Deno 2.8 by sysguest on Friday May 22, 2026 @03:18PM (#48240238)
well deno has 'allow-read' 'allow-write' kind of permission, so if something tries to read from my ~/.ssh or other important folder, it can just block it

even with blocking lifecycle scripts, the attacker could have planted it somewhere else or just trick the dev somehow to run it

Re:Deno 2.8 by cyanydeez on Friday May 22, 2026 @03:16PM (#48240201)
the problem was at the start of deno, it didn't integrate with npm; the same way Macintosh used to be free of virus and trojan horses was because people just didn't use it enough.