Skip to content
Back to skills

Grpc Knowledge Patch

ASecurity

gRPC

  • 25 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
developmentpythonrustgojavarubyphpapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill grpc-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grpc Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Grpc Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-grpc-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-grpc-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grpc-knowledge-patch
description: gRPC
version: null
license: MIT
metadata:
  author: Nevaberry
---


# gRPC compatibility guidance

Load this skill when updating gRPC clients, servers, dependencies, or tooling,
or checking authorization, routing, transport, and observability behavior.
Use the product and version attribution attached to each reference item.

## Reference index

| Reference | Topics |
| --- | --- |
| [Authorization, xDS, and Telemetry](references/authorization-and-xds.md) | RBAC, route headers, authority, listeners, endpoint validation, control planes, load balancing, metrics, and tracing |
| [Java Channel and Configuration APIs](references/java-channel-and-configuration.md) | Channel creation, resolvers, child channels, service configuration, Context, call events, credentials, and Binder |
| [Python APIs, Runtime, and Dependencies](references/python-apis-runtime-and-dependencies.md) | Runtime support, protobuf, package dependencies, AsyncIO, synchronous calls, credentials, and Python builds |
| [Transport Security, HTTP/2 Limits, and Tooling](references/transport-security-and-tooling.md) | TLS, trust roots, ALTS, HTTP/2, metadata, shutdown, proxies, code generation, platform tooling, Objective-C, Ruby, and PHP |

## Breaking changes and deprecations

### Runtime and platform requirements

- gRPC Python 1.81.2 drops support for Python 3.9.
- gRPC Ruby 1.81.2 drops support for Ruby 3.1.
- gRPC-Java 1.84.0 requires Android API level 24 (Android 7.0 Nougat) or later.
- gRPC-Java's `Context` now targets JDK 8 and adds an overload accepting a `Supplier`.
- gRPC Core 1.85.0 adds OpenSSL 4 support and drops OpenSSL 1.0.2 support.

### Python package dependencies

gRPC Python 1.86.0 removes `setuptools` from the declared install dependencies
of `grpcio-tools` and `grpcio-observability`. gRPC Python 1.85.0 removes the
Cython version pin for source builds.

gRPC Python 1.83.0 allows protobuf 6.x for `grpcio-status`. The release also
lists a Python protobuf minimum increase from `6.33.5` to `7.35.1` with
unspecified package scope. The `grpcio-status` package in gRPC Python 1.81.2
accepts protobuf 7.x.

### Metrics replacement and Binder deprecation

gRPC-Go 1.84.0 removes `grpc.lb.pick_first.*` metrics and replaces them with
the `grpc.subchannel.*` instruments specified by gRFC A94.

gRPC-Java 1.85.0 adds a `SecurityPolicies.hasPermissions` overload taking an
Android `Context`. The overload taking a `PackageManager` is deprecated.

### Required interfaces and invalid inputs

In gRPC Python, `abort_with_status` is now part of the abstract
`grpc.aio.ServicerContext` interface. Custom implementations that subclass it
should provide the method.

gRPC Python 1.86.0 raises `ValueError` when a credential factory receives
`None` for a required credential argument.

gRPC-Go fails an RPC with `codes.Internal` if per-RPC credentials,
`balancer.PickResult.Metadata`, or a resolver address provide invalid
metadata keys or values.

### Java retry throttling validation

gRPC-Java reports a configuration error if `retryThrottling` omits
`maxTokens` or `tokenRatio`.

```json
{
  "retryThrottling": {
    "maxTokens": 10,
    "tokenRatio": 0.1
  }
}
```

## Transport and authorization behavior

### Go control-buffer throttling

gRPC-Go now counts only peer-induced control frames toward
`GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT`, whose default rises
from 100 to 10,000. The transport closes client connections if reads stay
throttled for 10 seconds.

The transport reference also preserves the earlier server frame flood limit
and its environment variable override.

### Go RBAC header and principal validation

gRPC-Go xDS RBAC rejects `:scheme` and `grpc-`-prefixed header matchers
regardless of letter case, including inside nested `Principal` and
`Permission` rules. Mixed-case names such as `X-Role` match `x-role`.
Matchers for `host`, including `Host`, match `:authority`; that mapping also
applies inside nested `Principal` and `Permission` rules.

gRPC-Go now evaluates the `Metadata` and `RequestedServerName` permission
matcher fields. Earlier versions ignored them in DENY rules, which could
cause the rules to fail open.

gRPC-Go accepts the deprecated `source_ip` principal as equivalent to
`direct_remote_ip`. It rejects an RBAC `CidrRange` whose `prefix_len` is unset.
Set `prefix_len` explicitly, including for a zero-length prefix.

### Route header matching

gRPC-Go supports `contains_match` on xDS route header matchers:

