leondz / garak

LLM vulnerability scanner
https://discord.gg/uVch4puUCs
Apache License 2.0
1.11k stars 132 forks source link

Does REST generator support multiple end point and responses? #784

Closed sumukh5 closed 1 week ago

sumukh5 commented 3 weeks ago

Currently, we can use 1 rest API either GET/POST and provide injection point and analyze the API response, but what if we have a flow of multiple APIs like 1st API takes post request and injection point is in this request and followed by 3 more API requests and responses and the 4th API will have the output for Garak to analyze, in this case how to define these APIs in .json file?

leondz commented 3 weeks ago

Sorry, garak only supports stateless idempotent REST interactions through the REST generator

sumukh5 commented 2 weeks ago

will it be supported in the future?

leondz commented 1 week ago

This isn't on the road map for now