Install ruby-rack-protection by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rack-protection
Description:
Protects against typical web attacks for Rack apps
This library protects against typical web attacks. Should work for all Rack apps, including Rails.
Homepage: http://github.com/rkh/rack-protection
Version: 1.5.3-2
Section: universe/ruby