Skip to main content

error-pattern-safety

Provides guidelines for safe regex patterns in JavaScript to prevent infinite loops in agentic engines.

Install this skill

or
69/100

Security score

The error-pattern-safety skill was audited on Feb 9, 2026 and we found 3 security issues across 2 threat categories, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

critical line 15

Direct command execution function call

SourceSKILL.md
151. JavaScript's `regex.exec()` with the `g` flag uses `lastIndex` to track position
medium line 111

Template literal with variable interpolation in command context

SourceSKILL.md
111core.error(`Infinite loop detected! Pattern: ${pattern.pattern}`);
low line 202

External URL reference

SourceSKILL.md
202- Go regex syntax: https://pkg.go.dev/regexp/syntax
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →
GitHub Stars 106
Rate this skill
Categorydevelopment
UpdatedMay 21, 2026
majiayu000/claude-skill-registry