frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Twometer/NoFences: open-source Stardock Fences alternative

https://github.com/Twometer/NoFences
1•ankitg12•5m ago•0 comments

Tesla's cabin camera estimates driver age in latest software update

https://driveteslacanada.ca/news/teslas-cabin-camera-estimates-driver-age-in-latest-software-upda...
1•voisin•7m ago•0 comments

Creating new knobs of control in biology

https://www.owlposting.com/p/on-creating-new-knobs-of-control
1•yorwba•13m ago•0 comments

Mythos Is Everyone's Problem

https://www.theatlantic.com/technology/2026/04/claude-mythos-hacking/686746/
1•urbandw311er•13m ago•0 comments

You Do Need to Understand Mythos (YouTube Video)

https://www.youtube.com/watch?v=V6pgZKVcKpw
1•vaylian•17m ago•0 comments

Doctor behind vaccine-autism link loses license (2010)

https://healthland.time.com/2010/05/24/doctor-behind-vaccine-autism-link-loses-license/
1•downbad_•18m ago•0 comments

How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript

https://www.freecodecamp.org/news/how-to-build-a-secure-ai-pr-reviewer-with-claude-github-actions...
2•mc-serious•24m ago•0 comments

Training for a Marathon with an AI Coach: What Worked and What Didn't

https://www.bloomberg.com/news/features/2026-04-10/training-for-a-marathon-with-an-ai-coach-what-...
1•helsinkiandrew•27m ago•0 comments

Protecting Copyright with AI

https://www.thomas-huehn.com/protecting-copyright-with-ai/
1•Tomte•32m ago•0 comments

BlueHammer abuses Windows Defender's update process to gain SYSTEM access

https://hackingpassion.com/bluehammer-windows-defender-zero-day/
3•BullsEye0•35m ago•1 comments

Show HN: Cyber Pulse. AI pipeline for triage and alerting on cyber news/Intel

https://play.google.com/store/apps/details?id=com.cyberpulse.cyber_pulse&hl=en_US
1•kozi93•36m ago•0 comments

Strait of Hormuz: A Citrini Field Trip (Free)

https://www.citriniresearch.com/p/free-strait-of-hormuz-a-citrini-field
2•jger15•39m ago•0 comments

I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs

https://tessl.io/blog/i-built-an-ai-pr-reviewer-that-catches-bugs-by-not-looking-for-bugs/
2•rohansrma•40m ago•0 comments

Air Powered Segment Display? [video]

https://www.youtube.com/watch?v=E1BLGpE5zH0
1•ProfDreamer•40m ago•0 comments

Aisbf (AI Should Be Free) proxy 0.99.18 released

https://pypi.org/project/aisbf/
1•nextime•41m ago•1 comments

A tool to extract network sessions as an Image

https://github.com/q-viper/session-feature-extractor
1•isneck•44m ago•0 comments

Claude Code doesn't trust Claude with permissions

https://blog.raed.dev/posts/claude_code_permissions/
2•Raed667•45m ago•0 comments

Epos: A browser extension for building browser extensions

https://epos.dev
1•imkost•48m ago•0 comments

Let's Talk about LLMs

https://www.b-list.org/weblog/2026/apr/09/llms/
2•lumpa•50m ago•0 comments

Write less code, be more responsible

https://blog.orhun.dev/code-responsibly/
1•orhunp_•52m ago•0 comments

Gen Z workers who fear AI will take their job actively sabotaging its rollout

https://fortune.com/2026/04/08/gen-z-workers-sabotage-ai-rollout-backlash/
7•9woc•1h ago•1 comments

Tabularis: A lightweight, cross-platform database client. Hackable with pkugins

https://github.com/debba/tabularis
1•thunderbong•1h ago•0 comments

Flowyble Studio – Run Claude, Copilot and Codex Side-by-Side

https://flowyble.com/studio
2•schizi•1h ago•0 comments

The Munro Lecture with Adam Tooze – April 8 2026 [video]

https://www.youtube.com/watch?v=Th1pZfKi4SI
3•hackandthink•1h ago•0 comments

Energy-Based Models Is All You Need

https://www.youtube.com/watch?v=h9Gkchqr__M
1•frag•1h ago•0 comments

The Infinity Man: Demis Hassabis, Colleagues and Rivals

https://thechipletter.substack.com/p/the-infinity-man
1•klelatti•1h ago•0 comments

Mark's Magic Multiply

