feat(skill): introduce owasp-mcp#1207
feat(skill): introduce owasp-mcp#1207JasonTheDeveloper wants to merge 21 commits intomicrosoft:mainfrom
owasp-mcp#1207Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1207 +/- ##
==========================================
- Coverage 87.72% 87.71% -0.02%
==========================================
Files 61 61
Lines 9320 9320
==========================================
- Hits 8176 8175 -1
- Misses 1144 1145 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
.github/skills/security/owasp-mcp/references/00-vulnerability-index.md
Outdated
Show resolved
Hide resolved
rezatnoMsirhC
left a comment
There was a problem hiding this comment.
LGTM other than some minor consistency nitpicks. Thanks!
| - path: .github/skills/security/owasp-mcp | ||
| kind: skill | ||
| maturity: experimental |
There was a problem hiding this comment.
I want to make a similar comment as below for collections/hve-core-all.collection.md, but it looks like collections/hve-core-all.collection.md doesn't have all of the skills listed here. Not sure if it was neglected when other skills were added here, or if it was intentionally not updated previously.
@WilliamBerryiii for visibility
There was a problem hiding this comment.
There might be a bug in one of the npm run commands. When you run npm run plugin:generate plugins/security/README.md is auto generated with everything defined in the *.collection.yml. Should collections/security.collection.md also be auto updated as well or is that the responsibility of the contributor to update?
If you don't specify a newly added skill within collections/hve-core-all.collection.yml for example, npm run plugin:generate will automatically update the yml for you. I'd probably expect the *.collection.md to also be auto updated as well.
There was a problem hiding this comment.
It may be a bit confusing indeed. The <collection>.md is manually edited, together with the <collection>.yml. The README in the plugin corresponding folder is constructed based on the <collection>.md file.
For the hve-core-all.collection.yml there is a different behavior which will update the file based on the contents of the other collections.
But it's a good point, you'd probably expect the collection.md file to be auto-generated. I think we should reflect if we have enough and maybe include a templating to allow for a header which is unique to the collection (which is something we need in some cases).
There was a problem hiding this comment.
It looks like hve-core-all.collection.yml is a bit out of date. It might be better to create a separate issue for it and raise another PR for it. What do you think @katriendg?
There was a problem hiding this comment.
To be honest ... I also probably broke a bunch of stuff last night again with my hot fixes 🤣
@JasonTheDeveloper - yeah if you can get an issue filed I'd really appreciate it ❤️
Pull Request
Description
In alignment with phase 2 discussed in #480 (comment), this PR introduces the OWASP MCP Top 10 skill to hve-core and the security reviewer agent.
Related Issue(s)
Closes #1204
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)Testing
To be able to test the
owasp-mcpskill using the security reviewer agent you will need a repository containing mcp code (not configurations).Security Revieweragent or invoke the agent via the/security-revewinstructionanalyse the code and produce a vulnerability reportcodebase-profiler.agent.mdpicks up that the repository contains mcp and thus uses theowasp-mcpskill then that's all you need.owasp-mcpis used, in your prompt addtargetSkill=owasp-mcpYou should see in the output report the
owasp-mcpskill being referenced and used.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