How keys, tokens, consent and media are protected.
Keys and tokens
- Keys, tokens, codes and connection pages are stored as hashes only.
- Access tokens last 60 minutes. Refresh tokens work once, and sending a used one again revokes the connection.
- A reused authorization code revokes the connection it created.
- Access tokens are only accepted in the Authorization header, never in the URL.
Consent
- PKCE with S256 and exact redirect addresses are required.
- A connection page works once, for 10 minutes, and only for the account that opened it.
- The page shows the address the app returns to and marks known apps as verified.
- You can only narrow what the app asked for, never widen it.
What agents can't do
- Pay, or move an ad past review.
- Change ads they didn't create, or see other accounts.
- Use files uploaded by other accounts.
- Fetch private network addresses through import_media.
Server protections
- Browser requests from unknown origins are refused.
- Oversized bodies are refused and every argument is checked against the tool's schema.
- Every upload is checked and rebuilt before it can be used.
- The server tells agents to treat text inside tool results as data, not instructions.
Report a problem
Revoke the connection under Agents and email support@drefly.pro. For security reports see security.txt.
Next steps
Was this page helpful?
Thanks for the feedback. Tell us what was missing