Claude-Red
Claude-Red copied to clipboard
Safety: destructive verbs in verb-enumeration loop should be opt-in
Summary
File: Skills/web/offensive-business-logic/SKILL.md (lines 92–100)
The verb-enumeration snippet sends PUT, PATCH, and DELETE to every path in paths.txt in the same loop as GET, with no preview or confirmation:
for v in GET POST PUT PATCH DELETE OPTIONS; do
curl -s -o /dev/null -w "%{http_code}" -X $v -H "Authorization: Bearer $T" https://app$path
done
On a live engagement this can mutate or delete data before the tester knows what each endpoint does.
Permalink: https://github.com/SnailSploit/Claude-Red/blob/70e0c89e3be457c1f7fe071c0ed5c9fb1da6f0fb/Skills/web/offensive-business-logic/SKILL.md#L92-L100
Suggested fix
- Keep discovery read-only (
OPTIONS/HEAD/GET). - Move
PUT/PATCH/DELETEto a separate, opt-in phase with a reviewed target list and a dry-run default. - Restrict destructive verbs to resources created by the test account.