MCP HubMCP Hub
スキル一覧に戻る

scanning-input-validation-practices

jeremylongshore
更新日 Today
54 閲覧
712
74
712
GitHubで表示
テストgeneral

について

このスキルは、SQLインジェクションやXSSなどの入力検証の脆弱性やインジェクションリスクをコードベースからスキャンします。データフローとサニタイズ手法を分析することで、開発者がユーザー入力処理を監査するのに役立ちます。セキュリティレビュー時やデプロイ前に使用して、潜在的な悪用の可能性を特定してください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git クローン代替
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/scanning-input-validation-practices

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Overview

This skill automates the process of identifying potential input validation flaws within a codebase. By analyzing how user-provided data is handled, it helps developers proactively address security vulnerabilities before they can be exploited. This skill streamlines security audits and improves the overall security posture of applications.

How It Works

  1. Initiate Scan: The user requests an input validation scan, triggering the skill.
  2. Code Analysis: The skill uses the input-validation-scanner plugin to analyze the specified codebase or file.
  3. Vulnerability Identification: The plugin identifies instances where input validation may be missing or insufficient.
  4. Report Generation: The skill presents a report highlighting potential vulnerabilities and their locations in the code.

When to Use This Skill

This skill activates when you need to:

  • Audit a codebase for input validation vulnerabilities.
  • Review newly written code for potential XSS or SQL injection flaws.
  • Harden an application against common web security exploits.
  • Ensure compliance with security best practices related to input handling.

Examples

Example 1: Identifying XSS Vulnerabilities

User request: "Scan the user profile module for potential XSS vulnerabilities."

The skill will:

  1. Activate the input-validation-scanner plugin on the specified module.
  2. Generate a report highlighting areas where user input is directly rendered without proper sanitization, indicating potential XSS vulnerabilities.

Example 2: Checking for SQL Injection Risks

User request: "Check the database access layer for potential SQL injection risks."

The skill will:

  1. Use the input-validation-scanner plugin to examine the database access code.
  2. Identify instances where user input is used directly in SQL queries without proper parameterization or escaping, indicating potential SQL injection vulnerabilities.

Best Practices

  • Regular Scanning: Integrate input validation scanning into your regular development workflow.
  • Contextual Analysis: Always review the identified vulnerabilities in context to determine their actual impact and severity.
  • Comprehensive Validation: Ensure that all user-supplied data is validated, including data from forms, APIs, and external sources.

Integration

This skill can be used in conjunction with other security-related skills to provide a more comprehensive security assessment. For example, it can be combined with a static analysis skill to identify other types of vulnerabilities or with a dependency scanning skill to identify vulnerable third-party libraries.

Prerequisites

  • Access to codebase and configuration files in {baseDir}/
  • Security scanning tools installed as needed
  • Understanding of security standards and best practices
  • Permissions for security analysis operations

Instructions

  1. Identify security scan scope and targets
  2. Configure scanning parameters and thresholds
  3. Execute security analysis systematically
  4. Analyze findings for vulnerabilities and compliance gaps
  5. Prioritize issues by severity and impact
  6. Generate detailed security report with remediation steps

Output

  • Security scan results with vulnerability details
  • Compliance status reports by standard
  • Prioritized list of security issues by severity
  • Remediation recommendations with code examples
  • Executive summary for stakeholders

Error Handling

If security scanning fails:

  • Verify tool installation and configuration
  • Check file and directory permissions
  • Validate scan target paths
  • Review tool-specific error messages
  • Ensure network access for dependency checks

Resources

  • Security standard documentation (OWASP, CWE, CVE)
  • Compliance framework guidelines (GDPR, HIPAA, PCI-DSS)
  • Security scanning tool documentation
  • Vulnerability remediation best practices

GitHub リポジトリ

jeremylongshore/claude-code-plugins-plus
パス: plugins/security/input-validation-scanner/skills/input-validation-scanner
aiautomationclaude-codedevopsmarketplacemcp

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る