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
Adds a daily agentic workflow that performs comprehensive security review and threat modeling of the firewall, integrating with the Firewall Escape Test Agent's findings.
Workflow Configuration
Daily fuzzy schedule (18:35 UTC scattered) + manual dispatch
Uses agentic-workflows tool to pull escape test reports
create-discussion safe output with [Security Review] prefix
Network restricted to github ecosystem, cache-memory enabled
Permissions: read access to contents, actions, issues, pull-requests, discussions, and security-events
Security Analysis Phases
Phase 1: Reads Firewall Escape Test Agent's report as complementary material
Custom agent used: create-agentic-workflow
Design agentic workflows using GitHub Agentic Workflows (gh-aw) extension with interactive guidance on triggers, tools, and security best practices.
Original prompt
create a new worktree and add an agentic workflow to run daily that does a comprehensive security review, threat modeling of this projec. The review should be deep, and come with evidences that are verifiable. The
agent should also show all the commands it runs to produce this result. Any point needs to be backed by strong evidecne. Add a daily discussion as the safe output.
It should also read the Firewall Escape Test Agent's report as a complemenet material
Custom agent used: create-agentic-workflow
Design agentic workflows using GitHub Agentic Workflows (gh-aw) extension with interactive guidance on triggers, tools, and security best practices.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
CopilotAI
changed the title
[WIP] Add agentic workflow for daily security review
feat: add daily security review and threat modeling workflow
Jan 15, 2026
Concern: This workflow introduces the code_security toolset for the GitHub tool, which is not used in any existing workflows in this repository.
Analysis:
Existing workflows use toolsets: [default], [repos], or [default, actions]
The code_security toolset is a new permission boundary being introduced
This toolset may grant access to security-sensitive GitHub APIs (e.g., code scanning alerts, secret scanning, security advisories)
Questions:
What specific GitHub APIs does the code_security toolset grant access to?
Is this toolset necessary for the security review workflow to function?
Could the workflow achieve its goals with existing toolsets like [default, actions]?
Security Principle: Least privilege suggests we should only grant the minimum permissions necessary. If code_security provides access to sensitive security data, we should verify it's truly needed.
Recommendation:
Document what APIs/capabilities code_security enables
If it provides access to vulnerability/secret data, ensure the workflow has proper safeguards against accidental disclosure in public discussions
Consider if [default, actions] would be sufficient for reading workflow logs and analyzing code
No other security concerns identified. The workflow:
@copilot push the generated github action to this pR
Done! Compiled the workflow and pushed the generated GitHub Action in commit dedcde2. The .lock.yml file (62.9 KB) is now included in the PR with the daily schedule configured to run at 18:35 UTC (fuzzy scattered).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a daily agentic workflow that performs comprehensive security review and threat modeling of the firewall, integrating with the Firewall Escape Test Agent's findings.
Workflow Configuration
agentic-workflowstool to pull escape test reportscreate-discussionsafe output with[Security Review]prefixSecurity Analysis Phases
Output Requirements
Files Added
.github/workflows/security-review.md- Agentic workflow source.github/workflows/security-review.lock.yml- Compiled GitHub Action (62.9 KB)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.