Skip to main content
Early access. This feature is in early access, which means it’s undergoing ongoing testing and development while we gather feedback, validate functionality, and improve outputs. Share feedback with the C1 Support team.
Plant a credential that looks real but grants no access. Any attempt to use it is a high-confidence signal that someone has stolen access. Decoys are tripwire credentials. Plant them where an attacker would look — env files, CI variables, secret managers. Using one raises a Critical finding. Managing decoys requires the Super Administrator role in C1. Go to Settings > Security > Decoys to get started.

Plant a decoy

C1 supports five decoy types, each shaped to sit alongside a different kind of real credential: Every decoy type except a connector client credential plants under an existing object — a human user, a service principal, or a registered workload federation provider. C1 places connector client credentials automatically, with nothing to choose. For every other type, make sure the object you need already exists before you start.
1
Go to Decoys.
2
Click Add decoy.
3
Choose a decoy type.
4
For a workload federation trust, also set a Condition expression — a CEL expression evaluated against the presented JWT’s claims. For example: claims.sub.startsWith("repo:acme/fake-infra:").
5
Set a Display name.
6
Optional. Set a Description to remind yourself where you planted it.
7
Optional. Add Annotations — key/value tags for filtering, reporting, and integrations, for example team = platform or owner = alice. Annotations carry over onto the finding a decoy produces. A routing rule can then condition on them.
8
Click Plant decoy.
C1 shows the decoy’s credential material — a client ID and secret, an access token, or a workload federation trust ID, depending on the type. It also shows a fingerprint.
This is the only time C1 shows this credential material. Save it now: copy each value or download the .env file. You’ll need to confirm you’ve saved it before this screen closes. If you lose it, rotate the decoy to get a new one.
Save the fingerprint alongside wherever you place the secret. It’s how you’ll recognize which planted copy fired when you see the resulting finding.

Manage a decoy

Open a decoy from the list to edit its display name, description, or annotations, or to take one of the following actions from the (more actions) menu:
  • Disable — stops the decoy from triggering findings without deleting it. Past findings stay in history. You can re-enable it at any time.
  • Rotate — mints a new secret for the decoy and invalidates the old one. C1 shows the new credential material once, the same as when you first planted it.
  • Delete — removes the decoy from the list and stops it from triggering findings. Past findings stay in history.

What happens when a decoy is used

Any attempt to authenticate with a planted decoy credential triggers two things. Whoever presented it gets an ordinary authentication failure — there’s no way to tell a decoy apart from a real bad credential. C1 also records the attempt. If the Decoy credential used finding type is turned on, C1 raises a Critical finding the moment the decoy is used. Repeated use of the same decoy doesn’t create duplicate findings — it’s tracked as recurrences of the same finding. If the finding had been resolved, it reopens.
Turning off the Decoy credential used finding type stops the finding from being created. C1 still records every use to your audit log regardless. Quieting the finding doesn’t cost you the trail.
The resulting finding includes an Attempts table with the forensic detail you need for incident response — timestamp, source IP, user agent, and endpoint for every attempt. Each row also includes the raw event detail behind it. If a decoy’s secret turns up published somewhere public — a paste site, a public repository — C1 raises a separate Decoy publicly exposed finding. The finding includes the scanner that found it, where it was found, and when. See Findings for how to turn on these finding types and build rules around them.