The purpose of the SSTI in Twig test is to fuzz vulnerable payloads in request bodies and query parameters in order to identify and exploit Server-Side Template Injection vulnerabilities specific to Twig templates.