Better HN
topnewbestaskshowjobs
Log inSign up

coder-pm

30 karma · joined Jun 20, 2026 (5mo ago) · 81 submissions

Marcin Polak

Experienced software architect, recently associated with a GenAI startup.

Cleat, a Docker sandbox for AI coding agents (MIT):

  https://cleat.sh

  https://github.com/cleatdev/cleat
Blog:

  https://cleat.sh/blog
dev.to:

  https://dev.to/coder-pm
Not a native speaker but keen to share my knowledge and experience.

In case you want to contact me, you can easily Google me by my username.

Submissions

comment 2mo ago · link · parent

Agree on the validation, my loops are already gated. My concerns are about the cases when model is passing validation and quietly abandoning the goal. The second scenario is rewriting the plan to fit what was already done.

comment 2mo ago · link · parent

This is impressive but it again led me to questions. Porting the fuzzer from Go to Rust to validate Rust is a bit circular, isn’t it^^? Porting a fuzzer bug will hide the same class bug in the code it’s checking, who fuzzes the fuzzer / setup / harness:)? A good standard for rewrites is a differential testing, feed the same input to the old Go app and the new Rust then diff the outputs. Did you do that?

comment 2mo ago · link · parent

How much did the verification cost on top? how did you gate it? was it a Go test suite you ran against the Rust or what? I always wonder how ppl are testing these rewrites, rewriting the tests can also lead to bug. I really wonder how reliable are rewrites like that, a 65k lines you didn't actually read. How did you confirm the semantic equivalence, same behaviour?

comment 2mo ago · link · parent

That kind of one shot capability is impressive but how does it work for my typical work style? The way I work is to build a huge roadmap with goals and hand it to my agent to execute (often over night). I don't care that much about the benchmarks, what I care about is how often Fable 5.1 is making a baffling decision and destroys my plan, not respecting stop conditions or goals. I would seek for behavioral reliability over long autonomous runs, not eval scores. Anyone have that kind of feedback and observations?

comment 2mo ago · link · parent

Fair precision, obviously Cloud runs are executed remotely. Since both cloud and local runs cannot be distinguished, users genuinely won’t know when their filesystem will be touched. Basically you can’t safely depend on the user telling the tool what to use, the boundary has to be set.

comment 2mo ago · link · parent

Non devs running something might not be aware the programs runs locally and touches the actual machine. Devs know to be careful but regular users won’t even have knowledge it’s touching their machine, filesystem and might even touch the credentials (thanks to reasoning).

The right fix is to set real boundaries and limit agents access. We should never trust it won’t touch forbidden places.

Basically I find this naming work local vs work cloud confusing, users won’t know if it’s touching their files in the sandboxed cloud or a local one

comment 2mo ago · link · parent

Yes, it’s just CLAUDE.md instructing agents. The point is to correctly define it and adjust to your needs

comment 2mo ago · link · parent

The attackers pull the key from live process, not from disc so neither chmod nor disc defences method will work. The right fix is to keep the keys out of the runtime! Entirely!

It’s even mentioning they are detecting the agent framework so it’s easy to hide the malware inside its config/work directory. It’s clear, the best way to mitigate that is to start using per project scoped sandboxes.

Egress was the channel (DNS/OAST callbacks) so the network limitations beats the app layer boundaries.

39.

90 days of attacks on AI infrastructure(wiz.io ↗)

1 points · by coder-pm · 2mo ago · 1 comment

comment 2mo ago · link · parent

Hah in the AI era I noticed the agents are worse than the average person at noticing bugs. Agents use their own scale to decide if something is a success even if the output is broken. Agents are bug-blind to their own work. The consequence is that spotting bugs is now the key reviewer skill. The human’s job shifts to catching what the agent is blind to in its own work.

comment 2mo ago · link · parent

Every decision has keywords picked from the predefined list and every time Claude is looking for the decisions made it’s querying it by the keywords (grep). I didn’t ever hit the context window issue with the log, even in a huge projects (months of work).

Btw it’s a fair challenge, I will probably hit it one day so something like a “compact” skill for decision log would be useful.

comment 2mo ago · link · parent

