> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Security

## Report a vulnerability

Email **[security@evvahub.com](mailto:security@evvahub.com)** if you believe you have found a security issue in the
Partner API, the Partner Hub, this documentation or an official SDK. Please include:

* what you found and where (endpoint, SDK and version, or page);
* the steps to reproduce it, and the `X-Request-Id` of any request involved;
* the impact you expect.

Do not include real personal data of fans or creators in your report, and do not test against accounts that are not
your own — use a [sandbox](/sandbox) application.

> **Warning**
>
> Never send credentials, access tokens or webhook secrets in a report. If one of yours has leaked, rotate it first
> (see below).

## Protect your credentials

| Practice                         | Why                                                                                                                                                                       |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Prefer `private_key_jwt`         | No shared secret leaves your infrastructure; the private key can stay in a KMS or HSM. See [Requesting tokens](/authentication/tokens#authenticating-with-a-private-key). |
| Keep secrets in a secret manager | Client secrets and webhook secrets are shown **once** in the Partner Hub; EVVA cannot show them again.                                                                    |
| Never put a token in a URL       | Send it in the `Authorization` header — or, for realtime, inside the first `hello` frame.                                                                                 |
| Ask only for the scopes you need | An application's allowed scopes cap everything it can ever be granted. See [Scopes and grants](/authentication/scopes).                                                   |
| Keep sandbox and live apart      | Sandbox credentials (`evpc_test_`, `evpa_test_`) never reach real creators.                                                                                               |

## Rotate on a schedule — and at once after a leak

| Credential             | How to rotate without downtime                                                                                             |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Client secret          | **Rotate secret** in the Partner Hub; both secrets work during the overlap you choose (up to 7 days).                      |
| Public key             | Add the new key with a new `kid`, switch your signer, then revoke the old key. Up to five keys can be active.              |
| Webhook signing secret | **Rotate** on the endpoint; EVVA signs with both secrets during the overlap (24 hours by default, at most 7 days).         |
| Access token           | Tokens expire after 15 minutes. Revoke one early with [`POST /partner/v1/oauth/revoke`](https://developers.evvahub.com/api-reference/authentication/revoke-token). |

Rotating a client secret or revoking a key does not end tokens already issued with it. After a leak, also revoke those
tokens — or have the agency **disable the application** in the Partner Hub, which revokes every token at once and
closes its realtime connections within about a second.

## Verify every webhook

A webhook endpoint is a public URL: anyone can POST to it. Act on a delivery only after you have
[verified its signature](/webhooks/signatures) on the raw body, checked that the timestamp is within 5 minutes, and
deduplicated on `webhook-id`.

## What EVVA does for you

* Every request is checked against the grant, the creator's consent and the token's scopes, and runs only while the
  application and the agency stay active — on every call, not only when the token is issued.
* Applications see fans only as [pseudonyms](/buyer-pseudonyms), never as accounts.
* Webhook endpoints must be public HTTPS addresses; EVVA re-checks the resolved address on every connection.
* Sensitive actions run only within the agency's limits or after a person [approves](/approvals) them.

## Next steps

#### [Requesting tokens](/authentication/tokens)

Client secrets, private keys, rotation and revocation.

#### [Verify webhook signatures](/webhooks/signatures)

The signing scheme and SDK helpers.