/viperclaw:viper-grpc-protobuf-auditfrom viperclaw
Audits gRPC and Protobuf security configurations including mTLS enforcement, unary/streaming auth interceptors, message size limits, and server reflection settings.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-grpc-protobuf-audit)protovalidate / protoc-gen-validate.tonic), Python (grpcio), Node.js, and Java.flowchart LR
Peer["gRPC Client (mTLS / TLS 1.3)"] --> Limit["MaxRecvMsgSize + No Reflection"] --> Inter["Unary + Stream Auth Interceptors"] --> Proto["protovalidate Schema Enforcement"]
viperclaw taint . --db .viperclaw/graph.db
grpc.WithInsecure(), insecure.NewCredentials(), grpc.insecure_channel, reflection.Register(, UnaryInterceptor, StreamInterceptor, MaxRecvMsgSize.grpc.WithInsecure(), insecure.NewCredentials(), and grpc.insecure_channel in production; require TLS 1.3 or SPIFFE mTLS credentials for all service-to-service channels.UnaryInterceptor for authentication while forgetting StreamInterceptor, leaving bidirectional or server-streaming RPCs unauthenticated. Always register both!protovalidate): Protobuf wire types enforce data types (int64, string) but do not validate bounds, UUID formats, or negative numbers; enforce bufbuild/protovalidate rules in the server interceptor.MaxRecvMsgSize (e.g., 4 MB), MaxSendMsgSize, and MaxConcurrentStreams to prevent memory exhaustion DoS.reflection.Register(s) and channelz in production environments so internal service definitions and method names are not publicly enumerable.// ❌ VULNERABLE: Only UnaryInterceptor registered; streaming RPCs omit auth & reflection is enabled
s := grpc.NewServer(grpc.UnaryInterceptor(authUnaryInterceptor))
reflection.Register(s)
// ✅ HARDENED: TLS credentials + both Unary and Stream auth interceptors + message size cap
s := grpc.NewServer(
grpc.Creds(tlsCreds),
grpc.MaxRecvMsgSize(4 * 1024 * 1024),
grpc.UnaryInterceptor(authUnaryInterceptor),
grpc.StreamInterceptor(authStreamInterceptor),
)
OWASP gRPC Cheat Sheet, protovalidate, CWE-306, CWE-400| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw taint . --db .viperclaw/graph.db and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
grpc-security, protobuf-audit, rpc-security, mTLS, interceptor-review
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas.Other plugins' skills for the same job