Log in Get a demo
All articles

Detection 4 min read

The token that outlived the employee

An employee leaves, the account is deleted — and an API token issued months ago keeps working. How that is seen, and why it is a rule of its own.

Two people at a wooden table with a notebook, coffee cups, a tablet and a leather bag

Offboarding in a self-built CRM usually means one thing: the account is deleted or switched off. The laptop is handed back, the password stops working, and everyone moves on. What nobody checks is the API token the person created half a year ago for an integration — it was never tied to the sign-in page, so it never noticed.

The token keeps answering. Requests signed with it look like any other integration traffic, the application accepts them, and in many CRMs nothing is written down, because a request with a token is not a sign-in.

A wallet, a phone, a watch, glasses and headphones laid out in rows on a grey surface
What an employee hands back on the last day. An API token is not on the list.

This is where the two sources meet. The traffic shows which credential each request carries — as a fingerprint, never the token itself. The database shows which accounts exist and who they belong to. A token still working for an account that is gone triggers id.vanished_account; an account the database has never heard of triggers id.unknown_account.

The alert says what happened in plain words — a token active for a removed employee — with the account, where the requests came from and what they reached. What to do is just as plain: revoke the session and rotate the token.

See what is happening inside your product

Tell us what you run — a website, an online store, a CRM or a set of client projects — and we will show you what Syoto would look at first.

Stay one step ahead of security risks.

Get security insights and product updates in our newsletter, and connect with our developer community.

Cookie preferences

Choose which cookies we may use. Necessary cookies keep the site working, so they cannot be turned off.