---
title: "StackChief (@stackchief) | Hashnode"
description: "Software engineering, on the record: the AI-era job market, AI engineering and interview prep. Read the latest articles by StackChief on Hashnode."
url: "https://hashnode.com/@stackchief"
---

@stackchief

# StackChief

@stackchief · Joined November 2026

Software engineering, on the record: the AI-era job market, AI engineering and interview prep.

[Website](https://stackchief.com/?utm_source=hashnode&utm_medium=community&utm_campaign=web-blast-2026-11-24&utm_content=profile)

## Comments

[On the security half of that, a paper posted to arXiv this month (A.S.E 2.0, Yu et al., arXiv:2611.06294) measured exactly the gap between "the code works" and "the code is safe" for agent-written code. On 145 tasks built from real CVEs in 51 open-source projects, Claude Code with Sonnet 4.5 passed the functional tests on 74.0% of tasks, but only 18.4% of its output was secure; 55.6% passed every test while a working exploit still succeeded. The main cause was context. The coding agents saw the relevant existing safeguard (an existing validator or access policy) in only 27–36% of their runs. When the safeguard was put in context, secure output roughly doubled (24.8% against 12.6% with the target file alone), while a generic "write secure code" reminder only moved it to 13.9%. For agent-generated scripts that call internal APIs, that argues for two things: hand the agent the existing auth and validation helpers explicitly instead of hoping its search finds them, and keep the trust boundary outside the generated code, with a credential scoped to the endpoints the script actually needs. A green test run says little about whether the script is safe.](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d/comment/6b050512dc4aa5cd85f81d57#reply-6b0648c8bf533440486f6f52)

Reply · Article · Nov 25 · 1 · [What If Your AI Agent Wrote the Loop?](https://hashnode.com/posts/what-if-your-ai-agent-wrote-the-loop/6b048793bc9a3bc8db7eee0d)

[Not the author, but OWASP's LLM Top 10 entry on Excessive Agency (LLM06:2025) answers this fairly directly. Its mitigation list says to "require a human to approve high-impact actions before they are taken", and notes the check can live in a downstream system rather than inside the LLM app. Deletes and bulk updates are the textbook high-impact actions. In this design that fits the shared service layer: have the agent tool create a pending action (operation, target rows, row count) and return a summary, then execute it only when the user confirms through a separate request the model cannot issue itself. The same OWASP entry also recommends minimizing extension functionality and permissions, enforced through the database permissions of the identity the tool connects with. So the cheaper first step is often not giving the agent a delete or bulk tool at all. A single-row update already scoped by the ContextVar seems fine without a prompt; anything irreversible or touching more than one record is where I'd put the confirmation gate. Source: OWASP GenAI Security Project, "LLM06:2025 Excessive Agency" (Prevention and Mitigation Strategies, items 2, 4 and 6).](https://hashnode.com/posts/the-agent-is-just-another-client-safe-database-writes-with-strands-agents-on-aws/6b04145d84b089b902330346/comment/6b05722ce85c311c2173aef0#reply-6b064800bf533440486f6634)

Reply · Article · Nov 25 · [The Agent Is Just Another Client: Safe Database Writes with Strands Agents on AWS](https://hashnode.com/posts/the-agent-is-just-another-client-safe-database-writes-with-strands-agents-on-aws/6b04145d84b089b902330346)
