App and agent API key lists return full secret tokens
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 22h 9m
- Merged PRs (30d)
- 610
Description
The console key list endpoints for apps (and agent access points, plus the per-dataset route) return the full bearer secret for every key.
Any workspace member with edit permission can list them, so a non-admin editor can copy long-lived service API credentials that stay valid even after the member is removed. Only deletion is admin-gated.
Dataset key lists at the workspace level already mask secrets and show the full value once at creation. App and agent lists should do the same.
Contributor guide
Research direction
Start by locating the console list endpoints for apps, agent access points, and per-dataset keys, then compare them with the existing workspace-level dataset key listing behavior. Verify the response handling and relevant tests, if present. Done means list responses mask bearer secrets while creation still exposes the full value once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100