Skip to main content

How to identify scanner requests through the user-agent header?

Identify HTTP requests from Snyk API & Web through the user-agent header.

Ana Pascoal avatar
Written by Ana Pascoal
Updated over 2 months ago

When running target scans, you can use the information in the user-agent header to identify HTTP requests from Snyk API & Web.

Here is an example of a user-agent header:

Mozilla/5.0 (compatible; +https://probely.com/sos) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 ProbelySPDR/0.2.0

If you notice, there is a specific string in the header: https://probely.com/sos.

Use it to identify Snyk API & Web requests and do not rely on any other information you find in the header for that effect.

Another alternative to identify Snyk API & Web requests is through their IP address.

Did this answer your question?