frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

NPM install is stealing your passwords – I built a tool to catch it

https://westbayberry.com/product
24•ComCat•6h ago

Comments

ComCat•6h ago
I spent months studying how malicious npm packages actually work. Most of them do the same thing eg run a preinstall script, read your .env and credentials, and send them to a remote server. All before your app starts.

npm install will run this code automatically. No prompt, no warning.

I built Dependency Guardian a behavioral analysis engine that scans packages for malicious patterns before they touch your system.

it has: - 26 detectors (shell execution, credential theft, exfiltration, obfuscation, time bombs) - 53 cross-signal amplifiers that correlate findings across detectors - ~2,900 tests across 76 test files - Benchmarked against 11,356 real packages at 99.95% precision

It would have caught Shai-Hulud, the Chalk/Debug hijack, and the S1ngularity campaign.

Snyk, Dependabot, and npm audit all missed these because they rely on CVE databases. If there's no CVE filed yet, they're blind. Dependency Guardian reads the actual code.

curious if anyone here has been exposed/experiences to supply chain attacks and how they handled them

sandreas•2h ago
Thanks for sharing.

I still wonder why this is not an official npm / node effort to better secure the ecosystem...

john01dav•1h ago
Once this or something like it becomes widespread, won't sophisticated attackers simply test their attacks against this? So, for example, if it checks for `rm` invocations, just implemented the functionally of `rm` in the malware, or if it checks for exfiltration of data, then shell out to curl to do that in a different process.

If you think of making it so robust that this is impossible, you're just describing a container, which we already have.

cxcorp•2h ago
How is it different from the established player in the game, Socket.dev?
bpavuk•1h ago
this is actually an interesting idea to re-implement! imagine a JS runtime with hooks all over the place. these hooks look for `chmod`, `rm -r ~`/`rm -rf /` and such, intercept network requests, and scan variables for known API key patterns, e.g `sk_****`.
contrahax•38m ago
This is called dynamic analysis!
wozoot•1h ago
This seems very nice! But is there a way to use it without an Google account?
hannob•56m ago
Well...

There's a long history of people trying to build software that detects bad software. It's known as Antivirus software. It doesn't work very well, because you're up against fundamental truths of computational theory (the halting problem).

Terence Tao, at 8 years old (1984) [pdf]

https://gwern.net/doc/iq/high/smpy/1984-clements.pdf
254•gurjeet•18h ago•114 comments

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
75•parkaboy•4h ago•38 comments

Firefox 148 Launches with AI Kill Switch Feature and More Enhancements

https://serverhost.com/blog/firefox-148-launches-with-exciting-ai-kill-switch-feature-and-more-en...
233•shaunpud•4h ago•187 comments

Diode – Build, program, and simulate hardware

https://www.withdiode.com/
43•rossant•3d ago•8 comments

I Ported Coreboot to the ThinkPad X270

https://dork.dev/posts/2026-02-20-ported-coreboot/
191•todsacerdoti•10h ago•30 comments

Blood test boosts Alzheimer's diagnosis accuracy to 94.5%, clinical study shows

https://medicalxpress.com/news/2026-02-blood-boosts-alzheimer-diagnosis-accuracy.html
251•wglb•6h ago•94 comments

The Age Verification Trap: Verifying age undermines everyone's data protection

https://spectrum.ieee.org/age-verification
1449•oldnetguy•19h ago•1110 comments

Show HN: X86CSS – An x86 CPU emulator written in CSS

https://lyra.horse/x86css/
121•rebane2001•7h ago•46 comments

Show HN: Steerling-8B, a language model that can explain any token it generates

https://www.guidelabs.ai/post/steerling-8b-base-model-release/
159•adebayoj•9h ago•40 comments

Baby chicks pass the bouba-kiki test, challenging a theory of language evolution

https://www.scientificamerican.com/article/baby-chicks-pass-the-bouba-kiki-test-challenging-a-the...
76•beardyw•4d ago•18 comments

Making Wolfram Tech Available as a Foundation Tool for LLM Systems

https://writings.stephenwolfram.com/2026/02/making-wolfram-tech-available-as-a-foundation-tool-fo...
168•surprisetalk•11h ago•86 comments

Unsung heroes: Flickr's URLs scheme

https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/
65•onli•2d ago•20 comments

UNIX99, a UNIX-like OS for the TI-99/4A (2025)

https://forums.atariage.com/topic/380883-unix99-a-unix-like-os-for-the-ti-994a/
175•marcodiego•13h ago•53 comments

“Car Wash” test with 53 models

https://opper.ai/blog/car-wash-test
225•felix089•13h ago•266 comments

Intel XeSS 3: expanded support for Core Ultra/Core Ultra 2 and Arc A, B series

https://www.intel.com/content/www/us/en/download/785597/intel-arc-graphics-windows.html
30•nateb2022•5h ago•20 comments

A simple web we own

https://rsdoiel.github.io/blog/2026/02/21/a_simple_web_we_own.html
238•speckx•18h ago•156 comments

Genetic underpinnings of chills from art and music

https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1012002
26•coloneltcb•1d ago•7 comments

Show HN: PgDog – Scale Postgres without changing the app

https://github.com/pgdogdev/pgdog
261•levkk•18h ago•51 comments

Ladybird adopts Rust, with help from AI

https://ladybird.org/posts/adopting-rust/
1172•adius•22h ago•647 comments

What it means that Ubuntu is using Rust

https://smallcultfollowing.com/babysteps/blog/2026/02/23/ubuntu-rustnation/
143•zdw•16h ago•162 comments

Typed Assembly Language (2000)

https://www.cs.cornell.edu/talc/
36•luu•3d ago•14 comments

FreeBSD doesn't have Wi-Fi driver for my old MacBook, so AI built one for me

https://vladimir.varank.in/notes/2026/02/freebsd-brcmfmac/
364•varankinv•12h ago•295 comments

Show HN: Cellarium: A Playground for Cellular Automata

https://github.com/andrewosh/cellarium
12•andrewosh•3d ago•0 comments

Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)

https://github.com/vignesh07/babyshark
117•eigen-vector•13h ago•43 comments

AI-generated replies really are a scourge these days

https://twitter.com/simonw/status/2025909963445707171
7•da_grift_shift•25m ago•4 comments

Writing code is cheap now

https://simonwillison.net/guides/agentic-engineering-patterns/code-is-cheap/
176•swolpers•16h ago•238 comments

Shatner is making an album with 35 metal icons

https://www.guitarworld.com/artists/guitarists/william-shatner-announces-all-star-metal-album
183•mhb•9h ago•81 comments

Graph Topology and Battle Royale Mechanics

https://blog.lukesalamone.com/posts/beam-search-graph-pruning/
4•salamo•2d ago•0 comments

SIM (YC X25) Is Hiring the Best Engineers in San Francisco

https://www.ycombinator.com/companies/sim/jobs/Rj8TVRM-software-engineer-platform
1•waleedlatif1•13h ago

Iowa farmers are leading the fight for repair

https://www.ifixit.com/News/115722/iowa-farmers-are-leading-the-fight-for-repair
128•gnabgib•8h ago•35 comments