frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Access-aware text-to-SQL – stop LLM agents overfetching data

https://github.com/sparklingneuronics/access-aware-text-to-sql
1•dimitarst•1h ago

Comments

dimitarst•46m ago
Author here - as people wire AI agents directly to their databases they usually connect their agents with one super user, not the right for the person using the agent.As result the agent creates a valid SELECT that can return rows the user wasn't allowed to see.

The other alternative is a limited account with the user visibility, who doesn't have an idea there is another data outside of it's view and confidently answers with incomplete data presented as complete.

No SQL injections, no errors, just confident but terribly wrong answer build from wrong data.

Prompts don't fix this - they are requests rather than control layer. So this is a deterministic, LLM-free guard built over sqlglot. It parses the generated SQL, resolves the columns to their DB tables, check tables/columns access based on user's role (deny-by-default), injects filters, and rewrites or refuses before query runs. The agent still sees the whole catalog, so it can say "cost data exists, but it's outside your access" instead of mislabeling revenue as profit. But only executes what's permitted.

The part that makes this solid are the tests.

Honest caveats: this solution makes SQL access safe. Analytical correctness is another topic, not touched here.

Would love to read your feedback.

Samsung profits jump 1,800% as AI chip sales soar

https://www.bbc.com/news/articles/c1kyy8yrpxdo
3•nnurmanov•4m ago•1 comments

SB mini II: a homebrew Apple II clone

https://unimplementedtrap.com/sb-mini-ii-apple-ii-clone/
1•freediver•4m ago•0 comments

Building a High-Performance C++ Backtesting Framework with Order Simulator

https://medium.com/@DolphinDB_Inc/building-a-high-performance-c-backtesting-framework-with-an-ord...
1•yiweileng•5m ago•0 comments

Voice Is My New Keyboard

https://sanju.sh/wisprflow/
1•freediver•6m ago•0 comments

Thoughts on AI

https://rkoziel.com/thoughts/2026-06-29--19-02-29/
1•freediver•9m ago•0 comments

Google's exponential path to climate-wrecking digital bloat

https://ketanjoshi.co/2026/07/01/googles-exponential-path-to-climate-wrecking-digital-bloat/
2•mapleoin•9m ago•0 comments

ReactOS "Open-Source Windows" Project Now Capable of Running Half-Life 2

https://www.phoronix.com/news/Half-Life-2-ReactOS
2•birdculture•9m ago•0 comments

Would you use a tool that finds repeated pain points before you build?

https://foundrly-early.netlify.app
1•GagnoGabin•10m ago•0 comments

Show HN: A Haskell programmable-CAD environment, in the browser with WASM

https://doscienceto.it/waterpark/
2•hungryjoewarren•12m ago•0 comments

Show HN: Deceptive.design – dark pattern types, laws and cases (rebuilt)

https://deceptive.design/
1•harrybr•14m ago•0 comments

Latent Programming Horizons in Coding Agents

https://arxiv.org/abs/2607.05188
2•andre15silva•14m ago•0 comments

Hard time deciding? Let nuclear 8 ball help you

https://radmon.thealch3m1st.com/?view=ball&ext=spec
1•thealch3m1st•15m ago•1 comments

Wanna Hear Particles?

https://radmon.thealch3m1st.com/?view=wf&zoom=300000&audio=count
1•thealch3m1st•17m ago•1 comments

GL.iNet Flint 4 Announced

https://www.gl-inet.com/en-gb/products/gl-be14000
1•prima-facie•17m ago•1 comments

Elon Musk's SpaceX is about to trigger a $4.3B buying frenzy

https://www.independent.co.uk/us/money/spacex-nasdaq-elon-musk-b3010301.html
1•enlightpixel•20m ago•0 comments

Talk and Modify Wikipedia in Realtime

https://codingbutler.webfuse.com/
1•Salomeko•21m ago•1 comments

The Kernelized Secure Operating System KSOS [pdf]

https://www.usenix.org/system/files/login/articles/1255-perrine.pdf
1•Alien1Being•21m ago•0 comments

Portable Speaker Ranking (2026)

https://www.speakerranking.com/portable/party/
1•larodi•21m ago•1 comments

Show HN: A calculator CLI to help your agents perform calculations accurately

https://github.com/freakynit/llm-calc
1•freakynit•22m ago•0 comments

Raghu // dark-factory – press any key or click to power on

https://raghunathnair1-rgb.github.io
2•melvinroest•22m ago•0 comments

Show HN: Flag Click – Country Clicker Game

https://flagclick.com/
1•kyrylo•22m ago•0 comments

Hy3 – 295B MoE model (21B active, 192 experts)

https://twitter.com/TencentHunyuan/status/2074148098876768478
1•nezhar•24m ago•1 comments

Agent Box

https://agent-box.sh/
1•handfuloflight•26m ago•0 comments

Show HN: Graphenium – Local Trust Layer for AI Agents (Rust, Datalog, Salsa)

https://github.com/lambda-alpha-labs/Graphenium
1•Graphenium•32m ago•0 comments

AI coding assistant is quietly shipping your secrets

https://reykur.io/blog/ai-coding-assistant-shipping-secrets/
2•k1r111•33m ago•0 comments

HTTP 1.x proxy that makes old web browsers usable again in the Web 2.0 world

https://github.com/atauenis/webone
2•edward•35m ago•0 comments

A Self-maintaining filesystem for static blogs

https://dan-webnotes.com/posts/2026-07-01-self-maintaining-filesystem-static-blogs/
1•dandep•36m ago•0 comments

You're probably on the wrong Cloud box

https://gelkao.com/blog/how-cost-efficient-is-mytimeplan-com-cloud/
1•dominikz•37m ago•0 comments

Show HN: VibeRaven – open-source CLI that finds RLS/auth gaps your agent leaves

https://github.com/ohad6k/VibeRaven
1•ohadkr•37m ago•0 comments

Turn any web page into sticky notes with Free Chrome Web Extension

https://chromewebstore.google.com/detail/sticky-note-web-clipper-—/gniilbpapgommpalikcclpcnbcam...
1•taskloco_nyc•40m ago•0 comments