🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)

🔧 Programmierung 🕛 kürzlich 4 Min Lesezeit SECURITY-FEED
0

AgentGuard: Open-Source Security Scanning for AI Agent Code

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




The Problem



AI agents are being deployed at scale — in customer support, code generation, data analysis, and autonomous workflows. But the code that powers these agents is rarely security-audited.



Consider this pattern, common in production agent codebases:




CODE
user_input = request.json()["prompt"]
prompt = f"You are a helpful assistant. {user_input}"
response = openai.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": prompt}]
)






This is a prompt injection vulnerability. A user can override the system prompt and manipulate the agent's behavior. It is the AI equivalent of SQL injection — and it is everywhere.






OWASP ASI Top 10



The is an open-source static analysis tool that scans AI agent codebases for all 10 OWASP ASI categories.






Install






CODE
pip install dfx-agentguard









Usage






CODE
# Scan current directory
agentguard .

# JSON output for CI/CD
agentguard src/ --format json

# SARIF for GitHub code scanning
agentguard . --format sarif









What It Detects



Prompt Injection (ASI01) — f-string prompt construction, string concatenation with user input, system prompt overrides.




CODE
# Vulnerable
prompt = f"You are a helpful assistant. {user_input}"

# AgentGuard flags this as ASI01-PROMPT-INJECTION






Tool Abuse (ASI02)os.system(), subprocess with user input, eval()/exec() in agent tool functions.




CODE
# Vulnerable
def run_command(query):
return os.system(f"echo {query}")

# AgentGuard flags this as ASI02-TOOL-ABUSE






Data Exfiltration (ASI03)requests.post() to external URLs, fetch() calls, webhook configurations, DNS-based exfiltration patterns, subprocess curl/wget calls.




CODE
# Vulnerable
requests.post("https://analytics-server.com/collect", json=agent_data)

# AgentGuard flags this as ASI03-DATA-EXFIL






Credential Exposure (ASI07) — hardcoded API keys (sk-proj-*, AKIA*, ghp_*), private keys, connection strings with passwords, wallet seed phrases, Slack tokens, Google API keys.




CODE
# Vulnerable
OPENAI_API_KEY = "sk-proj-Tq8m2X4vN7bR1wK9pL3hY6jD5cF0aZ8s"

# AgentGuard flags this as ASI07-CREDENTIAL-LEAK






Plus: Excessive Agency (ASI04), Supply Chain (ASI05), Insecure Output Handling (ASI06), Context Manipulation (ASI08), Agent Loop Exploitation (ASI09), Trust Boundary Violations (ASI10).






Integration Options






CLI






CODE
agentguard . --format text
agentguard . --format json --exit-code
agentguard . --format sarif









Pre-commit Hook






CODE
# .pre-commit-config.yaml
repos:
- repo: https://github.com/dockfixlabs/agentguard
rev: v0.2.2
hooks:
- id: agentguard









GitHub Action






CODE
# .github/workflows/security.yml
name: Agent Security Scan
on: [pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dockfixlabs/[email protected]
with:
path: src/
format: sarif









MCP Server Mode



AgentGuard can run as a Model Context Protocol server, letting AI coding assistants (Claude Code, Cursor) scan code in real-time:




CODE
agentguard --mcp









VS Code Extension



Inline diagnostics, scan-on-save, and a findings tree view. Available as a VSIX on the provides 28 vulnerable code samples across 5 OWASP ASI categories, plus clean code for false-positive testing.




CODE
git clone https://github.com/dockfixlabs/agentguard-benchmark
cd agentguard-benchmark
python benchmark.py









Roadmap





  • Semantic analysis — AST-based detection beyond regex patterns


  • Multi-language support — Rust, Go, Java, Ruby


  • GitHub Code Scanning integration — native SARIF upload


  • MCP scanner — audit MCP server configurations for malicious tools


  • Real-time IDE feedback — deeper VS Code integration



Full roadmap on
Core scanner + CLI + MCP server



GitHub App for automated PR reviews



Benchmark suite with 28 samples







Getting Started






CODE
pip install dfx-agentguard
agentguard . --format text






If you find this useful, star the repo on .






AgentGuard is MIT-licensed and built by Dockfix Labs.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:
Community Threat-Level Barometer
Live Votum

Wie stufst du das Risiko dieser Schwachstelle / Bedrohung für dein Unternehmen ein?

Noch keine Stimmen — schätze das Risiko als Erster ein.

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Hackers Just Poisoned the Rust Supply Chain | Threat Wire
1 Quelle
Hackers Found a Way Into Humanoid Robots | Threat Wire
1 Quelle
Bits und so #1021 (Passwort für Laufwerk)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten AgentGuard: Open-Source Security Scanning for AI Agent Code

Thematisch verwandte Begriffe: AgentGuard, OpenSource, Security, Scanning · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...