frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Building my npx business card

https://ashley.dev/posts/turning-feedback-into-features/
8•edent•1y ago

Comments

steele•1y ago
Ooh, free real estate, let's colonize and gentrify package management
aabhay•1y ago
Lmao, gentrify cracked me up
neilv•1y ago
Do these npx business cards run arbitrary code on your computer?
cypherpunks01•1y ago
npx

Run a command from a local or remote npm package

Description

This command allows you to run an arbitrary command from an npm package (either one installed locally, or fetched remotely), in a similar context as running it via npm run.

neilv•1y ago
Yes, then is a "command from an npm package" arbitrary code?

And what is this "similar context as running it via npm run"?

Would it be better to answer the question directly?

joshka•1y ago
Yeah, this seems like a very smart but inherently flawed idea.
cypherpunks01•1y ago
Yes I agree! OSS package management ecosystems are a great idea, but allowing submissions without any review or vetting is just asking for supply chain attacks.
Xss3•1y ago
May as well just release an executable tbh.
theamk•1y ago
Reminds me of JAPH [0] - a tiny Perl program that was used in email/newsgroup signature to give it personal touch.

[0] https://www.perlmonks.org/?node_id=412464

watusername•1y ago
Terminal business cards are a nice idea, but RCE business cards are just asking for trouble. Instead of npx, what happened to good'ol curl? Something like

$ curl ashley.dev

Some decades ago, we had finger (https://en.wikipedia.org/wiki/Finger_%28protocol%29) which is designed for this very use case. Sadly it's no longer installed by default with most distros:

$ finger @ashley.dev

queezey•1y ago
This would be a great advertisement for security consulting.

"I was just able to run arbitrary code on your computer. Here is a sample of your recent browser history. Let me tell you help you mitigate your security vulnerabilities."

PGSimCity - How PostgreSQL Works

https://nikolays.github.io/PGSimCity/
86•jonbaer•1h ago•13 comments

Decker, a platform that builds on the legacy of Hypercard and classic macOS

https://beyondloom.com/decker/
224•tosh•7h ago•54 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
73•zdw•5h ago•10 comments

Show HN: Physically accurate black hole you can put in your room

https://blackhole.plav.in
20•aplavin•3d ago•3 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
185•saaaaaam•8h ago•92 comments

I Championed Prediction Markets. Look What They've Become

https://newsletter.platypuseconomics.com/p/i-championed-prediction-markets-look
19•NomNew•1h ago•33 comments

Teaching Kids Forth

https://gracefulliberty.com/articles/teaching-kids-forth/
51•rbanffy•4h ago•13 comments

US citizen charged after GrapheneOS phone wipes during airport search

https://www.techspot.com/news/113236-us-prosecutors-charge-atlanta-man-after-grapheneos-phone.html
160•eecc•3h ago•87 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
110•tosh•7h ago•35 comments

Design is compromise

https://stephango.com/design-is-compromise
196•ankitg12•10h ago•73 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
361•rcy•13h ago•112 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
73•xterminal•5h ago•39 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
43•marc__1•5h ago•25 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
105•zeldone•10h ago•23 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
72•geneticdrifts•8h ago•39 comments

How to Block Some of the Bots

https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Some-Of-The-Bots/
82•Bender•7h ago•91 comments

How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster

https://astgrep.com/blog/tree-sitter-rust-rewrite
72•herrington_d•8h ago•11 comments

Fonts In Use – Find out where a font is used

https://fontsinuse.com/
13•open_•2h ago•0 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
180•AbuAssar•13h ago•39 comments

How the Atmos clock functions

https://atmos-atelier.de/en/atmos-uhr/
5•r3trohack3r•1h ago•0 comments

Show HN: Port Zero – how I learned to stop worrying and love PORT=0

https://portzero.net/
7•octopoc•1h ago•2 comments

The relay market powering token resellers and fraud

https://vectoral.com/blog/token-relay-market
153•mlenhard•10h ago•92 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
143•mooreds•12h ago•45 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
20•jxmorris12•3d ago•2 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
174•interfeco•3d ago•35 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
832•rapnie•14h ago•405 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
149•pompomsheep•13h ago•50 comments

Jimothy the raccoon has a rare spinal condition. Here's what that means

https://www.popsci.com/science/whats-jimothy-raccoon-condition/
101•speckx•5d ago•53 comments

Using sed to make indexes for books (1997)

https://www.pement.org/sed/make_indexes.txt
50•TMWNN•3d ago•9 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
161•sohkamyung•4d ago•34 comments