freshcrate
Home > Uncategorized > gh-aw-firewall

gh-aw-firewall

GitHub Agentic Workflows Firewall

Description

GitHub Agentic Workflows Firewall

README

Agentic Workflow Firewall

A network firewall for agentic workflows that restricts outbound HTTP/HTTPS to an allowlist of domains.

Tip

This project is a part of GitHub's explorations of Agentic Workflows. For more background, check out the project page! ✨

How it works

awf runs your command inside a Docker sandbox with three containers:

  • Squid proxy — filters outbound traffic by domain allowlist
  • Agent — runs your command; all HTTP/HTTPS is routed through Squid
  • API proxy sidecar (optional) — holds LLM API keys so they never reach the agent process

Requirements

  • Docker: 20.10+ with Docker Compose v2
  • Node.js: 20.12.0+ (for building from source)
  • OS: Ubuntu 22.04+ or compatible Linux distribution

See Compatibility for full details on supported versions and tested configurations.

Get started fast

curl -sSL https://raw.githubusercontent.com/github/gh-aw-firewall/main/install.sh | sudo bash
sudo awf --allow-domains github.com -- curl https://api.github.com

The -- separator divides firewall options from the command to run.

Explore the docs

Development

  • Install dependencies: npm install
  • Run tests: npm test
  • Build: npm run build

Contributing

Contributions welcome! Please see CONTRIBUTING.md for guidelines.

License

MIT

Release History

VersionChangesUrgencyDate
v0.25.26 <!-- Release notes generated using configuration in .github/release.yml at v0.25.26 --> ## What's Changed ### Documentation * [docs] docs: update --image-tag CLI reference for digest-aware format by @github-actions[bot] in https://github.com/github/gh-aw-firewall/pull/2095 ### Other Changes * Optimize `security-guard` Claude token usage via prompt cache alignment and smaller diff payloads by @Copilot in https://github.com/github/gh-aw-firewall/pull/2085 * Add digest-aware AWF runtime image pinHigh4/21/2026
v0.25.25 <!-- Release notes generated using configuration in .github/release.yml at v0.25.25 --> ## What's Changed ### Other Changes * Optimize Smoke Claude workflow token spend (Haiku model, tighter turn cap, narrower GitHub toolset) by @Copilot in https://github.com/github/gh-aw-firewall/pull/2065 * [awf] API proxy: correct OpenAI base URL injection for Codex `/v1/responses` routing by @Copilot in https://github.com/github/gh-aw-firewall/pull/2066 * [Deps] Safe patch/minor devDependency refresh (2026High4/18/2026
v0.25.21 <!-- Release notes generated using configuration in .github/release.yml at v0.25.21 --> ## What's Changed ### Other Changes * secret-digger-claude: switch to Haiku, lower max-turns to 4 by @Copilot in https://github.com/github/gh-aw-firewall/pull/1956 * optimize(secret-digger-claude): default threat detection to Haiku, drop version-reporting import by @Copilot in https://github.com/github/gh-aw-firewall/pull/1974 * feat: add upstream corporate proxy support for self-hosted runners by @lpcox inHigh4/16/2026
v0.25.20 <!-- Release notes generated using configuration in .github/release.yml at v0.25.20 --> ## What's Changed ### Other Changes * fix: increase claude-token-optimizer timeout from 10 to 15 minutes by @lpcox in https://github.com/github/gh-aw-firewall/pull/1937 * perf(security-guard): reduce Claude token cost ~32% via turn cap, relevance gate, and conciseness by @Copilot in https://github.com/github/gh-aw-firewall/pull/1940 * feat: collect diagnostic logs on container startup failure by @Copilot inHigh4/13/2026
v0.25.18 <!-- Release notes generated using configuration in .github/release.yml at v0.25.18 --> ## What's Changed ### Other Changes * feat: enable cli-proxy in smoke-copilot workflow by @lpcox in https://github.com/github/gh-aw-firewall/pull/1820 * test: add regression tests for cli-proxy validated fixes from #1820 by @Copilot in https://github.com/github/gh-aw-firewall/pull/1826 **Full Changelog**: https://github.com/github/gh-aw-firewall/compare/v0.25.17...v0.25.18 ## CLI Options ``` Usage: awf High4/9/2026
v0.25.17 <!-- Release notes generated using configuration in .github/release.yml at v0.25.17 --> ## What's Changed ### Other Changes * feat: forward OIDC env vars into agent container by @Copilot in https://github.com/github/gh-aw-firewall/pull/1796 * fix: normalize API target env vars to bare hostnames via URL parsing by @lpcox in https://github.com/github/gh-aw-firewall/pull/1799 * perf: tune healthcheck intervals for squid and api-proxy containers by @Copilot in https://github.com/github/gh-aw-firewHigh4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

AutoRedact🛡️ Redact sensitive information from images securely in your browser with AutoRedact, featuring automatic detection and local processing for privacy.main@2026-04-21
anolisaANOLISA - Agentic Nexus Operating Layer & Interface System Architecturecosh/v2.1.0
tweakccCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock privatv4.0.11
Awesome-AI-resources💻 Discover essential AI-driven tools, frameworks, and resources to enhance your development process and streamline your projects.main@2026-04-21
slot-jsx-pragma🎰 Enable declarative slottable components with a custom JSX pragma for seamless React integration and enhanced performance.main@2026-04-21