Skip to main content

Error Boundaries in React

Explains how to implement Error Boundaries in React for better error handling and user experience.

Install this skill

or
85/100

Security score

The Error Boundaries in React skill was audited on Feb 9, 2026 and we found 11 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 907

Template literal with variable interpolation in command context

SourceSKILL.md
907<div className={`error-boundary ${theme}`}>
low line 1026

Fetch to external URL

SourceSKILL.md
1026await fetch('/api/errors', {
low line 205

Access to .env file

SourceSKILL.md
205if (process.env.NODE_ENV === 'development') {
low line 389

Access to .env file

SourceSKILL.md
389dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
low line 390

Access to .env file

SourceSKILL.md
390environment: process.env.NODE_ENV,
low line 391

Access to .env file

SourceSKILL.md
391release: process.env.NEXT_PUBLIC_APP_VERSION,
low line 970

Access to .env file

SourceSKILL.md
970dsn: process.env.SENTRY_DSN,
low line 971

Access to .env file

SourceSKILL.md
971environment: process.env.NODE_ENV,
low line 972

Access to .env file

SourceSKILL.md
972release: process.env.APP_VERSION,
low line 1004

Access to .env file

SourceSKILL.md
1004release: process.env.APP_VERSION,
low line 1006

Access to .env file

SourceSKILL.md
1006isEnabled: process.env.NODE_ENV === 'development',
Scanned on Feb 9, 2026
View Security Dashboard