Urgent.News

What's breaking now, across thousands of outlets.

Tech

I attacked my own repo — my PR bot blocked the attack itself

Coding-Agents sind die neue Benchmark für Dev-Teams: Claude Code, Cursor, Codex & Co. lesen dein Repo — und vertrauen ihm . Ich habe mich gefragt: Was passiert, wenn jemand eine Anweisung ins Repo schmuggelt, die der Agent bereitwillig ausführt? Also habe ich AgentGuard gebaut — ein CI-Gate für Agent-Konfigurationen (AGENTS.md, Skills, MCP-Server, Hooks). Und ich habe mein eigenes Repo mit 12…

Translated from German Read in German

A developer has created a tool called AgentGuard to protect against coding agents that read and execute instructions from a repository. The tool was tested with 12 targeted attacks, all of which were detected without false positives. A scan of 30 public repositories, including those of Google, Microsoft, and Nextcloud, revealed 5 with critical findings.

The developer also demonstrated the tool's effectiveness by having it block their own pull request and by seeing it block a live attack on a GitHub repository. AgentGuard is available on the GitHub Marketplace with a MIT license, offering a free initial scan for public repositories.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

React Context Is Not State Management: Stop Using It

The Architectural Trap: Why React Context Isn't a State Manager In the modern React ecosystem, "prop drilling" is often cited as the ultimate developer productivity killer.

  • React Context is a dependency injection mechanism, not a state management tool.
  • Misusing Context with objects causes unnecessary re-renders throughout the component tree.
  • Split providers and use external stores for frequently changing data to improve performance.

Star Trek Turns 60

"Star Trek" marks its 60th anniversary today, September 8, six decades after the original series premiered in 1966 and went on to become one of the most successful science-fiction franchises in…

More from Wednesday 9 September →