create-api-endpoint
Provides a standard pattern for creating proxy endpoints for Django REST APIs, enhancing security and type safety.
Install this skill
Security score
The create-api-endpoint skill was audited on Feb 9, 2026 and we found 10 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 34 | `${config.djangoApiUrl}/resource/?${new URLSearchParams(query as any)}` |
Template literal with variable interpolation in command context
| 38 | throw new Error(`HTTP error! status: ${response.status}`); |
Template literal with variable interpolation in command context
| 69 | `${config.djangoApiUrl}/resource/${id}/` |
Template literal with variable interpolation in command context
| 75 | message: `Resource not found: ${id}` |
Template literal with variable interpolation in command context
| 100 | `${config.djangoApiUrl}/resource/`, |
Template literal with variable interpolation in command context
| 136 | `${config.djangoApiUrl}/resource/${id}/`, |
Template literal with variable interpolation in command context
| 171 | `${config.djangoApiUrl}/resource/${id}/`, |
Template literal with variable interpolation in command context
| 276 | const data = await $fetch<Resource>(`/api/resource/${id}`); |
Template literal with variable interpolation in command context
| 313 | const data = await $fetch<Resource>(`/api/resource/${input.id}`, { |
Template literal with variable interpolation in command context
| 333 | await $fetch(`/api/resource/${id}`, { |