frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Cloak – .env on disk has fakes, your editor shows them (CLI and VSCode)

https://getcloak.dev
1•wam_app•1h ago
I run AI coding agents with full filesystem access daily — Claude Code, Cursor, the works. Last month I realized every one of them has been reading my .env files with real Stripe live keys, database passwords, and AWS credentials. Sent straight to model providers as "context." .gitignore protects git, not disk. Secret managers protect servers, not laptops. Sandboxing the agent kills its usefulness. Nothing stopped a local cat .env from returning real credentials. So I built Cloak. The .env on disk always contains structurally valid fakes — sk_test_ for Stripe, localhost for databases, AWS example keys. Agents read the file, get sandbox values, write perfectly valid code. The VS Code/Cursor extension intercepts file opens and decrypts from an AES-256-GCM vault so you see real values in your editor. On save, it re-encrypts and writes sandbox to disk. cloak run npm start injects real env vars gated behind Touch ID / password — agents can't authenticate. Technical decisions worth discussing:

Rust CLI + TypeScript extension sharing the same vault binary format (CLK magic bytes + version byte for future evolution). Cross-compatibility tested explicitly. Biometric auth as the agent boundary. The insight: agents can read any file but can't provide a fingerprint. Touch ID on macOS, interactive-terminal-only password on Linux/Windows. Non-TTY processes are rejected. Sandbox generation is deterministic — HMAC-SHA256 of project hash + key name produces the same fake value every time. No randomness means no diffs in git, no confusing the agent with changing values. Recovery key (CLOAK-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx) shown once during init, never stored on disk. PBKDF2-SHA256 with 100k iterations protects a recovery file that can reconstruct the keychain key. Same model as disk encryption recovery keys. Zero AI inside. All detection is regex + Shannon entropy. Your secrets never touch a network. No telemetry, no cloud, no accounts.

Open source, MIT licensed. Interested in feedback on the threat model — particularly whether the biometric gate is sufficient or if there are bypass vectors I haven't considered.

Cesar Chavez, a Civil Rights Icon, Is Accused of Abusing Girls for Years

https://www.nytimes.com/2026/03/18/us/cesar-chavez-sexual-abuse-allegations-ufw.html
1•jbegley•55s ago•0 comments

Redpanda pushes the envelope on Nvidia Vera

https://www.redpanda.com/blog/nvidia-vera-cpu-performance-benchmark
1•ksec•1m ago•0 comments

Is Spotify's AI 'killing' Australian music?

https://theconversation.com/is-spotifys-ai-killing-australian-music-what-we-found-from-analysing-...
1•speckx•1m ago•0 comments

Pimco Sees Private Credit Strains Triggering Wake-Up Call on Liquidity Risks

https://www.bloomberg.com/news/articles/2026-03-18/pimco-sees-private-credit-strains-triggering-w...
1•petethomas•1m ago•0 comments

570k Lines of LLM Code Compiled Fine. It Was 20,171x Slower Than SQLite

https://tonylee.im/en/blog/llm-570k-lines-rust-sqlite-plausible-code-trap/
1•pavel_lishin•3m ago•0 comments

Ask HN: How is your company managing internal AI agents?

1•krsna_paulg•4m ago•0 comments

Is there an AI garage startup path?

https://www.chrbutler.com/is-there-an-ai-garage-startup-path
1•delaugust•4m ago•0 comments

Show HN: Atria – terminal UI for managing multiple coding agents

https://github.com/sethdeckard/atria
1•sethd•5m ago•0 comments

Who want's to buy this anonymous messaging site in 1000 rupees

https://tormessenger.lovable.app/
1•jackcom•5m ago•0 comments

Polymarket gamblers threaten Israeli journalist over missile strike story

https://www.theguardian.com/world/2026/mar/18/polymarket-gamblers-threaten-israeli-journalist-mis...
2•n1b0m•5m ago•0 comments

Show HN: WattSeal – PC power consumption monitor

https://github.com/Daminoup88/WattSeal
1•Daminoup•5m ago•0 comments

Deno Employees Leave

https://dbushell.com/notes/2026-03-18T07:00Z/
1•mb2100•6m ago•0 comments

The Vibe Thinker Bible

https://va.zo.space/guides/vibe-thinking
1•erhuve•7m ago•0 comments

DarkSword: iOS Exploit Chain Adopted by Multiple Threat Actors

https://cloud.google.com/blog/topics/threat-intelligence/darksword-ios-exploit-chain
1•skilled•7m ago•0 comments

Users hate it, but age-check tech is coming

https://arstechnica.com/tech-policy/2026/03/after-discord-fiasco-age-check-tech-promises-privacy-...
2•stalfosknight•9m ago•1 comments

Autoproto – minimal C++ MTProto client library stripped from TDLib

https://github.com/vnikme/autoproto
1•vnikme•9m ago•1 comments

Rapper Afroman's trial over using raid footage in music video enters second day

https://abc7chicago.com/post/afroman-lemon-pound-cake-rapper-trial-using-adam-county-sheriffs-rai...
1•Molitor5901•9m ago•0 comments

Geely Eyes Canadian Auto Market After Deal Allowing Chinese EVs

https://www.bloomberg.com/news/articles/2026-03-18/geely-eyes-canadian-auto-market-after-deal-all...
2•toomuchtodo•9m ago•1 comments

Another Forbes 30 Under 30 startup founder in trouble with the Feds for lying

https://nymag.com/intelligencer/article/gokce-guven-forbes-30-under-30-kalder-indictment.html
1•randycupertino•9m ago•2 comments

Show HN: GitComet speedy Git GUI written in Rust end-to-end

https://gitcomet.dev/
2•Havunen•9m ago•0 comments

Test in Prod or Live a Lie

https://blog.tenzai.com/test-in-prod-or-live-a-lie/
1•gk1•11m ago•0 comments

Mining your team's PR reviews into automated code review rules

https://www.valon.ai/blog/your-best-engineers-already-wrote-your-code-review-rules
2•gmax•13m ago•0 comments

Build AI Agents for Elevation, Not Replacement

https://eng.commure.com/blog/the-universal-promotion-ai-agents-dont-replace-people-they-promote-e...
1•ashbhat•13m ago•1 comments

A complete set of canonical nucleobases in the carbonaceous asteroid Ryugu

https://www.nature.com/articles/s41550-026-02791-z
1•teleforce•14m ago•0 comments

How to Read Books That Challenge Your Mind: Advice from Robert Greene

https://www.openculture.com/2026/03/how-to-read-books-that-challenge-your-mind.html
2•speckx•14m ago•0 comments

Solar energy transforms polystyrene waste into valuable chemicals using sulfur

https://phys.org/news/2026-03-solar-energy-polystyrene-valuable-chemicals.html
1•toomuchtodo•15m ago•1 comments

Show HN: SHTMLs – HTML pastebin where the AI uploads its own output

1•skenderbeu•15m ago•0 comments

Acoustic metamaterial can send complex signals directly between water and air

https://techxplore.com/news/2026-03-acoustic-metamaterial-complex-air.html
1•Brajeshwar•15m ago•0 comments

Show HN: Deploybase CLI – Search GPU and LLM pricing from your terminal

https://github.com/nicalevras/deploybase-cli
2•grasper_•16m ago•1 comments

Show HN: MCP Certify – Auto-test MCP servers for security and compliance

https://github.com/jackgladowsky/mcp-certify
1•jackgladowsky•16m ago•0 comments