Skip to content
Cloud · Secret guide

Leaked SettleMint Application Access Token: what to do in the first hour

High severityDetected onlyLast verified · 4 min read

A SettleMint application access token lets a program call the SettleMint platform on behalf of an application. SettleMint is a blockchain development platform, and its application tokens are used to deploy and manage nodes, networks and services from code. The token represents the application rather than an individual user, so it keeps working when a person leaves the team. Anyone who holds it can change the infrastructure the application controls, which can include blockchain nodes and the services that depend on them. Delete the token first, then check what the platform recorded.

Check your GitHub account for leaked secrets — free

Provider
SettleMint
Severity
High
Impact
SaaS account access and billing
Checked live by LeakWatch
No

What a SettleMint application access token looks like

The rule expects the fixed prefix sm_aat_, followed by a short run of letters and digits. The prefix stands for application access token, and it makes the value easy to find in a search. SettleMint shows the value when the token is created, so a copy in a file was taken from that screen at some point:

sm_aat_…   (application access token, masked)

Tokens are created in the application dashboard, where you give each one a name and an expiry date. The expiry date cannot be changed afterwards, and the scope can be limited to particular services. A token that was created without a short expiry therefore stays valid for a long time, which is one reason to check the list of tokens regularly.

How SettleMint tokens get leaked

  • Deployment scripts. A script that deploys a network or a service, with the token typed into the file and committed.
  • Environment files. A .env file for a decentralized application, pushed to a public repository.
  • Front-end code. A token placed in a browser application, so anyone who loads the page can read it.
  • CI logs. A pipeline that prints its environment during a deployment, or that echoes the command it ran.
  • Shared examples. A snippet posted in a tutorial, a forum or a support request, with the real token left in.

What to do in the first hour

  1. Delete the token. Open the application dashboard, go to the application access tokens list, find the token and choose Delete. Confirm the deletion when asked. Do this before you clean the repository, because a deleted token no longer works. If you cannot tell which token it is, delete the ones you do not recognize and create replacements for the rest.
  2. Create a replacement with the narrowest scope and the shortest expiry that your deployment allows. Store it in a secret manager or in your CI variables, and do not reuse one token across environments.
  3. Redeploy the services that used the old token. Test one deployment or one read to confirm the new token works.
  4. Review the platform activity. Look at the records for the application and its services for the period since the token may have been exposed. Look for deployments, configuration changes or new members that you did not make.
  5. Check the people and roles on the application. Remove anyone who should not have access, and check whether personal tokens were used for the same actions.
  6. Clean the repository after the rotation: remove the value from the files, add the file to .gitignore and decide whether to rewrite history. The order of steps is in I accidentally pushed an API key to GitHub.

Not sure what else leaked? Run a free scan.

Not sure what else leaked? Run a free scan.

Revoke it at SettleMint

Open the account settings of your SettleMint application and choose the app access tokens section in the navigation. Find the leaked token, select Delete, and type the confirmation word that the dialog asks for. SettleMint’s documentation describes this as the way to remove a token that may be compromised or is no longer needed. We could not confirm the sm_aat format against the vendor’s pages during this review, so match the token by its name and creation date rather than by the value.

How LeakWatch detects it

The rule is called SettleMint Application Access Token. It looks for the fixed sm_aat_ prefix followed by exactly 16 letters or digits, then a delimiter such as a quote, a space, a semicolon, an escaped line break or the end of the line. Tokens with a different prefix, or with a body of another length, are not reported. The severity is high, with the impact class for SaaS services. This type is not checked live: LeakWatch does not send the token to SettleMint.

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

Does a personal token work the same way?

Not exactly. SettleMint’s documentation separates application tokens from personal access tokens, which are tied to a user. Check both lists, because a leaked personal token would also need to be removed and replaced.

Why does the token keep working when someone leaves?

Application tokens belong to the application, so they are not tied to one person. That is useful for automation, but it means a token must be removed deliberately, usually when the owner or the project changes.

Will deleting the token affect my running nodes?

Services that authenticate with the token will fail until they receive the new one. Plan the replacement in the same change window, and redeploy the affected services right after you create it.

Get alerted next time a secret leaks — create a free account

LeakWatch is not affiliated with SettleMint.