mirror of
https://github.com/danielmiessler/fabric.git
synced 2026-09-10 07:36:44 -04:00
Pattern names containing ".." could be used to escape the patterns directory and read arbitrary files via filepath.Join. Guard added at the top of getFromDB; i18n key pattern_invalid_name added to all 11 locale files; test cases cover all common traversal variants. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ai | ||
| db | ||
| strategy | ||
| template | ||
| plugin.go | ||
| plugin_test.go | ||