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

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
539•ngruhn•3h ago•235 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
561•ai2027•7h ago•281 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
30•KolmogorovComp•1h ago•5 comments

Rust project goals: Immobile types and guaranteed destructors

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
69•paavohtl•3h ago•15 comments

The AI Productivity Gap

https://bjorg.bjornroche.com/management/ai-productivity-gap/
30•kiyanwang•2h ago•34 comments

Octane – React's programming model, compiled

https://octanejs.dev
16•nnx•1h ago•4 comments

What DMARC Protects You From, and What It Does Not

https://senderledger.com/articles/what-dmarc-actually-protects-you-from
3•adulion•26m ago•0 comments

Show HN: Isopolis – Isometric pixel map of SF

https://sf.isopolis.city/
218•nuwandavek•9h ago•49 comments

Karpathy’s Pelican

https://twitter.com/karpathy/status/2083749667410727319
570•delichon•1d ago•389 comments

Less Coffee, Better Sleep

https://www.marginalia.nu/log/a_109_sleep2/
3•edward•46m ago•1 comments

PISIGuard: Protect your personal and sensitive info when you chat with AI

https://github.com/mohamed--abdel-maksoud/pisiguard
4•mohamed_am83•1h ago•2 comments

MPs demand answers on Fujitsu's inclusion in lucrative frameworks

https://www.computerweekly.com/news/366646721/MPs-demand-answers-on-Fujitsus-inclusion-in-lucrati...
9•latein•30m ago•0 comments

Why we write our own C and C++ inference engines

https://localai.io/blog/why-we-write-our-own-engines/
57•eatonphil•2d ago•27 comments

The true power of regular expressions (2012)

https://www.npopov.com/2012/06/15/The-true-power-of-regular-expressions.html
3•uneven9434•1h ago•0 comments

How do you rewrite C/C++ projects to Rust?

https://blog.jetbrains.com/rust/2026/07/27/cpp-to-rust-migration/
14•smokeeaasd•5d ago•8 comments

Show HN: ssh ssh.place

https://ssh.place
114•jeninh•9h ago•69 comments

CP/M-386 – CP/M for 386 protected mode, derived from CP/M‑68K

https://github.com/johnsonjh/cpm386
68•TMWNN•9h ago•30 comments

The Shape of Things to Come

https://yegge.ai/essays/the-shape-of-things-to-come/
14•tosh•2h ago•8 comments

Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge

https://arcbox.dev/blog/unifi-pppoe-half-bridge-acceleration
5•uneven9434•1h ago•0 comments

Autoregressive Language Model on the 6502 Processor

https://mattbeton.com/blog/bitnet-6502.html
110•nmstoker•2d ago•10 comments

Show HN: A Handwritten Blogging Platform

https://handwritten.blog/
103•emilesilvis•3d ago•52 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
220•vlad_kalinkin•17h ago•55 comments

More German than many Germans

https://mertbulan.com/more-german-than-many-germans/
263•mertbio•3h ago•182 comments

Convergence is not enough

https://www.inkandswitch.com/livelymerge/notebook/lm-02/
32•zdw•6d ago•6 comments

Why Book Corners won't sync contributions back to OpenStreetMap

https://www.andreagrandi.it/posts/why-book-corners-wont-sync-contributions-back-to-openstreetmap/
95•pizzaiolo•9h ago•58 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
201•surprisetalk•5d ago•59 comments

Developers are attached to tools because tools encode trust

https://stackoverflow.blog/2026/07/29/developers-are-attached-to-tools-because-tools-encode-trust/
212•HieronymusBosch•4d ago•114 comments

SwiftUI After 7 Years

https://ykvm.com/2026/07/swiftui-a-story-of-mediocrity/
194•mpweiher•14h ago•176 comments

AI migrated legacy COBOL programs to Java, bugs included

https://arxiv.org/abs/2607.28271
64•felineflock•6h ago•49 comments

Medieval Ideas About Food

https://lithub.com/fish-bad-sugar-good-and-other-medieval-ideas-about-food/
6•simplegeek•3d ago•0 comments