github-actions
Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this Drupal project on GitHub", "run…
OWASP ASVS v5.0 security verification skill with Drupal 11 mappings. Use when performing security code reviews, implementing security requirements, or verifying security compliance in Drupal projects.
$ npx -y skills add siva01c/claude-plugins --skill owasp-asvs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/owasp-asvsContext preview
The summary Claude sees to decide when to auto-load this skill.
OWASP ASVS v5.0 security verification skill with Drupal 11 mappings. Use when performing security code reviews, implementing security requirements, or verifying security compliance in Drupal projects.
name: owasp-asvs description: OWASP ASVS v5.0 security verification skill with Drupal 11 mappings. Use when performing security code reviews, implementing security requirements, or verifying security compliance in Drupal projects.
Reference: OWASP ASVS v5.0.0 — cross-reference IDs against https://github.com/OWASP/ASVS for the authoritative source.
---
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V1.1.1 | Output encoding for HTTP/HTML context | Twig auto-escape or `#plain_text` | | V1.1.2 | Dynamic URL building with encoding | `Url::fromRoute()`, never string concat | | V1.1.3 | JavaScript/JSON encoding | `Json::encode()` before output | | V1.1.4 | **SQL injection prevention** | **Parameterized queries only** | | V1.1.5 | OS command injection prevention | Avoid `shell_exec`, `exec`, `system` | | V1.1.6 | LDAP injection prevention | Use parameterized LDAP queries | | V1.1.7 | Regex metacharacter escaping | `preg_quote()` on user input | | V1.2.1 | HTML sanitization | `Xss::filter()` or `Xss::filterAdmin()` | | V1.2.2 | No `eval()` with user input | Avoid `eval()`, use `Json::decode()` | | V1.2.3 | SSRF prevention | Validate URLs against explicit allowlist |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V2.1.1 | Input validation at server | Validate all user input server-side | | V2.1.2 | Server-side validation only | Never trust client-only validation | | V2.2.1 | Positive validation (allowlist) | Use `\Drupal\Component\Utility\Html::escape()` for plain text | | V2.3.1 | **Anti-automation / rate limiting** | Flood control or custom rate limit service |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V3.1.1 | Cookie Secure attribute | `ini_set('session.cookie_secure', TRUE)` | | V3.1.2 | Cookie SameSite attribute | `session.cookie_samesite = Lax` in `settings.php` | | V3.1.3 | Cookie HttpOnly | `session.cookie_httponly = TRUE` | | V3.2.1 | **HSTS header** | `Strict-Transport-Security` response header | | V3.2.2 | **CORS allowlist** | **Validate Origin; never use wildcard** | | V3.2.3 | CSP header | `Content-Security-Policy` response header | | V3.2.4 | X-Content-Type-Options | `nosniff` | | V3.2.5 | Referrer-Policy | Set appropriate policy | | V3.2.6 | frame-ancestors | Prevent clickjacking via CSP or `X-Frame-Options` | | V3.3.1 | **CSRF protection** | Form API tokens (automatic) or `CsrfTokenGenerator` for custom endpoints |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V4.1.1 | Content-Type header | Set correct `Content-Type` on all responses | | V4.1.2 | HTTP method restrictions | `routing.yml` `methods:` key | | V4.1.3 | HTTP request smuggling | Proper header parsing; avoid custom HTTP parsing | | V4.2.1 | Authentication on every API endpoint | `_permission` or `_custom_access` in routing |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V5.1.1 | File size limits | `upload_max_filesize`, managed file field limits | | V5.1.2 | File type validation | `file_validate_extensions()` + MIME check | | V5.2.1 | No file execution | Never serve uploads from a web-accessible path as PHP | | V5.2.2 | Path traversal prevention | Use `FileSystem::realpath()`, validate against allowed dirs |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V6.1.1 | Password minimum length | Minimum 12 chars (Drupal default: 8 — raise it) | | V6.1.2 | Breached password check | Integrate HaveIBeenPwned API or `password_policy` module | | V6.1.3 | No restrictive composition rules | Allow all printable characters | | V6.1.4 | Long password support | Allow 64+ characters | | V6.2.1 | Multi-factor authentication | `tfa` module or SAML/OIDC with MFA | | V6.3.1 | **Secrets from secure source** | `getenv()` or Key module — never `config.get()` | | V6.3.2 | No production secret fallback | Throw exception if secret missing in prod |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V7.1.1 | Session identifier length | Minimum 128 bits of entropy | | V7.1.2 | Session identifier randomness | Cryptographically random (Drupal core handles this) | | V7.1.3 | Session inactivity timeout | Configure in `settings.php` | | V7.1.4 | Session termination on logout | `session_destroy()` via `AccountInterface::logout()` | | V7.2.1 | New session on privilege change | `\Drupal::service('session')->migrate()` on role change | | V7.2.2 | Session token not in URLs | Ensure `session.use_only_cookies = TRUE` |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V8.1.1 | Least privilege | Grant minimal roles/permissions | | V8.1.2 | Role-based access control | `user.permissions` + `AccessResult` | | V8.1.3 | Access control on every request | `_permission`, `_entity_access`, or `_custom_access` | | V8.2.1 | No user/role enumeration | Return identical responses for missing vs forbidden | | V8.2.2 | Sensitive data access logging | Watchdog or event subscriber | | V8.3.1 | Object-level authorization | Check entity ownership, not just route access |
| ID | Requirement | Drupal Validation | |----|-------------|-------------------| | V9.1.1 | TLS required for all traffic | Enforce HTTPS; redirect HTTP → HTTPS | | V9.1.2 | TLS certificate validity | Valid cert, no self-signed in production | | V9.1.3 | TLS 1.2+ only | Disable TLS 1.0/1.1 at server level | | V
A curated collection of Claude Code plugins for Drupal development, security, and deployment. Each plugin covers one topic — Drupal itself, DDEV, Docker, CI/CD, git workflows, and security verification — so you install only what you need.
Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this Drupal project on GitHub", "run…
Use this skill when authoring or debugging GitLab CI/CD pipelines (.gitlab-ci.yml) — e.g. "add a CI pipeline for this Drupal project", "run…
Use for operational Drupal 11 workflows in DDEV environments, including safe updates, backup-first procedures, and troubleshooting commands.
Use this skill when authoring or editing Docker Compose files (compose.yaml / docker-compose.yml), running multi-container stacks, or containerizing a…
Use this skill when running local AI models with Docker Model Runner — the `docker model` CLI — e.g. "run an LLM locally with Docker", "pull a model from the…
Use when creating or extending Drupal 11 custom modules, including scaffolding, service architecture, and dependency injection best practices.