An Authress service client access key lets a backend service prove its identity to Authress, the authorization service, and act with the roles granted to that service client. It is not a user password, but it works like one for the machine that holds it. Anyone who copies the key can call Authress as that service until the key is removed, and they may be able to read or change the permissions your application relies on. Treat a leaked key as an identity compromise: remove it first, then check what it was used for.
Check your GitHub account for leaked secrets — free
- Provider
- Authress
- Severity
- Critical
- Impact
- Source code and build access
- Checked live by LeakWatch
- No
What an Authress Service Client Access Key looks like
The key is a dotted string with four parts. The first part starts with a short type prefix such as sc_, followed by an identifier. The second part is a short account segment. The third part contains a literal acc marker, then a client identifier. The last part is a long secret made of letters, digits and a few symbols:
sc_….XXXX.acc_<client-id>.…
The prefix tells you what kind of client it is, but it does not tell you whether the key is still active. Keys are issued per service client, so a single application can own several keys at once, and each one can be removed on its own. If you find a string with this shape in a file, assume it is a live credential until the service client confirms otherwise.
How Authress service client keys get leaked
- Committed configuration. A
.envfile or a settings file with the key filled in, pushed to a repository because the ignore rules did not cover it. - Front-end builds. A key bundled into a browser or mobile app. Every visitor can read it, and so can anyone who downloads the app.
- CI logs. A deploy script that prints its environment or a generated configuration file.
- Shared examples. A key pasted into a support thread, a tutorial or a pull request description to show how the SDK is set up.
- Copied containers. A Docker image that includes the configuration file in a layer that is later published.
What to do in the first hour
- Remove the key from the service client. Open the service client in the Authress console and delete the leaked key from its key list. Do this before you clean the repository, so the old value stops working as early as possible. Keep the service client itself, because your application still needs it.
- Issue a replacement key for the same service client, and store it in a secret manager or an environment variable. Deploy it, and confirm the service can still authorize requests.
- Review the activity. Check the access logs for the service client for the period since the key may have been exposed. Look for calls from unfamiliar addresses, for actions your service does not normally perform, and for requests at odd hours.
- Review the permissions. Compare the roles on the service client with what the service really needs. A key that could only read a resource should not be able to change it.
- Check the rest of the file. A leaked configuration file often holds other secrets, such as cloud keys or database passwords. Rotate those as well. See I accidentally pushed an API key to GitHub for the order of operations.
- Clean the repository after the rotation: remove the value from the current files, add the file to
.gitignore, and decide whether to rewrite history. A deleted commit still exists in every clone, so the rotation is the real fix.
Not sure what else leaked from the same repository? Run a free scan.
Revoke it at Authress
Open the account settings in the Authress console, go to the service clients area, and select the service client that owns the leaked key. In the key list, remove the leaked key, then add a new one if the service still needs access. Authress also offers an API for managing service client keys, which is useful if you rotate keys from a pipeline. We could not confirm the exact menu wording or the current API paths from Authress’s own documentation during this review, so check the labels in the console before you act. Authress has also described automatic scanning for exposed service client keys and revocation of keys it finds, but do not rely on that: remove the key yourself.
How LeakWatch detects it
The rule is called Authress Service Client Access Key. It looks for the four-part shape described above: a type prefix from a short list, an account segment of a few characters, the literal acc marker with a client identifier, and a long base64-style secret, followed by a delimiter such as a quote, a space, a semicolon or the end of the line. Strings that are too short, or that use an unknown prefix, are not reported. The severity is critical, with the impact class for identity code, since the key authenticates a service. This type is not checked live: LeakWatch does not send the key to Authress.
LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.
FAQ
Is a key in a private repository still a problem?
It is a smaller risk, but not zero. Anyone with repository access, every clone and every CI log can read it. Treat it as exposed if the repository was ever public, forked or shared with people who should not have it.
Will removing the key break my service?
Only if the replacement is not deployed first. Create the new key, deploy it to every instance, then remove the old one. If the leak is active, the short interruption is worth it.
Does one leaked key mean every service client is compromised?
Not automatically. Each service client has its own keys. Check which service client the leaked key belonged to, and review the keys and roles of that client only, unless the same secret was reused elsewhere.