My way to do the self improving agents is a CLAUDE.md instructed to write my every decision to the decision log with the relevant context. Agent is using it to challenge me, to make things better and remind me why I did something. It also helps with the invalidation.

How is the invalidation handled in Warp? Is it actually self-improving, or just better retrieval?

comment 2mo ago · link · parent

The root cause is simple, the agent could read a live key! It should never have it. It’s a combination of few issues at once: repo read, write access to the settings file and outbound fetch. There is no single way to solve that, this requires egress control and no real secrets! The durable fix means a successful injection cannot extract anything because there is nothing accessible.

It’s all the same for the similar class tools like Cursor, Copilot or Claude Code. Untrusted repos are the new threat model now.

44.

Data Exfiltration from Amazon Kiro via Prompt Injection(mindgard.ai ↗)

3 points · by coder-pm · 2mo ago · 2 comments

comment 2mo ago · link · parent

This is the fact I’ve been struggling with for quite some time. It’s not because it forgets the facts, it’s because the invalidation doesn’t propagate.

My way of handling that is a decision log. For every project since I started doing that it’s working great. My CLAUDE.md instruct the agent to store my every decision to the file with a metadata when I made this decision and what was the context. The agent is using this file as an index of decisions and rarely lose a track. It also helps team members to find out more about the development phases.

Does your system invalidate the parts of the memory if these are not valid or relevant anymore or just store/retrieve?

comment 3mo ago · link · parent

Fair point, that’s why I said I won’t pick it. But it still might be a good and simple choice for small configs, hand written. It does explode when it’s machine generated or templated.

I think it’s also strictly connected with the ecosystem devs are working with, ruby or python devs usually pick YAML, JavaScript/Node devs with JSON - this is how it works, ppl chose what they know and what they are used to.

comment 3mo ago · link · parent

It’s because ppl are not using it correctly, it was designed for configs and now it’s being used as a programming language… a language without types and debugger. It’s frustrating devs because they find the issue at the deployment time, not the compile time.

Personally I did never pick the YAML as a first format for the configs, only my ruby friends did that.

comment 3mo ago · link · parent

Hmm I thought the contribution graphs were always the currency, the only difference is that the AI made gaming them free:)

In my company we finally have it all documented, it’s super easy to find which PR made the regression and our internal policies and rules clearly state that you are the owner of the PR, not the AI so the ownership remains on human side, AI mistake is your mistake so everyone pays extra attention to that.

comment 3mo ago · link · parent

They should focus on the tool, do not try to rewrite it… everyone tries to rewrite things to rust now, pnpm was already great alternative to npm - just keep improving it instead of rewriting:/

comment 3mo ago · link · parent

Hah, llm detection is unreliable so a ToS like that can’t be enforced that way… that change moves responsibility to contributors who will break it, what about the autocomplete, refactoring tools?

comment 3mo ago · link · parent

And what’s your hardware and what were the tokens per seconds metric (do you have it)?

comment 3mo ago · link · parent

Yes but… they pay it once and then reuses the exploit

comment 3mo ago · link · parent

Attacks take hours, it’s in the article. The realistic road into those weeds is prompt injection, the tooling is more and more protected versus it but it still happens:) Again for the day to day work I doubt it will ever hit us.

comment 3mo ago · link · parent

Is anyone actually tried it in agentic coding (claude code loops)? Are apple silicon macs (M5 Max) capable of working with that model? what was the tps?

comment 3mo ago · link · parent

My approach is to keep the comments only with a references. My LLM based projects always have the decision log where are my decisions while working on the features are stored with the date. I found this useful to actually trace why something is in the codebase. It's much easier for both me and the LLM to navigate through the big projects where I spent months and dozens of full night sessions executing my plans with --dangerously-skip-permissions. In the morning I was answering all the model questions and iterating like that. Honestly, try that.

comment 3mo ago · link · parent

This is changing so fast, if the models like GPT 5.6-Cyber can find a way to escape why the VM maintainers won't use it to fix the vulnerabilities? For the day-to-day work this doesn't make any difference, you won't hit that issues at all.

comment 3mo ago · link · parent

Nice, I will give it a try! Thanks!
123