Trust and signing in
Part 7 · Acting on a site4 minWhat an agent checks before it trusts a site, the forms that need a lock, and how it signs in for someone: OAuth, a token without a browser, and the MCP sign-in chain.
A secure connection
Before it sends anything, an agent wants an encrypted connection: HTTPS, with a valid certificate.
A scan checks the certificate, the redirect from http://, and the HSTS header.
- HSTS
- A header telling clients to use only HTTPS for this site, for a stated time.
Why it matters. HTTPS everywhere, a valid certificate, and HSTS. Anything less and an agent may refuse to send data.
Who runs the site
Answer engines look for the trust pages: who the site belongs to, how to reach them, what they do with data.
A scan looks for About, Contact, Privacy and Terms among the homepage’s links, in English and in Hebrew.
Why it matters. Link About, Contact, Privacy and Terms from the homepage. They are how an engine knows who stands behind it.
A security contact
security.txt says who to tell when something is wrong. It is a small file, and a sign someone is looking after the site.
A scan checks it has a Contact, which the standard requires, and an Expires date that has not passed.
Why it matters. Publish security.txt with a contact and an expiry date, and keep the date in the future.
Actions with no lock
Forms that charge, book or send are where an agent can do harm by mistake, or be tricked into it.
A scan sorts the page’s forms into reading, contact and transactions, never submits one, and asks whether a transaction has anything in front of it.
Why it matters. Put a sign-in or a confirmation step in front of anything that charges, books or sends.
Where to sign in
An agent acting for someone needs to sign in as them. OAuth is how, and a discovery document says where everything is.
A scan reads it from the standard addresses and checks the required fields are there.
- OAuth
- A standard way to let an app act for a person without ever seeing their password.
Why it matters. Publish OAuth discovery, so an agent finds the sign-in endpoints instead of guessing them.
A token without a browser
Most sign-ins open a login page for a person. An agent running on a server has no screen to show it on.
A scan reads the grants the site offers. Device code or client credentials let an agent get a token on its own.
Why it matters. Offer a grant that needs no login page, such as device code, or an agent needs a person at the screen.
The MCP sign-in chain
An MCP server that needs sign-in answers 401, and points to where to sign in. The agent follows each link.
A scan walks the chain and names the first link that breaks.
Why it matters. An MCP server that needs sign-in must answer 401 with a chain an agent can follow to the end.