AutomationSecurity

The key pasted into a ticket

When anyone pastes a password or an API key, hide it, ask them to rotate it and alert security.

The automation

Paste it in.
Change what you like.

Runs whenNew message · Anyone adds a message or internal note to a ticket
Tools
  • Read tickets
  • Redact messages
  • Add internal notes
  • Tag tickets
  • Reply to customers
  • Post messages
Instructions

Read the new message and its attachments. Look for anything that works as a credential: API keys, access tokens, passwords, private keys, connection strings, session cookies.

If you find one:

  1. Redact it from the message.
  2. Add an internal note saying what kind of credential it was and who posted it. Never repeat the secret.
  3. Tag the ticket "credential-exposed".
  4. If a customer posted it, reply asking them to rotate it now, and to use our secure upload link for anything sensitive in future.
  5. Post to #security with the ticket link, the credential type and the customer.

If the message only talks about a credential without including one, do nothing.

How a run goes

What happens
each time it runs.

  1. Reads every new messageIncluding notes from your own team and text inside attachments.
  2. Decides if it’s a real secretA key that would work, not the word “password” in a sentence.
  3. Contains itRedacts the message, notes what it was and tags the ticket.
  4. Gets it rotatedAsks the customer to rotate the key and tells security who and where.
What it sends

What lands
in your channel.

More automations

Copy the instructions.
Or have us set it up.