From 5ab1ca82ac66f51f50db213e500213decc077761 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:22:18 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 15 +++++ README.md | 3 + commands/check-owasp.md | 8 +++ plugin.lock.json | 61 +++++++++++++++++++ skills/owasp-compliance-checker/SKILL.md | 55 +++++++++++++++++ .../owasp-compliance-checker/assets/README.md | 7 +++ .../references/README.md | 7 +++ .../scripts/README.md | 7 +++ 8 files changed, 163 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/check-owasp.md create mode 100644 plugin.lock.json create mode 100644 skills/owasp-compliance-checker/SKILL.md create mode 100644 skills/owasp-compliance-checker/assets/README.md create mode 100644 skills/owasp-compliance-checker/references/README.md create mode 100644 skills/owasp-compliance-checker/scripts/README.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..8f509d5 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,15 @@ +{ + "name": "owasp-compliance-checker", + "description": "Check OWASP Top 10 compliance", + "version": "1.0.0", + "author": { + "name": "Jeremy Longshore", + "email": "[email protected]" + }, + "skills": [ + "./skills" + ], + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..57abe73 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# owasp-compliance-checker + +Check OWASP Top 10 compliance diff --git a/commands/check-owasp.md b/commands/check-owasp.md new file mode 100644 index 0000000..205880e --- /dev/null +++ b/commands/check-owasp.md @@ -0,0 +1,8 @@ +--- +description: DESCRIPTION_PLACEHOLDER +shortcut: SHORTCUT_PLACEHOLDER +--- + +# TITLE_PLACEHOLDER + +CONTENT_PLACEHOLDER diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..20f8c0b --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,61 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/security/owasp-compliance-checker", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "6c3aa2770dbd21a57aa676cd3125174ab8c457b9", + "treeHash": "8a89caacb21d446d044b912d98e9dc3e189e85a1366e47915a9b387689b01023", + "generatedAt": "2025-11-28T10:18:38.812732Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "owasp-compliance-checker", + "description": "Check OWASP Top 10 compliance", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "183bda9d5714aa6a9a37000517f47ea8d726c503b13ad442473bc0370d27dac3" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "afafc7389250bbeaee31e51e90e99c6ca5cdc61ca0bcf9327ca94394510f438b" + }, + { + "path": "commands/check-owasp.md", + "sha256": "26981dafecd0bda9d89082c091325c9fdc3ac197318243e952dde0b1a38f4088" + }, + { + "path": "skills/owasp-compliance-checker/SKILL.md", + "sha256": "379a7f4d18fc4e2561b1b434adb3cb7244d45dd4ca2e34d2d33e5971c7c3551e" + }, + { + "path": "skills/owasp-compliance-checker/references/README.md", + "sha256": "39198bc6054017f476e1dc97039edfc89c511a1d92bd50b258e2a18597e13b6e" + }, + { + "path": "skills/owasp-compliance-checker/scripts/README.md", + "sha256": "1415a1017c3c2a7fa88661246f184cfd9b07eca1bcbb34b13a81768b36190dad" + }, + { + "path": "skills/owasp-compliance-checker/assets/README.md", + "sha256": "6f00082adf4112816e84a53c6519881d1cdb90a9d0c3a2a40208013f209229ed" + } + ], + "dirSha256": "8a89caacb21d446d044b912d98e9dc3e189e85a1366e47915a9b387689b01023" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file diff --git a/skills/owasp-compliance-checker/SKILL.md b/skills/owasp-compliance-checker/SKILL.md new file mode 100644 index 0000000..ffc7c74 --- /dev/null +++ b/skills/owasp-compliance-checker/SKILL.md @@ -0,0 +1,55 @@ +--- +name: checking-owasp-compliance +description: | + This skill uses the owasp-compliance-checker plugin to automatically identify potential security vulnerabilities based on the OWASP Top 10 (2021) list. It helps ensure your application adheres to industry-standard security practices by providing a detailed analysis of compliance gaps and offering remediation guidance. Use this skill when you need to audit your code for OWASP compliance, identify and fix vulnerabilities, or generate a compliance report. Trigger this skill by asking to "check OWASP compliance", "scan for OWASP vulnerabilities", or using the `/owasp` shortcut. +allowed-tools: Read, Write, Edit, Grep, Glob, Bash +version: 1.0.0 +--- + +## Overview + +This skill empowers Claude to assess your project's adherence to the OWASP Top 10 (2021) security guidelines. It automates the process of identifying potential vulnerabilities related to common web application security risks, providing actionable insights to improve your application's security posture. + +## How It Works + +1. **Initiate Scan**: The skill activates the owasp-compliance-checker plugin upon request. +2. **Analyze Codebase**: The plugin scans the codebase for potential vulnerabilities related to each OWASP Top 10 category. +3. **Generate Report**: A detailed report is generated, highlighting compliance gaps and providing specific remediation guidance for each identified issue. + +## When to Use This Skill + +This skill activates when you need to: +- Evaluate your application's security posture against the OWASP Top 10 (2021). +- Identify potential vulnerabilities related to common web application security risks. +- Obtain actionable remediation guidance to address identified vulnerabilities. +- Generate a compliance report for auditing or reporting purposes. + +## Examples + +### Example 1: Identifying SQL Injection Vulnerabilities + +User request: "Check OWASP compliance for SQL injection vulnerabilities." + +The skill will: +1. Activate the owasp-compliance-checker plugin. +2. Scan the codebase for potential SQL injection vulnerabilities. +3. Generate a report highlighting any identified SQL injection vulnerabilities and providing remediation guidance. + +### Example 2: Assessing Overall OWASP Compliance + +User request: "/owasp" + +The skill will: +1. Activate the owasp-compliance-checker plugin. +2. Scan the entire codebase for vulnerabilities across all OWASP Top 10 categories. +3. Generate a comprehensive report detailing compliance gaps and remediation steps for each category. + +## Best Practices + +- **Regular Scanning**: Integrate OWASP compliance checks into your development workflow for continuous security monitoring. +- **Prioritize Remediation**: Address identified vulnerabilities based on their severity and potential impact. +- **Stay Updated**: Keep your OWASP compliance checker plugin updated to benefit from the latest vulnerability detection rules and remediation guidance. + +## Integration + +This skill can be integrated with other plugins to automate vulnerability remediation or generate comprehensive security reports. For example, it can be used in conjunction with a code modification plugin to automatically apply recommended fixes for identified vulnerabilities. \ No newline at end of file diff --git a/skills/owasp-compliance-checker/assets/README.md b/skills/owasp-compliance-checker/assets/README.md new file mode 100644 index 0000000..e1edff1 --- /dev/null +++ b/skills/owasp-compliance-checker/assets/README.md @@ -0,0 +1,7 @@ +# Assets + +Bundled resources for owasp-compliance-checker skill + +- [ ] report_template.html: HTML template for generating visually appealing compliance reports. +- [ ] example_scan_results.json: Example JSON output from a compliance scan. +- [ ] owasp_logo.png: OWASP logo for branding compliance reports. diff --git a/skills/owasp-compliance-checker/references/README.md b/skills/owasp-compliance-checker/references/README.md new file mode 100644 index 0000000..4d341f4 --- /dev/null +++ b/skills/owasp-compliance-checker/references/README.md @@ -0,0 +1,7 @@ +# References + +Bundled resources for owasp-compliance-checker skill + +- [ ] owasp_top_10_2021.md: Detailed documentation of each OWASP Top 10 vulnerability with examples and mitigation strategies. +- [ ] tool_configurations.md: Configuration guides for various security scanning tools used by the plugin. +- [ ] compliance_metrics.md: Explanation of the compliance scoring system and how it's calculated. diff --git a/skills/owasp-compliance-checker/scripts/README.md b/skills/owasp-compliance-checker/scripts/README.md new file mode 100644 index 0000000..d48419d --- /dev/null +++ b/skills/owasp-compliance-checker/scripts/README.md @@ -0,0 +1,7 @@ +# Scripts + +Bundled resources for owasp-compliance-checker skill + +- [ ] owasp_scan.sh: Script to automate OWASP compliance scanning using command-line tools. +- [ ] report_generator.py: Python script to generate detailed compliance reports in various formats (e.g., HTML, JSON). +- [ ] remediation_advisor.py: Python script that takes scan results and suggests specific remediation steps.