You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -5,21 +5,35 @@ A network firewall for agentic workflows with domain whitelisting. This tool pro
5
5
> [!TIP]
6
6
> This project is a part of GitHub Next's explorations of [Agentic Workflows](https://github.com/githubnext/gh-aw). For more background, check out the [project page on the GitHub Next website](https://githubnext.com/projects/agentic-workflows/)! ✨
7
7
8
-
## Features
8
+
## What it does
9
9
10
10
-**L7 Domain Whitelisting**: Control HTTP/HTTPS traffic at the application layer
11
11
-**Host-Level Enforcement**: Uses iptables DOCKER-USER chain to enforce firewall on ALL containers
**Recommended: One-line installer with SHA verification**
36
+
### Installation Options
23
37
24
38
```bash
25
39
# Install latest version
@@ -61,197 +75,21 @@ sudo awf --help
61
75
62
76
**Docker Image Verification:** All published container images are cryptographically signed with cosign. See [docs/image-verification.md](docs/image-verification.md) for verification instructions.
-**Privilege Separation**: Privileged operations (iptables setup, DNS configuration) run as root in the entrypoint, then privileges are dropped before executing user commands
207
-
-**UID/GID Matching**: The `awfuser` UID/GID is automatically adjusted to match the host user's UID/GID, ensuring correct file ownership for mounted volumes
208
-
-**Reduced Attack Surface**: If a user command is compromised, it cannot modify system files or escape the container's security boundaries
209
-
-**Docker Access**: The `awfuser` is added to the docker group, allowing MCP servers to spawn containers while still running as non-root
88
+
## Development
210
89
211
-
**Note:** The `awf` CLI itself requires `sudo` for host-level iptables configuration (DOCKER-USER chain), but the agent processes (GitHub Copilot CLI, etc.) run without root privileges inside the container.
212
-
213
-
### DNS Server Restriction
214
-
215
-
DNS traffic is restricted to trusted servers only (default: Google DNS 8.8.8.8, 8.8.4.4). This prevents DNS-based data exfiltration attacks where an attacker encodes data in DNS queries to a malicious DNS server.
0 commit comments