Skip to content

Commit ebc6dd5

Browse files
committed
always use lockdown mode by default
1 parent ac852a3 commit ebc6dd5

File tree

138 files changed

+27
-438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+27
-438
lines changed

.github/aw/create-agentic-workflow.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,25 @@ These resources contain workflow patterns, best practices, safe outputs, and per
425425
- **Always use `safe-outputs` instead** for any GitHub write operations (creating issues, adding comments, etc.)
426426
- **Mode configuration** - Both `mode: local` (Docker-based, default) and `mode: remote` (hosted) are supported. Remote mode offers faster startup and no Docker requirement.
427427

428+
**Lockdown Mode (Security Feature)**:
429+
430+
Lockdown mode is a security feature that filters content in public repositories to only show issues, PRs, and comments from users with push access. This protects workflows from processing potentially malicious input from untrusted users.
431+
432+
- **Automatic by default** - Lockdown is automatically enabled for public repositories, and has no impact for for private repositories (where all collaborators are trusted)
433+
- **When to disable**: Only disable lockdown (`lockdown: false`) for specific safe use cases:
434+
- Issue triage/labeling workflows with restricted safe outputs
435+
- Spam detection systems designed to handle untrusted content
436+
- Public status dashboards with read-only operations
437+
- Command workflows that explicitly verify user permissions before acting
438+
- **How to disable**:
439+
```yaml
440+
tools:
441+
github:
442+
lockdown: false # Only for workflows designed to safely process all user input
443+
```
444+
- **Security considerations**: Workflows with `lockdown: false` should have read-only operations, restrictive safe outputs with specific allowed values, no bash/web-fetch/playwright tools, and explicit input validation
445+
- **Documentation**: See https://github.github.com/gh-aw/reference/lockdown-mode/ for complete guidance
446+
428447
**Advanced static analysis tools**:
429448
For advanced code analysis tasks, see `.github/aw/serena-tool.md` for when and how to use Serena language server.
430449
For coordinator-style workflows, see `.github/aw/orchestration.md` for orchestration patterns.

.github/workflows/agent-performance-analyzer.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-persona-explorer.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ai-moderator.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/archie.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/artifacts-summary.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/audit-workflows.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/auto-triage-issues.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/blog-auditor.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/brave.lock.yml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)