Commit eba394c
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
File tree
- plugins/promptfoo
- bin
- src
- agent
- generator
- parsers
- tools
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments