drupal-security-review SKILL.md skillA

drupal-security-review from siva01c/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add siva01c/claude-plugins/drupal-security-review@git:20260312.bfb9278

Pins git:20260312.bfb9278 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
siva01c/claude-plugins
Path
drupal-dev-tools/skills/drupal-security-review/SKILL.md
Versions recorded
1
Latest version
git:20260312.bfb9278, committed Mar 12, 2026
Size
1,345 bytes
Repository stars
16
License
MIT

Use when auditing Drupal 11 custom modules/themes for security issues such as unsafe input handling, XSS risks, SQL injection, and access control gaps.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Drupal Security Review Skill

## Purpose
Use this skill to perform focused security reviews for Drupal 11 custom modules and themes.

## When to apply
- Reviewing pull requests before merge.
- Auditing custom code for common web vulnerabilities.
- Preparing release readiness checks.

## Review checklist
1. **Input handling**: Validate and sanitize all external input.
2. **Output escaping**: Escape output in Twig and PHP render logic.
3. **Database safety**: Use query builder or placeholders in all SQL operations.
4. **Access control**: Confirm route, entity, and operation permissions are enforced.
5. **Secrets and config**: Ensure credentials are never committed and sensitive config is protected.

## Common anti-patterns to flag
- Direct SQL string concatenation with user data.
- Unescaped raw markup in render arrays.
- Trusting `$_GET`, `$_POST`, or request payloads without validation.
- Debug leftovers (`var_dump`, `kint`, `dpm`) in production paths.

## Useful validation commands
```bash
rg "(var_dump|dpm\(|kint\()" web/modules/custom web/themes/custom
rg "\$_(GET|POST|REQUEST)" web/modules/custom web/themes/custom
```

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add siva01c/claude-plugins/drupal-security-review@sha256:44f06090084a1f53

The line at the top of this page pins the label git:20260312.bfb9278, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4bf3mes2lpfxpxal.svg)](https://markdownregistry.com/a/art_4bf3mes2lpfxpxal)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Mar 12, 2026.

versioncommittedcommitsizeaudit
git:20260312.bfb9278 latest2026-03-12 bfb9278 1,345 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1345 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

siva01c/claude-plugins · 16 stars · license MIT · pushed 2026-09-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4bf3mes2lpfxpxal
GET https://markdownregistry.com/api/v1/resolve?ref=siva01c/claude-plugins/drupal-security-review
GET https://markdownregistry.com/api/v1/blob/44f06090084a1f53eb8daaf28358d3e8f38a2868c27f56b921f3ad5de2a71899

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from siva01c/claude-plugins

github-actions SKILL.md skill
siva01c/claude-plugins · cicd-tools/skills/github-actions/SKILL.md · Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this…
git:20260612.89eb1c8 · audit A · 16 stars
gitlab-ci SKILL.md skill
siva01c/claude-plugins · cicd-tools/skills/gitlab-ci/SKILL.md · Use this skill when authoring or debugging GitLab CI/CD pipelines (.gitlab-ci.yml) — e.g. "add a CI pipeline for this…
git:20260612.89eb1c8 · audit A · 16 stars
drupal-ddev-operations SKILL.md skill
siva01c/claude-plugins · ddev-tools/skills/drupal-ddev-operations/SKILL.md · Use for operational Drupal 11 workflows in DDEV environments, including safe updates, backup-first procedures, and…
git:20260612.89eb1c8 · audit A · 16 stars
docker-compose SKILL.md skill
siva01c/claude-plugins · docker-tools/skills/docker-compose/SKILL.md · Use this skill when authoring or editing Docker Compose files (compose.yaml / docker-compose.yml), running…
git:20260612.89eb1c8 · audit A · 16 stars
docker-model SKILL.md skill
siva01c/claude-plugins · docker-tools/skills/docker-model/SKILL.md · Use this skill when running local AI models with Docker Model Runner — the `docker model` CLI — e.g. "run an LLM…
git:20260612.89eb1c8 · audit B · 16 stars
drupal-module-development SKILL.md skill
siva01c/claude-plugins · drupal-dev-tools/skills/drupal-module-development/SKILL.md · Use when creating or extending Drupal 11 custom modules, including scaffolding, service architecture, and dependency…
git:20260612.89eb1c8 · audit A · 16 stars
git-worktree SKILL.md skill
siva01c/claude-plugins · git-tools/skills/git-worktree/SKILL.md · Use this skill whenever a task involves running parallel work on a git repository without conflicts — e.g. "fix this…
git:20260612.89eb1c8 · audit A · 16 stars
dry SKILL.md skill
siva01c/claude-plugins · quality-tools/skills/dry/SKILL.md · DRY (Don't Repeat Yourself) review rules for code reviews: find the same knowledge — a rule, a constant, a parser, a…
git:20260926.287ec94 · audit A · 16 stars
solid SKILL.md skill
siva01c/claude-plugins · quality-tools/skills/solid/SKILL.md · SOLID design review rules (SRP, OCP, LSP, ISP, DIP) for code reviews: what counts as a real design finding, what is…
git:20260926.287ec94 · audit A · 16 stars
owasp-asvs SKILL.md skill
siva01c/claude-plugins · security-tools/skills/owasp-asvs/SKILL.md · OWASP ASVS v5.0 security verification skill with Drupal 11 mappings. Use when performing security code reviews…
git:20260612.89eb1c8 · audit A · 16 stars
deploy-workflow SKILL.md skill
siva01c/claude-plugins · workflow-tools/skills/deploy-workflow/SKILL.md · Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer…
git:20260710.f6f3974 · audit A · 16 stars
feature-workflow SKILL.md skill
siva01c/claude-plugins · workflow-tools/skills/feature-workflow/SKILL.md · Phased workflow for delivering a Drupal feature or non-trivial change: plan, implement, review, test, finalize. Use…
git:20260710.f6f3974 · audit A · 16 stars

Every file in siva01c/claude-plugins

Browse by kind, by grade A, or by owner.