Skip to main content

dashboard-api-authentication

Provides authentication patterns for dashboard API calls, ensuring secure data fetching and error handling in frontend applications.

Install this skill

or
72/100

Security score

The dashboard-api-authentication skill was audited on Feb 9, 2026 and we found 8 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 50

Template literal with variable interpolation in command context

SourceSKILL.md
50(headers as Record<string, string>)['Authorization'] = `Bearer ${token}`;
medium line 53

Template literal with variable interpolation in command context

SourceSKILL.md
53const response = await fetch(`${API_BASE}${endpoint}`, {
medium line 83

Template literal with variable interpolation in command context

SourceSKILL.md
83return apiRequest(`/my-endpoint/${encodeURIComponent(id)}`, {
medium line 180

Template literal with variable interpolation in command context

SourceSKILL.md
180Authorization: `Bearer ${getAuthToken()}`,
medium line 225

Template literal with variable interpolation in command context

SourceSKILL.md
225const response = await fetch(`/api/feature-flags/${id}`, {
low line 15

Fetch to external URL

SourceSKILL.md
15// BAD: fetch('/api/feature-flags', { credentials: 'include' })
low line 145

Fetch to external URL

SourceSKILL.md
145const response = await fetch('/api/feature-flags', {
low line 204

Fetch to external URL

SourceSKILL.md
204grep -r "fetch('/api" packages/dashboard-frontend/src/
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →