semgrep
Skill by siva01c
Semgrep as the deterministic SAST layer under a Drupal security review: run it on custom modules and themes (local semgrep or `docker run semgrep/semgrep`, no global install), with the registry packs p/php, p/owasp-top-ten and p/secrets plus custom Drupal rules (SQL injection in query()/db_query(), XSS through #markup and Markup::create(), superglobals, static \Drupal:: calls in DI classes, debug leftovers, routes without access checks), read the JSON output and triage every finding to true positive / false positive / needs context with its OWASP ASVS requirement. Use on "run semgrep", "SAST scan", "static security scan of custom code", before or during a Drupal security review, or when a workflow asks for the optional Semgrep step.
Install semgrep
Built from the published package, never by AI.
git clone --depth 1 https://github.com/siva01c/claude-plugins /tmp/claude-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/claude-plugins/security-tools/skills/semgrep ~/.claude/skills/semgrepRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/siva01c/claude-plugins /tmp/claude-plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-plugins/security-tools/skills/semgrep ~/.gemini/antigravity-cli/skills/semgrepAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
Alternatives to semgrep
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
semgrep: common questions
How do I install semgrep?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is semgrep free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is semgrep safe to use?
It scores 49 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to semgrep?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
