feat(skill): introduce owasp-docker#1245
feat(skill): introduce owasp-docker#1245JasonTheDeveloper wants to merge 23 commits intomicrosoft:mainfrom
owasp-docker#1245Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1245 +/- ##
==========================================
- Coverage 87.66% 87.65% -0.02%
==========================================
Files 61 61
Lines 9328 9328
==========================================
- Hits 8177 8176 -1
- Misses 1151 1152 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
I ran the OWASP Security Assessment ReportDate: 2026-04-01 Caution This prompt is an assistive tool only and does not replace professional security tooling (SAST, DAST, SCA, penetration testing, compliance scanners) or qualified human review. All AI-generated vulnerability findings must be reviewed and validated by qualified security professionals before use. AI outputs may contain inaccuracies, miss critical threats, or produce recommendations that are incomplete or inappropriate for your environment. Executive SummaryThe OWASP Docker Top 6 assessment of hve-core evaluated six controls against the repository's devcontainer configuration. Two controls received PARTIAL status at LOW severity: DKR02 (floating base-image tag with no Dependabot docker ecosystem entry) was CONFIRMED, and DKR04 (missing Summary Counts
Severity Breakdown (FAIL + PARTIAL only)
Verification Summary
Findings by Frameworkowasp-docker
Detailed Remediation GuidanceLOW SeverityDKR02:2025 — Patch Management StrategyFile: .devcontainer/devcontainer.json#L3 Offending Code: "image": "${localEnv:HVE_DEVCONTAINER_IMAGE:mcr.microsoft.com/devcontainers/base:2-jammy}",Example Fix: - package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
labels:
- "dependencies"
- "devcontainer"
commit-message:
prefix: "chore"
include: "scope"Steps:
Verification verdict: CONFIRMED — Floating tag at DKR04:2025 — Secure Defaults and HardeningFile: .devcontainer/devcontainer.json#L1-L42 Offending Code: {
"name": "HVE Core - Markdown Editing",
"image": "${localEnv:HVE_DEVCONTAINER_IMAGE:mcr.microsoft.com/devcontainers/base:2-jammy}",
"features": {
"ghcr.io/devcontainers/features/node:1": { "version": "20" },
"ghcr.io/devcontainers/features/python:1": { "version": "3.11" },
...
},
"remoteUser": "vscode"
}Example Fix: {
"name": "HVE Core - Markdown Editing",
"image": "${localEnv:HVE_DEVCONTAINER_IMAGE:mcr.microsoft.com/devcontainers/base:2-jammy}",
"runArgs": [
"--security-opt=no-new-privileges"
],
"features": {Steps:
Verification verdict: DOWNGRADED — Missing Disproved FindingsNone. Remediation Checklist
Appendix: Skills Used
|
45e9628 to
d2e828a
Compare
WilliamBerryiii
left a comment
There was a problem hiding this comment.
Nice addition — the vulnerability content is well-structured, technically accurate, and follows the established 7-section format from the other OWASP skills. All agent files, collections, prompts, and docs are updated consistently.
Two items need attention before merge:
- Merge conflicts — the PR currently has merge conflicts (
mergeable_state: dirty). Please rebase or merge frommainto resolve. - Cross-reference alignment —
DKR06maps to upstream D07 (Resource Protection), not D06 (Protect Secrets). The SKILL.md claims numbering is "aligned with OWASP Docker Security numbering" but it isn't. See inline comment for options.
The formatting inconsistency (hyphen vs em dash) and Docker signal suggestions are covered in inline comments.
Reference documents were using the identifier `DKR0x:2025`. However, the source material uses `D0x`. The `2025` postfix also doesn't exist in the source material. The documents were created before 2025 and there's no reference to 2025, unlike other OWASP publications. I also updated `06-resource-protection.md` and mapped it from `DKR06` to `D07` to match the source material.
4daf3cb to
1868294
Compare
|
@JasonTheDeveloper with the merge of the other owasp skill PR there were bound to be some conflicts. Could you merge in the latest and probably after fixing the conflicts regenerate the plugins? Also if you could please resolve all conversations you feel area addressed, then we will do a final review. Thanks! |
0b020c3 to
15bc18e
Compare
@katriendg All done, ready to do! |
katriendg
left a comment
There was a problem hiding this comment.
Looks good, left two minor comments which I leave to you to edit or simply close at your best judgement. Thanks!
Pull Request
Description
In alignment with phase 2 discussed in #480 (comment), this PR introduces the OWASP Docker Top 6 (not top 10 because the source material only contains 6 items) skill to hve-core and the security reviewer agent.
Related Issue(s)
Closes #1242
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-dockerskill using the security reviewer agent you will need a repository containing a Dockerfile.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 docker configurations and thus uses theowasp-dockerskill then that's all you need.owasp-dockeris used, in your prompt addtargetSkill=owasp-dockerYou should see in the output report the
owasp-dockerskill 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