# Running vuln on a Lovable app: where to put the verification token
*articles*
vuln only scans hosts you can prove you control. On a Lovable app, one well-known file gets you through. Here is how to place it, with what we measured on 13 November 2026 and the places people get stuck.


You open vuln ([a free check that runs on a public URL](/en/vuln)), paste your URL, and the first thing it asks is whether the site is really yours. That is where most people stall.

The short version: you publish one file. It works on a Lovable app too. We ran the whole flow on 13 November 2026.

## Why verification is required

vuln inspects the settings of a public URL from the outside. That includes exposed secrets and missing security headers. For the second one, see [Other security headers](/en/checks/security-headers).

If anyone could scan any site, the results would become material for attacks. So vuln only scans hosts where you can prove you control the domain.

## Two ways to verify, and Lovable allows only one

There are two ways to verify: DNS TXT and a well-known file. On a shared subdomain such as `*.lovable.app`, DNS TXT is not available, because the platform manages the DNS records, not the app owner.

So on a Lovable app, the well-known file is the only option. The screen says the same thing.

## Steps

- Paste the target URL into vuln
- Copy the token it shows (for example `ismyappok-vuln=abc123...`)
- In the Lovable chat, create `public/.well-known/ismyappok-vuln.txt` with that single line as its contents
- Publish, then press "verify" in vuln

A request to Lovable can be as short as this.

Create `public/.well-known/ismyappok-vuln.txt` with this single line:
`ismyappok-vuln=abc123...`

![Lovable chat showing a request to create the well-known file](/articles/lovable-chat-build-en.png)

![Lovable chat replying that the file was added](/articles/lovable-chat-added-en.png)

## What happened when we placed it

On 13 November 2026 we placed the file in a Lovable app with the same steps and checked it with `curl`.

- Status: 200 (no redirect)
- Content-Type: `text/plain; charset=utf-8`
- Body: exactly the line we placed

vuln requires three things: the file returns 200 directly, its content type is not text/html, and the body contains the token line. Ours met all three.

## When it does not work

### You get a 404

The file is not part of the published site. Check that it sits under `public/.well-known/` and that you have published. In the app we tested, paths that do not exist returned 404 (no page came back), so a 404 means the file is not there.

### You get text/html

The site is answering with a page for a path that does not exist. Check the spelling of the file name (`ismyappok-vuln.txt`).

### Verification fails right after publishing

A publish can take a little time to go live. Wait about a minute and press verify again.

### A preview URL cannot be verified

A preview URL such as `id-preview-...lovable.app` from the Lovable editor cannot be read from the outside. Ours returned 401. Verify against the published URL.

![vuln verification failing against a Lovable preview URL](/articles/vuln-verify-error-en-2.png)

The token is tied to the host. A token issued for another host will not match, so if you change the URL, copy the token the screen shows for that host.

Changes in Lovable also go into a draft. Unless you accept the change and publish, it will not reach the live site.

### It still does not pass

If you have connected a custom domain to Lovable, DNS TXT becomes available. The record name is `_ismyappok-vuln.<your domain>` and the value is the line shown on screen. It is not a shared subdomain, so this route is open to you.

## The token is not a secret

The verification token is safe to publish. It is a string that shows you control the domain, and it does not protect anything by itself.

In fact, being readable from the outside is the whole point.

## Wrapping up

To use vuln on a Lovable app, put one line in `public/.well-known/ismyappok-vuln.txt`. That is enough, and you never touch DNS.

Once it is in place, paste the URL and run the scan. You can check the rest of your setup with [audit (no login)](/en/audit) as well.

[Check your public configuration (no login)](/en/vuln)

## Check your own site
Enter a URL and see what is missing before launch. Free, and no login required.
[Run the free check](https://ismyappok.com/en/audit)