23 Oct 2026 Treg security incident report

First published October 25, 2026 · Last updated October 25, 2026 · Times are UTC

Contained  Attacker's access shut down and vulnerability removed on October 23 Ongoing  More extensive platform security audits

Summary

On October 23, 2026, we confirmed that an attacker had gained unauthorized access to part of treg's production systems. The attacker exploited a vulnerability in a server-side feature. We have disabled that feature entirely.

We believe this is part of a series of attacks recently targeting platform companies, with the aim of stealing keys for AI inference providers. We have notified affected upstream providers and asked them to proactively revoke exposed keys, and we are treating this incident with the utmost seriousness.

Timeline, October 23, 2026

Time (UTC)Event
~01:30Confirmed unauthorized server-side command execution on the production web service, and that the attacker may have obtained server credentials. Began containment.
before 02:24Disabled the vulnerable server-side feature for all users.
02:24–02:35Rotated the session-signing secret and admin token. This invalidated every treg access token and login session. Users had to sign in again and copy a new token, and most agent calls returned 401 during this period.
03:20–10:30Rotated treg's own credentials provider by provider: database, email, payments, customer support, OAuth application credentials, object storage, and the keys for the AI and data providers treg uses.
~08:50Banned an account and its team that appeared that day and probed the platform with similar methods. All of its probes were blocked.

What may be affected

The attacker's main goal appears to have been stealing API keys stored on the platform, both treg's own provider keys and keys teams added themselves. We are taking a conservative view. Treat the following as exposed:

If your team never added its own keys or connected accounts, you only need to sign in again and replace your treg token.

We rotated our database credentials. Our database logs show no queries made by the attacker.

What we have done

What you need to do

  1. Rotate every API key you added to treg, in that provider's own dashboard. Do this even if you have not noticed unusual activity. treg cannot invalidate these keys for you.
  2. Review your provider usage for all of October, not only after October 23. Set spending limits on your new keys where the provider supports it.
  3. Reconnect any connected account that treg shows as needing reconnection.
  4. Sign in to treg again and copy a new token into your agent's configuration. Old tokens no longer work.
  5. If you connected an Instagram account, remove treg's access in Instagram itself, as described below.

If you connected an Instagram account

Our tests show that an exposed Instagram connection can no longer publish posts or send messages. It can still read your account data until you remove treg's access in Instagram. Instagram does not let us do this on your behalf, so please follow the steps below.

Show how to fully remove treg's access to your Instagram account

We have found no clear signs that your Instagram connection was misused. To be safe, we still ask you to remove treg's access in Instagram yourself.

Removing treg from your treg dashboard alone is not enough. It deletes our copy of the connection, but the permission you granted stays active at Instagram until you remove it there.

1. Remove treg from Instagram

Instagram app (iPhone / Android)

  1. Go to your profile and tap the menu (☰) in the top right.
  2. Tap Website permissions (under Your app and media).
  3. Tap Apps and websites, then the Active tab.
  4. Find treg, tap Remove, and confirm.

instagram.com on a computer

  1. Click More (☰) in the bottom left, then Settings.
  2. Under Your app and media, click Website permissions.
  3. Click Apps and websites, then Active.
  4. Click Remove next to treg.

Older app versions put this under Settings > Security > Apps and websites. If you manage several Instagram accounts, repeat for each one: the permission is per account.

Check it worked: treg should now appear under the Removed tab and no longer under Active. Do not rely on the Expired tab. Business tools may keep access past the usual 90-day expiry, so an app that looks inactive can still have access.

2. After removing access

Removing access stops new API calls. It does not undo anything already done. Please also:

  • Look for content you did not post. Check your posts, Reels, the Story archive (profile > ☰ > Archive > Stories archive) and recent DMs, including sent messages.
  • Check where you are logged in. Accounts Center > Password and security > Where you're logged in. Log out any session you do not recognise.
  • Turn on two-factor authentication if it is not already on (Accounts Center > Password and security > Two-factor authentication).
  • Review other connected apps in the same Apps and websites list and remove anything you no longer use.

3. Reconnecting later

If you want to use treg with Instagram again, connect it again from your treg dashboard after removing it. That creates a brand-new permission; nothing from the old one carries over.

If something looks wrong, or any step above does not match what you see, email us at jason@treg.to and tell us which device and app version you are on.

Indicator of compromise

A stolen key used directly against a provider never passes through treg, so it will not appear in your treg Activity.

If you have suffered a loss

If a key you stored in treg was used without your authorization and cost you money, contact us. Include the provider's name, the approximate time of the unauthorized use, and what the provider's dashboard shows. This applies to any unauthorized use during October, including before October 23.

jason@treg.to

We will investigate each report and compensate verified losses. We are deeply sorry this happened.

What comes next

An agent platform holds the keys to many other services, so it should meet a higher standard of security than we did here.

When remediation and the audits are complete, we will publish a full postmortem, including the root cause.

Frequently asked questions

Why did my agent suddenly start returning 401 or "invalid token" errors?

We reset every treg access token and login session on October 23. Sign in to treg again, copy a new token, and update your agent's configuration.

I never added my own keys and only use tools treg provides. What do I need to do?

You don't need to rotate anything with any provider. We have rotated the keys treg uses. Sign in again and replace your treg token.

I stored my own key in treg. How can I tell whether it was misused?

Check the usage records in the provider's dashboard, using the signs listed above. Calls made directly with a stolen key don't pass through treg, so a clean treg Activity page does not mean your key was safe.

Do I need to reconnect all my connected accounts?

Slack, LinkedIn, Facebook and Meta Ads connections were revoked and need to be reconnected. Instagram connections need one extra step from you: see If you connected an Instagram account. Other connections keep working. For extra assurance, revoke treg's access in that provider's security settings, reconnect, and remove any authorized apps you don't recognize.

Is my treg balance safe?

We are reconciling balances and billing records. If we find spending or changes you did not authorize, we will contact you and restore the amount.

Is the vulnerability closed?

Yes. The vulnerable feature was disabled on October 23 and the affected credentials have been rotated. The investigation and external audits are still in progress.

Why aren't you publishing the technical details?

Some remediation work and audits are still in progress. We will publish a full postmortem once they are complete.

Will I hear about further developments?

We will update this page and also email affected teams about significant developments.