Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 86% confidence
- Finding
A raw DELETE endpoint for personas is exposed with no guardrails around parameter validation beyond the path identifier and no procedural safety checks for destructive execution. In practice, an agent could delete the wrong persona due to prompt ambiguity, stale identifiers, or malicious prompt steering, causing irreversible business-data loss.
- Content
md - **POST /personas** -- Create. Body: `name` (required, max 200), `description` (required, max 5000). Returns `id`. - **GET /personas/:personaId** -- Get one. - **PATCH /personas/:personaId** -- Update. Body: `name`, `description` (both optional). - **DELETE /personas/:personaId** -- Delete. **PersonaResponse**: `_id`, `organizationId`, `name`, `description`, `createdAt`, `updatedAt`.
