Limiting Hyperledger Besu JSON-RPC API groups on validators and RPC nodes
Each Besu node should expose only the JSON-RPC API groups its role needs, and administrative groups such as PERM, QBFT and ADMIN belong on controlled operator paths, not on the endpoints applications use. In a permissioned network, applications, operators and validators often reach the same node APIs by default, so a single misconfigured listener can let an application change the node allowlist or the validator set. Teams should settle this before go-live, when the node configuration is still being written, and again before any application team integrates, because integrations tend to copy whatever endpoint they were given. The Besu documentation describes the two mechanisms used here: JSON-RPC authentication, and a list of methods that may be called without credentials when authentication is enabled.
The work starts with a role inventory. For each validator, RPC node and bootnode, list the API groups that are enabled with --rpc-http-api and --rpc-ws-api, then compare that list with the consumers that reach each port. Validators usually need little or no application-facing API, and the PERM and QBFT groups should be reachable only from operator hosts on a private network segment. Application-facing RPC nodes should expose the read and transaction methods their workloads use and nothing more. Confirm with your Besu version which group names are currently available, because the API surface has changed across releases; for example, the privacy groups were removed in 2025, so older configuration files may reference options that no longer exist.
The no-auth list deserves the same scrutiny. With authentication enabled, --rpc-http-api-methods-no-auth and --rpc-ws-api-methods-no-auth name methods that can be called without credentials, so every entry widens what an unauthenticated caller can reach. Keep the list as short as your health checks allow, and record who approved each method. Besu does not terminate HTTPS natively, so the authenticated and unauthenticated listeners should sit behind a network layer that provides SSL termination, with the administrative ports blocked at that layer as well as in Besu. Verify the result by calling a restricted method from an application host and confirming it is refused.
Which API group settings fit which node role
This table compares four Besu node roles: validators, internal RPC nodes, application-facing RPC nodes, and operator bastions. For each role it shows which API group exposure fits, how callers should authenticate, and whether no-auth methods apply. Read it as a starting baseline, then confirm each setting against your Besu version's documentation before go-live.
| Node role | API group exposure | Authentication approach | No-auth methods |
|---|---|---|---|
| Validator node | Keep HTTP and WebSocket RPC off or bound to a management network. Expose no PERM, QBFT or ADMIN groups to any caller other than operators. | Restrict access at the network layer. If RPC is enabled, use a credentials file or JWT validation with an RS256, RS384, RS512, ES256, ES384 or ES512 public key. | Avoid. Use --rpc-http-api-methods-no-auth or --rpc-ws-api-methods-no-auth only after confirming each listed method is safe for unauthenticated callers. |
| Internal RPC node | Expose only the groups that internal tooling, monitoring and indexers need. Keep PERM, QBFT and ADMIN off this node unless a named operator process requires them. | Username and password credentials file for service accounts, or JWTs issued by your identity provider and validated against its public key. | Limit to read-only methods that monitoring checks need. Confirm each method name against the Besu docs for your release. |
| Application-facing RPC node | Expose only the application-facing groups the product calls, such as ETH and NET. Keep all administrative groups, including PERM, QBFT and ADMIN, off this node. | JWT validation against a public key is the stronger fit for user-facing or application traffic. Besu does not terminate HTTPS, so place the node behind a layer that provides SSL termination. | Keep the list empty by default. Add methods only after an explicit review, because any listed method is callable without a token. |
| Operator or admin bastion | Expose administrative groups such as PERM, QBFT and ADMIN only from this host, and only to named operator identities. | Credentials file or JWT with short, operator-issued tokens. Confirm your identity provider's token lifetime and rotation policy with your security team. | Do not use. Every administrative method should require authentication. |
Setting up API group limits on a Besu node
This sequence turns a default Besu node into one that exposes only the JSON-RPC groups its role needs, requires authentication for those calls, and refuses administrative methods to application traffic.
Inventory which clients call which methods
Before changing any setting, list every caller of each node: wallets, back-end services, indexers, monitoring agents, operator scripts and any peer tooling. For each caller, record the JSON-RPC methods it uses and the namespace those methods belong to, such as ETH, NET, WEB3, TXPOOL or DEBUG. The output is a table mapping callers to method groups, and any caller you cannot map becomes an open question to resolve with its owner before the node is restricted. Ask application teams to confirm from their own code or logs, not from memory.
Assign each node a role
Classify every node as a validator, a non-validator RPC node serving applications, a bootnode or an operator-only node. Validators should serve as few external API groups as possible, and administrative groups such as PERM, QBFT and ADMIN belong on operator-only paths. Record the role in the change ticket alongside the callers from the previous step. The check is that each node has exactly one role and that no application caller is mapped to a validator that should not serve it.
Set the enabled HTTP and WebSocket API groups
Using the role table, set the groups each node exposes on its HTTP and WebSocket endpoints in the Besu configuration file, with the
rpc-http-apiandrpc-ws-apikeys, and enable the endpoints only where a caller needs them. Remove PERM, QBFT, ADMIN and any group no mapped caller uses. Restart the node in a test environment, then confirm the groups in effect with arpc_modulesrequest from the operator network. The check is that the reported modules match the role table exactly.Enable JSON-RPC authentication
Turn on JSON-RPC authentication and choose the mechanism your identity team can operate: a username and password credentials file, or JWTs issued by an external identity provider and validated against a public key using one of the supported RS or ES algorithms. Store the credentials file or public key with restrictive file permissions, and document who rotates them. The check is that an unauthenticated request to a protected method is rejected by the node, while an authenticated request from an approved caller succeeds.
Allow no-auth methods only where justified
Some methods can be listed as callable without authentication through the
rpc-http-api-methods-no-authorrpc-ws-api-methods-no-authoptions. Add an entry only when a documented caller needs it without credentials, and record the justification and owner for each one. Treat any administrative method as ineligible. The check is that the no-auth list is short, reviewed and matches the justification record, and that every method on it is also in the enabled groups from the earlier step.Put TLS termination in front of the node
Besu does not terminate HTTPS itself, and its documentation recommends production deployments sit behind a network layer that provides SSL termination. Place a reverse proxy, load balancer or gateway that you operate in front of each exposed endpoint, bind the node's RPC ports to a private interface, and restrict which networks can reach the proxy. Confirm with your security team which certificate authority, cipher policy and renewal process apply. The check is that the node's RPC port is unreachable from outside the intended network and that clients reach the endpoint only over TLS.
Verify that administrative methods are refused
From the application network segment, send requests to the public endpoint that call administrative methods such as PERM, QBFT and ADMIN namespaces, and requests to protected methods without credentials. Each should return an error, and the node logs should record the rejection. Then repeat the test from an operator network with valid credentials to confirm that approved administrative work still functions. Keep the request set and results as evidence for the change record, and rerun the set after every Besu upgrade, since method names and groups can change between releases.
How node roles and trust boundaries separate API traffic
The diagram starts with application clients and operators on the left. Application traffic reaches an SSL-terminating layer you run in front of the RPC nodes, which expose only the application-facing API groups. Validators sit inside the internal network with no public path, and administrative groups such as PERM, QBFT and ADMIN travel only from the operator network to the node that needs them. When you review it, check that authentication is enforced at each hand-off and that no administrative group is reachable from the application path.
Application, operator and validator paths, with the groups and authentication each one carries.
Security risks when administrative API groups reach application nodes
Each JSON-RPC API group an node exposes is a path into the node's state and configuration. The cards below cover the risks that appear when administrative groups, unauthenticated methods, plaintext transport and credentials reach nodes that application traffic can touch.
Administrative methods reachable from application networks
Groups such as PERM, QBFT and ADMIN change how a node peers, which accounts may transact and which validators sign blocks. If these groups are enabled on a node that application services or a load balancer can reach, a caller with access to the port may be able to alter permissioning or consensus state. Check the enabled groups on each node with the --rpc-http-api and --rpc-ws-api options, and confirm the network path to those ports before go-live.
No-auth methods exposing more state
When JSON-RPC authentication is on, the --rpc-http-api-methods-no-auth and --rpc-ws-api-methods-no-auth options list methods that callers can use without credentials. Every method added to these lists widens what an anonymous caller can read or submit. Review each listed method against what the application actually calls, and keep the lists short so that read access for unknown callers stays limited to what the application needs.
Plaintext transport without native HTTPS
Besu does not terminate HTTPS itself, so credentials, JWTs and request payloads sent to the JSON-RPC port travel unencrypted unless another layer encrypts them. The Besu documentation recommends placing production deployments behind a network layer that provides SSL termination. Confirm which component terminates TLS, which hops after it are plaintext, and that the node port is not reachable directly from outside the trusted network.
Credential files and JWT key management
Authentication relies on either a username and password credentials file or JWTs validated against a public key that your identity provider issues. The risk lies in who can read the credentials file, which key verifies tokens, and how keys rotate. Restrict file permissions on the credentials file, confirm which signing algorithms and public key your tokens use, and document who can change either one, since a stale or wrong key can either lock out applications or accept tokens you did not intend to trust.
Unencrypted node key file on operator hosts
The Besu documentation states that the local node private key file is not encrypted. Any operator or process with read access to the host can copy that key and impersonate the node. This matters most on RPC nodes that also run on hosts shared with application workloads. Limit host access, and where your policy requires hardware-backed storage, plan a security module plugin such as the Besu HSM plugin before the node is placed on that host.
Besu node keys docsMonitoring rejected and unexpected calls
Blocked or rejected calls are only useful if someone sees them. Besu exposes metrics for Prometheus when --metrics-enabled is set, with a default endpoint port of 9545. Use those metrics, together with your access logs at the TLS termination layer, to alert on calls to administrative methods from unexpected sources. Ask your monitoring team which signals they will watch and how quickly they respond, and test that an alert fires when a restricted group is called from a non-approved address.
Questions teams ask before limiting Besu API groups
Can our own team limit Besu JSON-RPC API groups without a partner?
Yes, many teams can, provided they have engineers who understand Besu's startup options, container or service configuration and their own gateway and network controls. The core change is a set of command-line options such as the RPC API group flags and the authentication settings in the Besu docs. The harder part is the inventory: finding every application, script and monitoring tool that calls each node, and proving that none of them depends on a group you are about to remove. Ask your team whether it has someone who can run that inventory, test each client path in a non-production network and roll back cleanly if a method is missing. A partner adds most value when several networks or many client applications need the same change.
How long does this work take, and what drives the effort?
No duration is supplied for this work, so confirm the estimate against your own environment rather than a generic figure. The main drivers are the number of validator and RPC nodes, the number of client applications and scripts that call them, whether an API gateway already sits in front of the nodes, and the authentication model. A network with one RPC tier behind an existing gateway is usually simpler than one where applications connect straight to validators. Adding JWT validation against externally issued tokens adds integration work with your identity provider. Ask for the effort split between inventory, configuration, testing and rollout before you compare quotes.
What does DeployOpen need from us before starting?
Plan to provide a current network diagram showing each validator, RPC node, bootnode, gateway and client application, with the network paths between them. You will also need a client method inventory: a list of JSON-RPC methods each application, script and monitoring tool calls, ideally gathered from logs over a representative period. Share the current Besu version, the startup configuration for each node, and how your team manages credentials and secrets. Agree on change windows with the owners of each consuming application, and name who approves a rollback. Missing inventory is the most common reason this work expands, so confirm the owners before the scope is written.
What should a quote for this work include?
A written quote should list each node role in scope, the RPC and WebSocket API groups to be enabled or removed per role, and the list of methods to be allowed without authentication. It should state how the client method inventory will be collected and verified, which applications will be tested, and how the change will be rolled out and rolled back. Look for the authentication approach (username and password credentials file or JWT validation), the handling of HTTPS termination in front of the nodes, and the monitoring checks that confirm the change. Ask whether retesting after each Besu upgrade is included or priced separately, and what happens if the inventory reveals extra clients.
Which Besu API groups should never be exposed to application traffic?
Administrative groups such as PERM, QBFT and ADMIN should stay off application-facing nodes, because they change permissioning, validator behavior and node administration. Whether any given group is safe on a particular node depends on your design, so confirm the list against the current Besu documentation for your version rather than relying on a copied list. Keep administrative access on a separate, tightly controlled node or network path, and restrict it to operators. Document the reason for each enabled group so that reviewers can trace each exposure to a business need.
Does Besu's authentication stop unauthenticated access to every method?
Not automatically. When JSON-RPC authentication is enabled, Besu supports listing specific methods that do not require authentication through options such as --rpc-http-api-methods-no-auth and --rpc-ws-api-methods-no-auth. Any method you list there is open to callers without credentials, so keep that list short and reviewed. Besu does not terminate HTTPS natively, and its documentation recommends placing production deployments behind a layer that provides SSL termination. Confirm that this layer also blocks administrative paths, because a gateway that forwards every method will undo the node-level restrictions.
How do API group changes interact with Besu upgrades?
Besu ships roughly monthly under calendar version numbers, and release notes sometimes remove features or API groups. Earlier 25.x releases removed privacy features and the EEA and PRIV RPC API groups, so a configuration that worked before an upgrade can fail after it. Re-check your group list and method inventory against the release notes for every version you move to. Also note that the 26.10.0 release notes say the Bonsai database auto-upgrades on first start and older versions cannot open it, so take a backup before upgrading and rehearse the rollback. Treat the API group configuration as part of each upgrade test plan, not as a one-time setting.
What to confirm in your Besu version and environment
The group names, defaults and no-auth behavior in this guide come from Besu's documentation, but every network runs its own release, client libraries and edge path. The cards below list the checks that connect those documented behaviors to what your validators and RPC nodes actually expose.
Exact group names and defaults
Confirm the JSON-RPC API group names and default enabled groups in the Besu release you run, because groups change across releases. Check the startup configuration and the help output of the binary on each node type, not only the examples in older guides. Record the result per node role, since validators and RPC nodes often start with different flags. Treat the list as a baseline for your change control, and rerun the check after each upgrade before the node returns to service.
Besu auth docsNo-auth lists in your client libraries
Test each application's client library against a node with authentication enabled and the no-auth method lists applied. Some libraries send a preflight or a batch request that includes methods you did not intend to expose, and a method missing from the no-auth list will fail with an authorization error. Confirm which method names your applications call, including those sent by monitoring agents and wallet SDKs. Keep this list short and reviewed.
Gateway and load balancer header handling
Confirm that your gateway, ingress or load balancer forwards the Authorization header to the node unchanged and does not strip or rewrite it. Also confirm which paths and methods the edge routes to each node, so that an administrative group cannot be reached through a public route that bypasses the node's own settings. Because Besu does not terminate HTTPS natively, check that TLS termination in front of the node is in place and that the internal hop is restricted to trusted sources.
Release-specific removals
Check the release notes for the Besu version you run to see which API groups were removed. The privacy groups are a known example: the EEA and PRIV groups were removed in the 25.7.0 release, so any configuration, runbook or client library that still calls them will fail after upgrade. Inventory references to removed groups across your configuration management, dashboards and application code before each upgrade, and confirm that rollback paths still match the release you deploy.
Besu releasesGroups added by plugins
Find out whether any plugin you install registers additional JSON-RPC groups or methods, since a plugin can expose endpoints that do not appear in the core group list. Review each plugin's documentation and source for its RPC surface, and decide whether those groups belong on validators, RPC nodes or neither. Plugin-added groups also need to be included in the authentication and no-auth decisions, and they must be verified again after each plugin version change.
Keeping API exposure correct after upgrades and node changes
An API exposure decision is not permanent. Each Besu upgrade, each new validator or RPC node, and each new application can change which JSON-RPC groups and methods are actually needed. A release may remove or rename a group that a service depends on, and a new integration may need a read-only group that no current node exposes. Treat the --rpc-http-api and --rpc-ws-api lists on every node as configuration that is reviewed on each change, not as a one-time setting made at go-live. Keep those files in version control with the node's other startup configuration, and require a review step before any change that adds an administrative group such as PERM, QBFT or ADMIN to a node that application traffic can reach.
Review each upgrade against the Besu release notes before deploying it to validators or RPC nodes. The notes for recent releases record removed features and API groups, such as the privacy and permissioning removals noted in the 25.x releases, so a configuration that starts cleanly on one version can reference an option that no longer applies on the next. Confirm the target version's notes against your current --rpc-http-api-methods-no-auth and --rpc-ws-api-methods-no-auth entries, and record what changed in the change ticket. Also remember that the Bonsai database upgrades automatically on first start and older versions cannot open it, so take a backup of node data before any upgrade. That backup is the only practical route back if the new release needs to be reversed, and the step is easy to skip on a routine patch.
How DeployOpen scopes and delivers Besu API hardening
DeployOpen plans, implements and hands over the JSON-RPC exposure of Hyperledger Besu nodes inside infrastructure you control. The work starts with a written inventory of which API groups each validator and RPC node needs, then applies those limits, tests them and documents the result for your operators.
How we scope
- Inventory every validator, RPC and application-facing node and the API groups each one currently serves.
- Agree in writing which administrative groups such as PERM, QBFT and ADMIN stay off application-facing nodes.
- Record which methods, if any, are allowed without authentication, and who approves that list.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- Set the API group flags and authentication configuration for each node role in your own configuration management.
- Configure username and password credentials or externally issued JWT validation, matching your identity controls.
- Place each node's HTTP and WebSocket listeners behind the network controls and TLS termination layer you operate.
- Test that administrative methods are refused from application networks and that no-auth methods return only what was approved.
How we hand over
- Deliver a per-node table of enabled API groups, listener addresses, authentication settings and no-auth method lists.
- Document the change process for adding an API group or no-auth method, including who signs off and how it is retested.
- Provide runbooks for rotating credentials, checking exposure after upgrades and restoring a node from backup.
- Walk your platform and security teams through the evidence so they can review the configuration themselves.
How we support
- Re-run exposure checks after each Besu release or configuration change, since API group defaults and options can change between versions.
- Review new node roles and onboarding requests against the approved API group baseline before they go live.
- Ongoing support, upgrades and continuous testing are available as a retainer, scoped in writing.
- Ask any partner to confirm how they will verify your environment, rather than accepting a configuration file as proof.

