Security Modules Hub

Bring your software development workflows to security

Bot Protection

Basic Bot Protection

Signals & Triggers

On request
If user agent matches bad bot signature


  • Block the HTTP request Block the HTTP request
  • Log the malicious request Log the malicious request


There are all kinds of bots, for all nature of purposes. A number exist for beneficial purposes, such as the bots from the major search engines, including Google and Bing.

However bad bots serve quite a different purpose. They can be used for a range of different reasons, including:

  • Scraping sites for information that can be repackaged by a competitor, such as user data
  • Creating a distributed denial-of-service (DDOS) attack
  • Stealing information and re-posting it under another identity

This plugin allows you to have a basic bot protection against bad bots using a in-house developed list of bad bots user agents.

Advanced details

On every incoming HTTP request, this plugin lookups the user agent of the request. If it matches a user agent from the bad bots user agent list, then this plugin is triggered.

Language support

  • Ruby
  • Node.js
  • PHP
  • Python
  • Java

Data collected by Sqreen


No data collected

On attack
  • Number of requests blocked

Built for developers and modern apps

Get up and running in minutes just by installing our lightweight library. Enable plugins in just a couple of clicks.

  • Node.js
  • Ruby
  • PHP
  • Python
  • Java
  • Go
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

$ npm install --save sqreen

$ echo '{ "token": "your token" }' > sqreen.json


// This should be the first line of your app


$ echo "gem 'sqreen'" >> Gemfile

$ bundle install

$ echo "token: your token" > config/sqreen.yml

$ curl -s > && bash your token

$ pip install sqreen

$ echo -e "[sqreen]\ntoken: your token" > sqreen.ini


# Insert at the top of your app file (typically or

import sqreen


$ curl -o sqreen.jar


// Add JVM startup options:

-javaagent:/path/to/sqreen.jar -Dsqreen.token={{your token}}

Request your beta access for the Go agent Request beta

Build amazing products. Keep them safe.

3 min installation · Try all features for 14 days · No credit card required Sign up Request demo