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

I Hate (Most) Keyboard 'Fn' Keys

https://danq.me/2026/06/09/fn-keys/
61•speckx•31m ago•25 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
50•edent•1h ago•13 comments

Mercedes‑Benz starts large‑scale production of electric axial flux motor

https://media.mercedes-benz.com/en/article/bebac2af-acdc-465a-9538-adb0bf3d8ccf
275•raffael_de•6h ago•145 comments

All 9,300 Japanese train station, animated by the year it opened (1872–2026)

https://jivx.com/eki
41•momentmaker•1h ago•20 comments

Buy a train, bridge or tracks from the Swiss Railway

https://sbbresale.ch/
60•kisamoto•2d ago•34 comments

macOS Container Machines

https://github.com/apple/container/blob/main/docs/container-machine.md
935•timsneath•13h ago•333 comments

Claude Fable 5

https://www.anthropic.com/news/claude-fable-5-mythos-5
2387•Philpax•20h ago•1880 comments

AWS Bedrock to require sharing data with Anthropic for Mythos and future models

216•TomAnthony•5h ago•148 comments

Hacking for Defense Stanford 2026 – Lessons Learned Presentations

https://steveblank.com/2026/06/08/g-for-defense-stanford-2026-lessons-learned-presentations/
43•sblank•1d ago•21 comments

Who Runs Your Rust Future? Hands-On Intro to Async Rust

https://aibodh.com/posts/async-rust-chapter-1-hands-on-intro-to-async-rust/
10•febin•1d ago•0 comments

Reviving Papers with Code

https://paperswithcode.co/
96•nielz_r•2d ago•21 comments

Upcoming breaking changes for npm v12

https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
423•plasma•16h ago•169 comments

Show HN: macOS menu bar gauges for your Claude Code quota

https://github.com/grzegorz-raczek-unit8/claude-quota
27•grzracz•4h ago•22 comments

Magnetoelectric antennas could transform how underwater robots talk

https://newatlas.com/engineering/magnetoelectric-antennas-submarine-robots-communications/
35•breve•3d ago•15 comments

Rich Sutton on AI creativity and discovery

https://twitter.com/RichardSSutton/status/2061216087744946656
161•yimby•11h ago•85 comments

German ruling declares Google liable for false answers in AI Overviews

https://the-decoder.com/landmark-german-ruling-declares-googles-ai-overviews-are-googles-own-word...
746•ahlCVA•12h ago•414 comments

Port React Compiler to Rust

https://github.com/react/react/pull/36173
103•boudra•4h ago•83 comments

RIP software hackathons. Long live the hardware hackathon

https://blog.oscars.dev/posts/rip-software-hackathons-long-live-the-hardware-hackathon/
221•ozcap•15h ago•106 comments

Ask HN: Are most corporate SWE jobs performative?

17•hnthrow10282910•36m ago•9 comments

Ultrafast machine learning on FPGAs via Kolmogorov-Arnold Networks

https://aarushgupta.io/posts/kan-fpga/
254•ag2718•18h ago•36 comments

What it feels like to work with Mythos

https://www.oneusefulthing.org/p/what-it-feels-like-to-work-with-mythos
318•swolpers•20h ago•282 comments

Surprise, pay $1000

https://forestwalk.ai/blog/surprise-blacksmith-costs/
244•apike•15h ago•100 comments

I thought I knew how electrolysis worked [video]

https://www.youtube.com/watch?v=eq7fR9ISuCw
69•tambourine_man•5d ago•7 comments

ICE denies having a protester database. A letter to Congress sheds more light

https://www.npr.org/2026/06/10/nx-s1-5843159/ice-protester-database-dhs
6•Jimmc414•20m ago•0 comments

The oldest surviving animated feature film at 100

https://www.bbc.com/culture/article/20260603-how-a-26-year-old-german-woman-made-the-worlds-oldes...
130•1659447091•3d ago•23 comments

OpenCV 5 Is Here: The Biggest Leap in Years for Computer Vision

https://opencv.org/opencv-5/
788•ternaus•4d ago•142 comments

More Molly Guards

https://unsung.aresluna.org/more-molly-guards/
158•zdw•3d ago•18 comments

If Claude Fable stops helping you, you'll never know

https://jonready.com/blog/posts/claude-fable5-is-allowed-to-sabotage-your-app-if-youre-a-competit...
910•mips_avatar•16h ago•449 comments

Premature optimization is fun sometimes

https://invlpg.com/posts/2025-06-19-premature-optimization.html
63•throawayonthe•2d ago•15 comments

Lies we tell ourselves about email addresses

https://gitpush--force.com/commits/2026/06/lies-we-tell-ourselves-about-email/
143•theanonymousone•1d ago•148 comments