SPLHunting query: tune before alertingAI coding agents on endpoints
Claude Code telemetry: sessions running in bypassPermissions mode
The tool_decision event records the session's permission_mode. bypassPermissions (set by --dangerously-skip-permissions or --permission-mode bypassPermissions) approves every tool call, so these sessions have no human check against injected instructions. Use this to inventory who runs bypass mode and on which terminals, and compare against approved sandbox hosts.
- Log source
- Claude Code OpenTelemetry log events exported to Splunk
- Techniques
- LLM06 Excessive Agency · ASI02 Tool Misuse and Exploitation · AML.T0053 AI Agent Tool Invocation
- Reviewed
- 2026-11-10
Query
index=otel event.name="tool_decision" permission_mode="bypassPermissions"
| stats count AS tool_calls dc(tool_name) AS distinct_tools values(tool_name) AS tools
min(_time) AS first_seen max(_time) AS last_seen
BY user.email session.id terminal.type
| convert ctime(first_seen) ctime(last_seen)
| sort - tool_calls Expected false positives
- Approved sandbox, devcontainer or CI usage where bypass mode is the documented setup
Sources
Reviewed against vendor documentation, not tested in your environment. Defensive use only.