Semantic Kernel auto-invokes functions with no filter
MediumAV-FW-011Human oversightFramework packNew in 2.0
What it finds
Semantic Kernel automatically runs any plugin function the model picks, and no function-invocation filter is registered.
Why it matters
Filters are where Semantic Kernel lets you block or approve sensitive calls. Without one, every plugin function is callable on the model's say-so.
What an attacker could do: Any plugin function can run without checks.
How to fix it
Register an auto-function-invocation filter that blocks or asks for approval on sensitive functions.
Pro shows the corrected code for your exact file, step by step, and re-scans to confirm the fix. See plans
Check details
- Finding code
- SEMANTIC_KERNEL_AUTO_INVOKE_NO_FILTER
- How it detects
- Looks for a risky pattern, and stays quiet when a matching safeguard is present.
- Confidence
- Likely: strong signal, but review it in context.
- Scans
- Agent source using the named framework (LangChain, CrewAI, AutoGen, OpenAI Agents SDK, Claude Agent SDK, computer-use tools)
- OWASP LLM Top 10
- LLM08 - Excessive Agency
- NIST AI RMF
- MG-2.2
- SOC 2
- CC6.1
Check your agent for this
Paste your agent code or MCP config. The free scan runs all 124 checks in about 10 seconds — no account needed.
Related checks
- Agent can move money with no amount limitAV-HUMAN-003 · Critical
- Missing human-in-the-loop gatesAV-HUMAN-001 · High
- Built-in safety controls turned offAV-HUMAN-002 · High
- Destructive tool with no confirmationAV-HUMAN-004 · High
- AI editor set to run every tool without askingAV-FW-013 · High
- OpenAI Agents SDK agent with tools but no guardrailsAV-FW-006 · Medium