https://wren.wtf/shower-thoughts/marks-magic-multiply/
2•luu•1h ago•0 comments

Give Your Agent a Canvas, Not Just a Chatbox

https://create0.ai
2•enha•1h ago•1 comments

The Great GPU Shortage: H100 Rental Prices Up 40%

https://newsletter.semianalysis.com/p/the-great-gpu-shortage-rental-capacity
2•alecco•1h ago•0 comments

Due Diligence Framework Before Your Business Commits to Open Source

https://groundblue.gumroad.com/l/nlzhlx
1•elsadek•1h ago•0 comments
Open in hackernews

Ask HN: Why is web auth not a solved issue?

2•zwnow•11mo ago
Personally, every project I start, I quit due to not being comfortable with the auth implementation.

I've been into web development for 4 years now. During my research regarding auth in this timeframe, I have found a million reasons on why I should not roll it myself. The reason is always it being to difficult to implement, too much responsibility and basically no matter how I'd do it, it would be unsafe.

The general consensus among web developers seems to be to just let a third party do it. And I understand the reasoning, they are experts and have decades of experience on that specific thing. It makes sense as long as you're fine with third party service dependencies for your application. However, I don't want that. I do not feel comfortable submitting my users data to tech giants for obvious reasons.

I am wondering why it's so difficult to implement secure auth? Why can frameworks like Laravel or Phoenix just generate auth solutions? Why should I trust them, if everyone is saying I shouldn't roll it myself?

After all, if Laravels or Phoenix generated auth isn't safe, I am the one taking responsibility anyway, no?

To my understanding web auth has been an issue for decades now, why aren't there protocols in place to solve it? Or if they are, why aren't they talked about a lot?

Considering how often I read about auth breaches with the big players in the game (Firebase as an example) I am not comfortable trusting third parties with that task either.

So how is one supposed to do it? There are so many JWT tutorials on youtube, but apparently JWTs aren't safe either. Then there are session cookies, which also aren't safe? Why is that?

I am also not talking about authorization. I specifically mean authentication. If I wanted a micro blog platform where users can log into their accounts and write about stuff, how would I make sure it's secure without having to trust third parties, especially big tech companies who repeatedly prove they cant be trusted over and over again?

Comments

arrowsmith•11mo ago
> if Laravels or Phoenix generated auth isn't safe

What makes you think they're not safe? Zillions of successful apps have been built using Laravel and Phoenix and (afaik) no-one has hacked their auth code yet. The code is open-source for anyone to inspect for vulnerabilities. I wouldn't feel unsafe using them.

You seem to misunderstand what it means to "roll your own auth".

"Don't roll your own auth" doesn't mean "use a third-party auth provider". It means "use an existing, expert-made auth solution and don't try to write it yourself."

That can be a third-party provider like Firebase, it can be a code dependency like Rails's Devise, it can be generated by `phx.gen.auth` in Phoenix, it doesn't matter - the point is that you're using a tried-and-tested auth solution written by someone who knows what they're doing.

Writing your own auth code is generally a bad idea because it's complicated, time-consuming and easy to get wrong. But there are zillions of off-the-shelf solutions you can use that have been created by security experts and battle-tested in thousands of production apps. As far as I'm concerned, web auth is a solved problem.

zwnow•11mo ago
Interesting. When I generate auth for Phoenix the API endpoints are not piped through any security pipes. Only the browser endpoints. Why wouldn't I secure my API endpoints? The same kind of requests that are made for browser requests are sent to the API routes, so this is really confusing.
arrowsmith•11mo ago
Ah yes. `phx.gen.auth` generates a cookie-based auth system, which is fine for the :browser pipeline but it's not generally what you want for a JSON API.

The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html

(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)

johncoltrane•11mo ago
> The general consensus among web developers seems to be to just let a third party do it.

Outside of personal projects, third-party auth providers must be audited (think GDPR or PIPL), budget must be allowed, contracts signed, etc. so web developers rarely, if ever, have their say on the matter. The decision is taken long before anyone wrote a single line of code. From a project management perspective, it's an easy trade-off to make: one sprint for integrating Okta versus who knows how many for badly implementing something that requires a level of expertise that no one on the team has reached.

For personal projects, the trade-off is a bit different. Resources are scarce so, even if implementing auth is actually not very complicated(1) and can even be quite fun, there are probably more immediately interesting things to do. So you integrate a third-party solution in a wednesday night and you move on.

[1] https://thecopenhagenbook.com/