feat(agents): add Security Champion agent with SDL and OWASP guidance#408
feat(agents): add Security Champion agent with SDL and OWASP guidance#408obrocki wants to merge 2 commits intomicrosoft:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #408 +/- ##
=======================================
Coverage 85.37% 85.37%
=======================================
Files 27 27
Lines 5073 5073
=======================================
Hits 4331 4331
Misses 742 742
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds a Security Champion agent and comprehensive OWASP security instruction files to integrate Microsoft's Security Development Lifecycle (SDL) practices alongside existing OWASP frameworks. The PR introduces security guidance across the development lifecycle, from design through runtime, with detailed coding standards for both traditional web applications and LLM-specific security concerns.
Changes:
- Adds Security Champion conversational agent for security-focused code review and advisory
- Introduces comprehensive OWASP Top 10 secure coding instructions for web applications
- Adds OWASP Top 10 for LLM Applications (2025) secure coding instructions for AI/ML security
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 14 comments.
| File | Description |
|---|---|
.github/agents/security-champion.agent.md |
New conversational agent that serves as a security advisor, integrating Microsoft SDL practices with OWASP frameworks to guide security reviews across all development stages |
.github/instructions/owasp-for-web-applications.instructions.md |
New instruction file providing comprehensive secure coding guidelines based on OWASP Top 10, covering vulnerabilities from access control to SSRF |
.github/instructions/owasp-for-llms.instructions.md |
New instruction file providing LLM-specific security guidelines based on OWASP Top 10 for LLM Applications (2025), covering prompt injection, data leakage, and other AI-specific risks |
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/skills/security-planning/owasp-security/references/owasp-web-applications.md
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
|
Hi! A small request: could you update the PR title to include the conventional commit format with scope? This ensures release-please picks it up correctly for the changelog. Suggested: `feat(agents): add security champion agent with Microsoft SDL practices Thanks! |
katriendg
left a comment
There was a problem hiding this comment.
Thanks for your contribution. This is valuable, there are a few optimizations I feel are relevant before we merge.
- Please re-run the
/prompt-analyseorprompt-builderagent again and ensure you add your new files to the context, and ask it to review your three files for recommendations. There are several open recommendations you can still apply before we merge. - Evaluate the usage of the
.instructions.mdfiles andapplyTo. Is it possible to merge into the custom agent instead? Especially for the LLM application instructions we do not want to enforce this upon every single edit of applicable files. Again here the Task-Researcher and/or Prompt Builder agents may help you refactor some of this in an efficient way. ## Required Phasesgiven this agent has specific phases (in your case Stages), you should be able to easily reformat the agent to follow the phases approach. Also prompt-builder may do this for you.
Hope these make sense!
.github/instructions/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
.github/skills/security-planning/owasp-security/references/owasp-llm-applications.md
Show resolved
Hide resolved
|
Thanks for your changes, I think this is looking good for an initial inclusion into |
673ade6 to
c8e2456
Compare
.github/skills/security-planning/owasp-security/references/owasp-web-applications.md
Show resolved
Hide resolved
.github/skills/security-planning/owasp-security/references/owasp-llm-applications.md
Show resolved
Hide resolved
.github/instructions/security/owasp-for-web-applications.instructions.md
Outdated
Show resolved
Hide resolved
|
@obrocki thanks for the refactoring. |
5af9817 to
73c7476
Compare
Add security-champion agent with Microsoft SDL practices and OWASP frameworks for web applications and LLM systems. Includes skill package with reference documentation for OWASP Top 10 guidelines. - Security champion agent (experimental) in security-planning collection - OWASP security skill with web and LLM reference material - Collection manifests updated for security-planning and hve-core-all
73c7476 to
1fcd5a7
Compare
|
Hey @obrocki — thanks for the Security Champion agent contribution! 🛡️ We've updated the PR title to follow our conventional commits format and restructured the description to align with the current PR template. No action needed on your end. |
|
We've updated the PR description to align with the current pull request template. All original content has been preserved and relocated into the appropriate template sections. No action needed on your end — though you're welcome to review the updated description and fill in any remaining sections (testing details, checklist confirmations, etc.) at your convenience. |
|
@obrocki closing this one after our offline discussions and the plan for reworking this into the new agent and skills. Looking forward to the reworked contributions. |
Pull Request
Description
Adds a Security Champion agent, skill, and supporting instructions to provide comprehensive security guidance by integrating Microsoft's Security Development Lifecycle (SDL) practices alongside existing OWASP frameworks.
applyTo: '**/*') into an on-demand skill with dedicated reference documentsRelated Issue(s)
Closes #416
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
Testing
Checklist
Required Checks
AI Artifact Contributions
/prompt-analyzeto review contributionprompt-builderreviewRequired Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skillsnpm run lint:md-linksnpm run lint:psnpm run plugin:generateSecurity Considerations
Additional Notes
Reviewed contribution with
prompt-builderagent.