```yaml
headers:
  - name: x-release
    contains_match: canary
```

gRPC-Go handles empty `exact_match` strings and rejects routes with empty
`prefix_match` or `suffix_match` strings. Route header matchers match
mixed-case names such as `X-Request-ID` against lowercase HTTP/2 names.

### TLS defaults and verification

gRPC Core enables post-quantum cryptography by default for TLS key exchange.
gRPC-Java's S2A transport defaults to a post-quantum key exchange group.
gRPC Core 1.85.0 adds ML-KEM-1024 as a TLS key exchange option.
gRPC Core 1.86.0 switches its bundled TLS trust roots to the Chromium root set.

gRPC-Java 1.85.0 honors the endpoint identification algorithm configured on
a Netty client's TLS context. An explicit empty string disables hostname
verification. A `null` algorithm falls back to `HTTPS`.

### xDS resource validation

gRPC-Java rejects EDS updates containing duplicate endpoint addresses and
fails the CDS cluster if its EDS update contains no usable endpoints.
It processes an xDS resource update only if it arrives on an ADS stream
from the control plane responsible for the resource.

gRPC Core 1.86.0 checks that each xDS resource update comes from the
control-plane server responsible for that resource.

## Channel configuration and load balancing

### Java resolver and child channel APIs

The gRPC-Java `Grpc.newChannelBuilder` overload accepting a
`NameResolverRegistry` controls name resolution independently of the global
registry. RFC 3986 URI parsing is enabled by default.

Use `ChildChannelConfigurer` to customize child channels created dynamically
by load balancers, for example by adding interceptors or changing credentials.
Repeated `childChannelConfigurator()` calls on `ManagedChannelImplBuilder`
or `XdsServerBuilder` register multiple configurators; the builder preserves
and runs them all when it creates child channels.

gRPC-Java's `defaultServiceConfig()` accepts Java `Number` values and
normalizes them to `Double`, including an `Integer` `maxAttempts` of `4`.

### Load balancing and Core channel options

gRPC-Java now uses Pick First Leaf for `pick_first`, implementing the
pick-first improvements in gRFC A62 and dual-stack Happy Eyeballs in gRFC A61.

gRPC Core removes the environment variable opt-in for custom backend metrics
in weighted round robin and enables the service config fields for subchannel
connection scaling.

gRPC Core 1.85.0 supports passing options to child channels under gRFC A110.
gRPC Core 1.86.0 adds a channel factory for sidechannel communication in
deployments without xDS.

## Observability and metadata APIs

gRPC-Java enables ORCA-to-LRS propagation by default. The xDS configuration
selects which ORCA backend metric fields appear in LRS load reports under
gRFC A85. For aggregate clusters, the backend service label identifies the
leaf cluster.

The Java OpenTelemetry plugin records `grpc.client.attempt.delay.duration`
and emits `Attempt Delay` child spans for attempts delayed during load balancing,
including `pick_first`, `round_robin`, RLS, and xDS. Custom policies can report
delay type and reason with `LoadBalancer.PickResult.withNoResult(delayType, delayReason)`;
`ClientStreamTracer` exposes delay callbacks.

In gRPC-Go 1.85.0, client `stats.OutHeader` events expose the effective
authority sent in `:authority`. Use `metadata.ValueFromOutgoingContext`
to read one outgoing metadata key without copying the entire map:

```go
values := metadata.ValueFromOutgoingContext(ctx, "x-request-id")
```

## Python runtime and code generation

gRPC Python supports registered methods in AsyncIO and removes a `UsageError`
raised by the registered-method path. Deleting the last value for a key in
`grpc.aio.Metadata` removes the key from the container.
gRPC Python 1.81.2 adds observability support for `grpc.aio` RPCs.

In gRPC Python 1.85.0, `SyncServicerContext.abort()` raises an exception to
terminate the handler. gRPC Python 1.85.3 and 1.86.0 fix a process deadlock
during synchronous channel close while a gRPC background thread runs a Python
callback, such as a call credentials plugin.

gRPC Python 1.84.0 publishes Python 3.15 wheels. Python 3.15 is also supported
in Bazel builds with `rules_python` 2.0.2.

The gRPC-Java compiler plugin supports `EDITION_2026` when built against
Protobuf 7.35.0 (v35.0) or later. In gRPC-Java 1.85.0, `java_grpc_library`
and `java_lite_grpc_library` use the same `protoc` binary and options as
`java_proto_library`, selected through Protobuf's `proto_lang_toolchain`.

Files in this skill

  • SKILL.md10.8 KB
  • coverage.json742 B
  • references/authorization-and-xds.md3.1 KB
  • references/java-channel-and-configuration.md2.2 KB
  • references/python-apis-runtime-and-dependencies.md2 KB
  • references/transport-security-and-tooling.md2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.