Backtrack

This skill should be used when a regex might be exploitable or slow — when the user says "is this regex safe", "ReDoS", "catastrophic backtracking", "the regex hangs", "one request pins the CPU", "check my regexes for denial of service", or is writing a pattern that validates user-supplied input. Statically flags backtracking-prone regexes, then proves the dangerous ones by feeding them a crafted input and measuring the blow-up.

lkc-studio 22612a1 5 files · 29.7 KB Updated

File contents

lkc-studio/claude-plugins/tree/main/plugins/evidence/skills/backtrack commit 22612a14b8

Frequently asked questions

npx skillmds@latest add lkc-studio/backtrack