Scanning APIs

Scanning gRPC API Web Services with Invicti Standard

This document is for:
Invicti Standard

gRPC (Remote Procedure Call) is a modern, high-performance framework that enables efficient communication between services in distributed systems. Unlike traditional RESTful APIs, which typically use JSON over HTTP, gRPC uses protocol buffers as its Interface Definition Language (IDL) and HTTP/2 for transport. This combination offers benefits such as improved performance, built-in support for streaming, and strong typing. This document describes how to scan gRPC API Web services with Invicti Standard.


  • Configure the following parameters in the Invicti Standard Settings:
  1. The 'UseHttp2' parameter is set to 'True'.
  2. The 'UseHttpClientLibrary' parameter is set to 'True'.
  • gRPC endpoint is configured to run over HTTPS.
  • Have a .proto file ready.

For instructions on how to set the parameters in points 1 and 2, refer to Configuring Invicti Standard Settings - Advanced Options.

How to scan gRPC API Web Services

The process involves preparing a new scan and uploading a .proto file. For detailed instructions, follow these steps:

  1. Log in to Invicti Standard.
  2. From the Home menu, click New.
  3. Select the Target Website or Web Service URL.
  4. From the Scan Settings, select Links/API Definitions.
  5. In the Links / API Definitions > From File section, select gRPC Proto.

  1. In the gRPC Proto Import window, enter the gRPC endpoint URL in the Definition File URL field and click OK.

NOTE: Invicti Standard does not support multiple .proto files. While multiple .proto files can be imported through the UI, Invicti Standard only utilizes a single .proto file.

  1. In the Import Links window that opens up, locate and select the .proto file, and click Open.

  1. The All imported Links section is updated with the .proto file you uploaded.

  1. If the Target Website or Web Service URL is different from the gRPC endpoint URL from step 6, you need to add this URL in Scan Settings > Additional Websites. If you don't specify the gRPC endpoint URL as an additional website, Invicti Standard will not target this service.

  1. Click Start Scan at the bottom of the page to start scanning with the gRPC Service.

Invicti Help Center

Our Support team is ready to provide you with technical help.

Go to Help Center This will redirect you to the ticketing system.