
I Tried Verifying Ownership by Targeting an IP Address with Snyk API & Web (DAST)
This page has been translated by machine translation. View original
Hello. I'm Ogata from the Operations Innovation Department.
I tested whether ownership verification is possible with Snyk API & Web (DAST) when the target is a URL with an IP address.
An explanation of DAST and the environment used for the test are described in the previous article.
Snyk API & Web has limited functionality available until target ownership is verified.
The official documentation states that before ownership verification, only Lightning scans can be run on Web targets (as of 2026/11/27).
Before domain verification completes, you can only run Lightning scans on Web targets. Lightning scans are superficial scans designed for speed that focus on identifying vulnerabilities related to SSL/TLS, HTTP headers, and cookies.
Until ownership verification is complete, only Lightning scans can be run on Web targets.
Lightning scans are simple scans that prioritize speed. They are limited to detecting vulnerabilities related to SSL/TLS, HTTP headers, and cookies.
In the actual screen as well, only Lightning was displayed in the Profile tab before ownership verification.

The Authentication tab also displayed "Verify your target to enable authenticated scans."
If ownership cannot be verified in an environment with only an IP address, scans other than Lightning and authenticated scans cannot be used.
The official ownership verification page was written as verification of a "domain."
I could not find any description of IP address targets (as of 2026/11/27).
I want to check whether target ownership can be verified with an "IP address" rather than a "domain."
Using the house analogy from the previous article, I want to check whether you can prove you are the owner of a house that has no nameplate (domain name) and only a street number (IP address).
So I actually tested it.
What this test verifies
Whether ownership can be verified with the File method even for a URL with an IP address
Test environment
The setup is the same as in the previous article: a self-made app is placed on EC2 and scanned by Snyk API & Web from the internet.
This time, I registered the target URL not as a hostname but as an http URL with the EC2 public IP address.
The security group allows only the scanner IPs (the official list) and my working IP. I checked the server access logs with journald.
File method procedure
The official File method procedure is as follows (as of 2026/11/27).
- On the Domains tab of the Targets page, press Verify on the target row and select File
- Note the displayed FILENAME and CONTENT values
- Place a
.txtfile with that name and content at the root of the website - Return to the verification screen and press Verify
The file must be accessible at:
https://yourdomain.com/[filename].txt
The file must be accessible at https://yourdomain.com/[filename].txt.
After successful verification, you can remove the
.txtfile from your website.
After successful verification, there is no problem removing the .txt file from the website.
The official page lists four verification methods (TXT file, DNS TXT, DNS CNAME, Meta tag). The screen also displayed Assisted (Provide proof of ownership).
The troubleshooting section lists the following points.
- File location
- Restrictions from authentication or firewalls
- The file content matching exactly ("matches exactly with no additional hidden characters or formatting")
- Propagation wait time
An example error is Token file not found.
Results
IP address targets can be registered
A URL with a public IP address could be added without any error or warning at the time of adding. After adding, a warning requesting ownership verification appeared in the overview.
A private IP address (http://10.0.0.1/) was rejected with the following message.
Cannot add the target because scanning would not be possible. Target is a private address.

After the rejection, a "Skip target reachability test" checkbox appears at the bottom of the screen. When I checked it, the target could be added.

The official documentation also says that targets that cannot be reached can be added by ignoring the warning (Add a target). However, the target must be reachable to run a scan.
Ownership verification with the File method worked even with an IP address
For the public IP address target, I selected File from Verify on the Domains tab. Even for an IP address target, the verification screen opened in the same way as for a hostname.
I placed the verification file using the FILENAME and CONTENT values shown on the screen, pressed Verify, and the verification succeeded.

Once it succeeded, the IP address was listed as a hostname in the Domains tab (Source was Manual, Verified was checked). The warning on the target also disappeared.
The verification source IP was different from the scan source IP
In the access log, the source that fetched the file at verification time was 13.237.213.25. The connectivity check when registering the target also came from the same IP. The scan source was 52.65.214.19. Both are listed in the official IP list (AU/APJ under Target scans). The requests were GET only.
The official IP list page did not state which IP verification requests come from (Scanner IP address).
It seems you need to allow all IPs in the list in the security group.
There was no access to the file for about 15 hours after verification
In the access logs for about 15 hours after verification, there were zero accesses by Snyk to the verification file. Safe and Normal scans were run during this period. Snyk fetched the verification file only at verification time.
After that, I removed the verification file from the server and redeployed. The app I'm using is PHP's built-in server, which returns 200 for any path. Therefore, I checked using the byte count of the body at the file's URL. The body changed from the verification file's content (7 bytes) to the top page (373 bytes), confirming that the file was no longer being served.
Even after the file was removed, the IP address row in the Domains tab remained checked.

A Safe scan could also be started, showing "Scan started successfully." I pressed Stop immediately after starting it. I did not check through to completion.
Discussion
These are my thoughts after reading the results. They include speculation.
The verification file name may be fixed per account
When I tried ownership verification for a different target on a different day with the same Snyk account, the file name was the same. It may be a value per account or organization rather than per target. Since this is based on only two observations and is not described in the official documentation, this is speculation.
Summary
What I found is as follows.
- Ownership could be verified with the File method even for a URL with an IP address (http)
- The verification source (
13.237.213.25) was different from the scan source (52.65.214.19) - For about 15 hours after verification, there was no access to the file. Even after the file was removed, the verified state remained and a scan could be started.
I tried the File method on an http URL with an IP address using a single self-made fictional app. There was one success. Https with an IP address, other verification methods, and completion of a scan after the file was removed are untested.
