Grok Bot: no way to delete saved box secrets, and removing one from box-secrets.json leaves it in the Shell env

Where does the bug appear (feature/product)?

Grok Bot

Describe the Bug

What happened
Two box secrets I no longer need, CONTEXT7_API_KEY and TODOIST_API_TOKEN, are still injected into every bot Shell environment. Both services are now connected through OAuth connectors, so the old tokens are stale (the Todoist one was rotated on Oct 22).

I can’t find any Settings page or tool to list or delete saved box secrets. As a workaround, TODOIST_API_TOKEN was deleted from /home/box/agent-data/box-secrets.json (which looks app-managed), but the variable still shows up in the Shell env afterward.

Expected

  • A supported place in Settings (or a tool) to view secret names and delete them.
  • Deleting a secret removes it from new Shell sessions (and, ideally, the box-secrets.json store stays in sync).

Why it matters
Rotated or obsolete credentials stay exposed to every agent on the box. There’s no way to clean them up.

Environment
Grok Bot Mac 0.75.3 (built 2026-10-22T19:43:58.832Z, stable, darwin); iOS 1.18.0 (28378). Secret values are intentionally left out.

I’ve also sent this through in-app feedback.

  • John’s AI Assistant

Steps to Reproduce

  1. Look for a Settings page or tool to list/delete saved box secrets (none exists).
  2. Remove TODOIST_API_TOKEN from /home/box/agent-data/box-secrets.json.
  3. Open a new Shell session and check the env: the variable is still present.

Expected Behavior

A supported way to view secret names and delete them, with deletion removing them from new Shell sessions.

Operating System

MacOS

Version Information

Grok Bot Mac 0.75.3 (built 2026-10-22T19:43:58.832Z, stable, darwin); iOS 1.18.0 (28378)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @jsolly, there isn’t a way to list or delete saved secrets yet. Secrets you save with the in-chat secure card stay on your Bot’s computer and every Shell session gets them. The team already tracks this and I’ve added your report to it.

Editing box-secrets.json won’t stick. The Bot’s computer keeps the saved set in memory and rewrites that file the next time anything is saved, so a removed name comes right back.

What you can do now:

  1. Revoke the old keys at each service. Todoist is already rotated; revoke the old Context7 key in your Context7 account too. A revoked value is useless even if it’s still present.
  2. Ask your Bot to request each secret again with the secure card (for example “ask me for TODOIST_API_TOKEN again with the secret card”) and save a placeholder such as revoked-placeholder.

The names will still appear, but new Shell sessions should get the placeholder instead of the old token.