frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How do you secure AI coding agents?

1•peanutlife•2h ago
I’ve been using agentic coding tools Windsurf / Claude Code–style) and ran into a security problem I can’t really ignore anymore.

These tools don’t just suggest code they can read local files and run shell commands. That’s very powerful, but it also means a prompt injection (or poisoned context) can turn a “helpful assistant” into something that looks a lot like an attacker’s shell.

I noticed that Cursor has publicly patched prompt-injection issues, including ones that opened paths to arbitrary command execution. Some security research is increasingly focused on “zero-click” prompt injection against AI agents.

The architectural problem I keep running into is that most guardrails today are opt-in (“use my tools”) rather than enforced (“you can’t do this operation”). If the agent decides to use a native tool directly, policy checks often don’t exist or don’t fire (There are bugs across Claude, Github Copilot and others that make enforcement a pain as well in todays atmosphere)

So I’m experimenting with a small proof-of-concept around policy-as-code for agent action that can for example,

- block reads of sensitive files (.env, ~/.ssh/*, tokens)

- require approval before risky shell commands run

- keep an audit log of what the agent attempted

- where supported, enforce decisions before execution rather than relying on the model’s cooperation

I’d really value input from people using these tools in real teams:

Would you install something that blocks or asks approval before an agent reads secrets or runs risky commands?

Would your company pay for centrally managed policies and audit logs?

What’s the least annoying UX that still counts as “real security”?

If you’ve seen real incidents or if you think this whole thing is dumb, inevitable, or already solved by containers, I’d would love your genuine take

TLD Sucks [Wiki]

https://en.wikipedia.org/wiki/.sucks
1•sans_souse•2m ago•0 comments

Show HN: Pixels.style – a tiny watercolor-style pixel art maker

https://pixels.style
1•petersonh•2m ago•0 comments

The 'decolonised' essay alternatives dumbing down Britain's universities

https://www.telegraph.co.uk/news/2025/12/28/decolonised-essay-alternatives-dumbing-down-uk-univer...
1•obscurette•3m ago•0 comments

Free compare two Excel online in RAM. Export added

https://medium.com/h7w/free-compare-two-excel-online-in-ram-export-added-b02cc0f6c41f
2•protmaks•4m ago•0 comments

Upgrading to Databricks Runtime 16.4 Speeded Up Our Python Script by 10x

https://blog.devgenius.io/how-upgrading-to-databricks-runtime-16-4-sped-up-our-python-script-by-1...
2•protmaks•5m ago•0 comments

Hyperbolic simulation of consciousness, enlightenment, and reality

https://github.com/robertjeffrey1236/Radial-Hyperbolic-Architecture-Prototype
1•Robertjeffrey12•5m ago•1 comments

Data centres turn to aircraft engines to avoid grid connection delays

https://www.ft.com/content/8deb1518-b650-4a21-b7d1-3e6180560056
2•thm•7m ago•1 comments

Remembering Lou Gerstner

https://newsroom.ibm.com/2025-12-28-Remembering-Lou-Gerstner
3•thm•7m ago•0 comments

Serde's zero-copy borrowing can be treacherous

https://yossarian.net/til/post/serde-s-borrowing-can-be-treacherous/
2•fanf2•9m ago•0 comments

Tell HN: Google ignores English searches and forces localized results

1•jeanlucas•10m ago•0 comments

Breaking the Linear Grid: Applying Psychophysics to CSS for UI Scaling

https://lalithaar.github.io/Interdisciplinary-Systems-Research-Lab/experiments/Perceptual-Scaling...
2•lalithaar•13m ago•0 comments

Show HN: UniVersCell – Universal constraint language and decision framework

https://github.com/FIFI93160/universcell
1•fifi93160•15m ago•0 comments

California Typewriter Documentary (2016)

https://californiatypewritermovie.com
1•ChrisArchitect•16m ago•2 comments

Harnessing synthetic biology to empower a circular plastics economy

https://cdnsciencepub.com/doi/10.1139/cjm-2025-0053
1•PaulHoule•17m ago•0 comments

First Steps with Gleam: Building a Simple Web App (Rest API with PostgreSQL)

https://blog.andreyfadeev.com/p/gleam-web-application-development-tutorial
1•andfadeev•17m ago•1 comments

Building Replicate (A Local-First Layer for Convex)

https://robelest.com/journal/replicate-local-first
1•yoavsha1•18m ago•0 comments

Cursor UI is built with SolidJS

https://www.reddit.com/r/solidjs/s/LSvRET5p3E
1•itayadler•22m ago•0 comments

If you care about security you might want to move the iPhone Camera app

https://blog.jgc.org/2025/12/if-you-care-about-security-you-might.html
1•jgrahamc•23m ago•0 comments

In defense of starting with bloatware: my journey from Next.js to syscalls

https://www.danielfalbo.com/weblog/bloatware-to-syscalls
2•danielfalbo•28m ago•0 comments

Tell HN: I switched my iPhone to black and white and it's nice

2•apples_oranges•33m ago•1 comments

One Formula That Demystifies 3D Graphics

https://www.youtube.com/watch?v=qjWkNZ0SXfo
3•mthomas•34m ago•1 comments

Snow-capped Mount Etna erupts as skiers glide down slopes

https://www.bbc.com/news/videos/cz7n4px7e41o
1•tosh•35m ago•0 comments

You are probably not at inbox 0 (but should be) [2013]

https://ploum.net/why-you-are-not-at-inbox-0/index.html
2•maartin0•37m ago•1 comments

The hidden way the big, bad wolf protects us

https://www.washingtonpost.com/climate-environment/interactive/2025/gray-wolfs-safer-roads-delist...
2•pseudolus•37m ago•1 comments

How we achieved 30% Faster Queries by overcoming ClickHouse's native JSON limits

https://newsletter.signoz.io/p/overcoming-clickhouses-json-constraints
1•pranay01•38m ago•0 comments

Brazil's first arid zone is a stark warning for the whole country

https://www.theguardian.com/global-development/2025/dec/28/brazil-first-arid-zone-stark-warning-f...
3•pera•39m ago•1 comments

Show HN: Writing USB Device Firmware with Raspberry Pi Pico and TinyUSB

https://www.youtube.com/playlist?list=PL4C3a7zUGIuYu48KsA3krgm7rtLJwse03
2•madrajib•40m ago•0 comments

Wall Street is stealing from volunteer fire departments [video]

https://www.youtube.com/watch?v=t7GXVscHPfQ
2•xbmcuser•44m ago•0 comments

Success

https://snook.ca/archives/other/success
1•vishnuharidas•45m ago•0 comments

AI upheaval shows little sign of lessening

https://www.ft.com/content/728b03a4-cef3-4ee9-a421-d681998ef7d8
1•1vuio0pswjnm7•47m ago•0 comments