Skip to content

Commit eba394c

Browse files
MrFlounderclaude
andauthored
feat(plugins): add promptfoo target discovery agent (#14)
Adds @crabcode/promptfoo plugin that: - Analyzes target artifacts (curl, Burp, Postman, OpenAPI, text) - Uses LLM agent loop to discover target communication - Generates working promptfoo YAML configs - Creates custom providers for complex targets (WebSocket, polling) - Verifies configs with mini redteam tests --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4931152 commit eba394c

24 files changed

Lines changed: 5152 additions & 0 deletions

plugins/promptfoo/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
dist/

plugins/promptfoo/bin/crab-pf.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
import '../dist/cli.js';

0 commit comments

Comments
 (0)