# Three layers of open source defense for AI coding agents: OpenShell, Prempti, and Falco

DevFeed: [Three layers of open source defense for AI coding agents: OpenShell, Prempti, and Falco](<https://devfeed.tech/articles/three-layers-of-open-source-defense-for-ai-coding-agents-openshell-prempti-and-falco-102877.md>)

Original publisher: [Read original article](<https://webflow.sysdig.com/blog/three-layers-of-open-source-defense-for-ai-coding-agents-openshell-prempti-and-falco>)

Author: Álvaro Iradier

Published: 2026-10-27T00:00:00Z

Content type: article

Language: en

Sources: [Sysdig](<https://devfeed.tech/sources/sysdig-blog.md>)

Topics: [Falco](<https://devfeed.tech/topics/falco.md>), [OpenShell](<https://devfeed.tech/topics/openshell.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [defense](<https://devfeed.tech/tags/defense.md>), [falco](<https://devfeed.tech/tags/falco.md>), [layers](<https://devfeed.tech/tags/layers.md>), [openshell](<https://devfeed.tech/tags/openshell.md>), [prempti](<https://devfeed.tech/tags/prempti.md>)

## AI overview

The demo shows how three open source layers cover different risks from AI coding agents. NVIDIA OpenShell enforces filesystem and network allowlists outside the agent; Prempti judges Claude Code tool calls and can allow, ask, or deny; Falco observes host syscalls, including failed attempts and tampering. Tests show Prempti can block an explicit credential check, while an indirect Python script passes its tool-call checks and OpenShell policy but triggers Falco when it opens the credential path. OpenShell also blocks direct network access and sandbox tampering, while Falco records those attempts. Prempti's in-sandbox daemon can be stopped or hijacked by the agent; moving its hook to root-owned managed settings and asking before signals makes daemon failure fail closed, but does not prevent socket replacement. The authors report about 160 alerts in an ordinary Claude Code session, reduced to zero with environment changes and narrow rule exceptions, underscoring the need to tune detection against real sessions.

## Source excerpt

Three open source defense layers for AI coding agents: OpenShell sandboxes, Prempti judges tool calls, Falco watches syscalls. See what each catches and misses.