security

security is a command for Claude Code from Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace. It costs 19 tokens per session (860 once invoked), scanned A, original, MIT.

A security scanner for Dapr projects. It checks component and runtime configuration files for exposed secrets, missing access controls, disabled encryption, and other configuration risks.

In plain words
What is it for?
Use it to scan Dapr component YAML files and related configuration, then review a report grouped by severity. Checks include plain-text passwords or tokens, secret-store scope, mTLS, access policies, retries, timeouts, and tracing.
Why use it?
It helps find problems that could expose credentials, allow unwanted access, or make service failures harder to handle before deployment.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /dapr:security --path ./services/order-service.

Part of the dapr plugin — 9 skills, 14 commands, 8 agents shipped together

Good fit Use it to scan Dapr component YAML files and related configuration, then review a report grouped by severity. Checks include plain-text passwords or tokens, secret-store scope, mTLS, access policies, retries, timeouts, and tracing.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace
agentmods
npx agentmods add commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security

Made for: Claude Code.

Or install dapr, the plugin that ships this one along with the rest of its 9 skills, 14 commands, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security

README.md
[![agentmods](https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security/github.svg)](https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security)
Your own site
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security

Your own site · 80×15
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00860
Opus 5 $0.00010 $0.00430
Sonnet 5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

Measured 12d ago against content hash 4f3988198278, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dapr/commands/security.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DAPR Security Scanner

Scan your DAPR project for security issues and best practice violations.

Behavior

When the user runs /dapr:security:

  1. Locate Configuration Files

    • Find all component YAML files in components/
    • Find dapr.yaml if present
    • Find any Configuration or Resiliency resources
  2. Run Security Checks

    Critical Checks (Fail deployment)

    • Plain-text secrets in component files
    • Hardcoded connection strings with passwords
    • API keys or tokens in plain text
    • Missing secretKeyRef for sensitive fields

    High Severity Checks

    • Secret stores without scope restrictions
    • mTLS disabled in production config
    • No access control policies defined
    • Missing resiliency policies for external services

    Medium Severity Checks

    • Components without scope restrictions
    • Using connection strings instead of managed identity
    • Missing circuit breakers for service invocation
    • No timeout policies defined

    Low Severity Checks

    • Missing metadata fields
    • Non-optimal retry configurations
    • Missing tracing configuration
  3. Generate Report

    DAPR Security Scan Results
    ==========================
    
    Files Scanned: 5
    
    CRITICAL Issues (1):
    ✗ components/statestore.yaml:15
      Plain-text password in 'redisPassword'
      → Use secretKeyRef instead of value
    
    HIGH Issues (0): None
    
    MEDIUM Issues (2):
    ⚠ components/pubsub.yaml
      No scope restrictions defined
      → Add scopes to limit access
    
    ⚠ dapr.yaml
      No resiliency policy referenced
      → Create resiliency.yaml for production
    
    LOW Issues (1):
    ○ components/secretstore.yaml
      Using connectionString instead of managed identity
      → Consider azureClientId for managed identity auth
    
    Summary: 1 critical, 0 high, 2 medium, 1 low
    Status: FAILED (critical issues found)
    
  4. Suggest Fixes For each issue, provide:

    • The problematic configuration
    • The recommended fix
    • Code snippet showing the correction

Read the full file on GitHub · 150 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 150 lines · 19 tokens per session scan A 4f3988198278

Subscribe to this mod's changes

security is a command published in the GitHub repository Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace (4 stars, last pushed 8mo ago), licensed MIT. It adds 19 tokens to every session and 860 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.