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."

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

https://raymyers.org/post/zed-creator-calls-spade-a-spade/
25•crowdhailer•24m ago•4 comments

Backtrack-Free Cursive

https://mmapped.blog/posts/52-backtrack-free-cursive
67•dmit•2h ago•23 comments

Beavis Ultrasound PnP ISA Sound Card Replica

https://github.com/schlae/BeavisUltrasound
57•mariuz•3h ago•18 comments

Interrail: 6,379Km and 13 Countries over 7 weeks

https://shkspr.mobi/blog/2026/07/another-ridiculous-interrail-holiday-6379km-and-13-countries-ove...
15•coinfused•59m ago•0 comments

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
262•ranger_danger•4d ago•108 comments

The social physics of conversation: Communication patterns matter

https://andiroberts.com/citizenship/the-social-physics-of-conversation-citizenship-leadership
26•kiyanwang•5d ago•2 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
182•zdw•10h ago•56 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
249•naves•12h ago•21 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
212•azhenley•5d ago•35 comments

Frieve Vinyl Explained – Microscopic stylus/groove physics simulation

https://frieve-a.github.io/sound_toolbox/vinyl_explained/vinyl_explained.html
4•XzetaU8•3d ago•0 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
108•tadasv•10h ago•41 comments

Ask HN: Add flag for AI-generated articles

628•levkk•7h ago•289 comments

How to read more books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
349•silcoon•17h ago•182 comments

Are you telling me a readonly property is wrecking my performance?

https://shub.club/writings/2026/july/check-your-scrollheight/
33•forthwall•3d ago•14 comments

Converting colors in JavaScript at 6B operations per second

https://dkryaklin.com/blog/colordx-gpu
23•dkryaklin•3d ago•4 comments

Guy took Jupiter photo with Game Boy Camera, giant telescope, publishes tutorial

https://www.engadget.com/2211886/guy-who-took-photo-of-jupiter-with-a-game-boy-camera-and-giant-t...
39•thunderbong•2d ago•16 comments

Ask HN: What Are You Working On? (July 2026)

152•david927•11h ago•476 comments

Quadrupling code performance with a "useless" if

https://purplesyringa.moe/blog/quadrupling-code-performance-with-a-useless-if/
37•birdculture•1h ago•3 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
201•brryant•15h ago•86 comments

First look at Quest, the final ship of Antarctic explorer Shackleton

https://www.cbc.ca/news/canada/quest-shipwreck-expedition-images-9.7262229
32•curmudgeon22•4d ago•2 comments

Sam Neill has died

https://www.theguardian.com/film/2026/jul/13/sam-neill-death-actor-dies-aged-78
104•j4mie•3h ago•21 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
235•BerislavLopac•16h ago•49 comments

Kode Dot Programmable pocket device for makers, pentesters and geeks

https://kode.diy
83•iNic•11h ago•20 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
311•compiler-guy•3d ago•177 comments

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
577•systima•14h ago•319 comments

How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
128•raahelb•17h ago•187 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
142•georgex7•14h ago•55 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
153•softwaredoug•2d ago•200 comments

Berkshire's $397B Bet Against an Overheated Market

https://www.disruptionbanking.com/2026/07/13/inside-berkshires-397-billion-bet-against-an-overhea...
9•emsidisii•47m ago•0 comments

What xAI's Grok build CLI sends to xAI: A wire-level analysis

https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
471•jhoho•1d ago•172 comments