All rules →
Rules / Ruby
SHIELD-RUBY-009

Unsafe method dispatch via send with user input

highRubyCWE-94CVSS 8.1

What it detects

Calling send or public_send with a params-derived method name lets attackers invoke arbitrary methods.

How to fix

Whitelist allowed method names before dispatching with send.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUBY-009: Unsafe method dispatch via send with user input — Zennoxa Shield