T09 · Insecure Skill Coding Practices
- Location
runtime/src/mcp-server.ts:343- Finding
Client-controlled confirmation flag allows outbound call safeguards to be bypassed
- Content
View full analysis
`${c.firstName} ${c.lastName}`.toLowerCase().includes(q) || c.firstName?.toLowerCase().includes(q) || c.lastName?.toLowerCase().includes(q) || c.nickname?.toLowerCase().includes(q) ).filter((c: any) => c.phones?.length > 0 || c.phone); if (matches.length === 0) { return { content: [{ type: 'text', text: `No contact found named "${toName}" with a phone number.` }], isError: true }; } if (matches.length > 1) { const names = matches.map((c: any) => `${c.firstName} ${c.lastName}`.trim() + ` (${(c.phones?.[0]?.number || c.phone)})` ).join('\n'); return { content: [{ type: 'text', text: ...[truncated 5439 chars]- Remediation
View remediation
