Skip to content

Commit 565bdc4

Browse files
authored
Merge pull request #6 from webmaxru/skill-update/github-agentic-workflows-security-model-894a3cbb66e35c7f
[skill-update] skill(github-agentic-workflows): align security model with official 5-layer naming
2 parents 95fe899 + 8945f4a commit 565bdc4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

skills/github-agentic-workflows/references/security-and-operations.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ Use this reference when a workflow needs security review, authentication design,
44

55
## Security Model Summary
66

7-
GitHub Agentic Workflows uses layered controls:
7+
GitHub Agentic Workflows uses five named security layers that work together to contain a confused or compromised agent:
88

9-
1. Substrate trust: GitHub Actions runners, container isolation, AWF, API proxy, and MCP gateway isolation.
10-
2. Configuration trust: validated frontmatter, permissions, tool wiring, network rules, and token placement.
11-
3. Plan trust: staged execution and safe outputs so the agent does not write directly to repository state.
9+
1. **Read-only tokens**: The agent receives a GitHub token scoped to read-only permissions. Even if the agent attempts to create a pull request, push code, or delete a file, the underlying token does not allow it.
10+
2. **Zero secrets in the agent**: The agent process never receives write tokens, API keys, or other sensitive credentials. Those secrets exist only in separate, isolated jobs that run after the agent has finished and its output has passed review.
11+
3. **Network firewall**: The agent runs inside an isolated container. The Agent Workflow Firewall (AWF) routes all outbound traffic through a Squid proxy that enforces an explicit domain allowlist. Traffic to any other destination is dropped at the kernel level.
12+
4. **Safe outputs**: The agent cannot write to GitHub directly. It produces a structured artifact describing its intended actions. A separate job with scoped write permissions reads that artifact and applies only what the workflow explicitly permits.
13+
5. **Agentic threat detection**: Before any output is applied, a dedicated threat detection job runs an AI-powered scan of the agent's proposed changes, checking for prompt injection, leaked credentials, and malicious code patterns.
1214

1315
Professional use starts by assuming prompts, tools, and repository content can be adversarial or misleading.
1416

0 commit comments

Comments
 (0)