BERRY9 IT SERVICES

gRPC & Internal Microservices Penetration Testing Checklist

How to penetration test gRPC services and microservice architectures: protobuf reflection, missing mTLS, JWT propagation, and service-to-service BOLA.

API Security · By Thimmagurudu Bathini, CTO · Published · 6 min read

gRPC & Internal Microservices Penetration Testing Checklist architecture and testing overview

Where Internal Service Meshes Lose Authorization

Modern SaaS backends increasingly expose gRPC and internal microservice meshes behind an API gateway. While external attackers hit the gateway, compromised edge services or misconfigured ingress rules can expose raw protobuf endpoints lacking per-method authorization.

# Enumerate exposed gRPC services if reflection is left on in prod
grpcurl -plaintext api-internal.example:50051 list
# Production services should disable reflection or require mTLS client certs

gRPC Reflection, mTLS & Header Trust Risks

gRPC and microservice security test areas
LayerCommon GapTest Check
gRPC ReflectionServer reflection enabled in production exposes full .proto schemaQuery ServerReflectionInfo to enumerate services and message types
Service-to-Service AuthInternal services trust x-user-id headers without verifying JWT/mTLSForge internal identity headers or bypass API gateway
Protobuf InputsMissing bounds checks or unexpected enum/oneof valuesFuzz protobuf fields for business logic and injection flaws
Metadata & TLSPlaintext internal gRPC or weak deadline/size limitsVerify mTLS enforcement and max message size caps

Testing Protobuf Endpoints With Gray-Box Specs

  • Disable gRPC server reflection in production or restrict it strictly to internal diagnostic networks.
  • Supply .proto definitions during gray-box API testing so engineers inspect every RPC method and field.
  • Verify that downstream microservices validate signed JWTs or mTLS client certificates rather than trusting raw gateway headers.
  • Test streaming RPCs for resource exhaustion and missing per-stream authorization.

Enforcing Zero-Trust Auth Between Services

Provide .proto schemas and gateway architecture diagrams at kickoff so testers can audit both the public API gateway and internal RPC trust boundaries.

Scope your gRPC and microservice APIs for manual testing from ₹36,000 + 18% GST. Request a scoped proposal →

gRPC & Microservices Pentest Questions

Can BERRY9 test gRPC APIs if we share .proto files?

Yes—gray-box API testing with .proto or OpenAPI specs gives far deeper coverage than blind probing.

What does API security testing start at?

Standalone API and microservice penetration testing starts from ₹36,000 + 18% GST (₹42,480 total).