Security Hub

Bring your software development workflows to security

Custom plugin

Custom Plugin

Signals & Triggers

On Custom signal
If Custom trigger


  • block database access block database access
  • block incoming http request block incoming http request
  • Send a slack notification Send a Slack notification
  • POST to webhook
  • Log request stack trace
  • Custom action


Sqreen offers a simple SDK allowing you to track custom events and users.

Based on customised conditions (event triggered, threshold reached, anomaly detected, etc), Sqreen can apply in-app actions without requiring any code changes thanks to dynamic code instrumentation.

Advanced details

The event SDK is mostly relying on a single track method:

const sqreen = require('sqreen');

    user_identifiers: {...},
    event: 'foobar',
    properties: {...},

The method accepts the following parameters:

  • user_identifiers - Object, optional - A dictionary identifying the associated user. When no user identity is provided, only the request IP is recorded.
  • event - String - The event name to track.
  • properties - Object, optional - A dictionary of property for the event.
  • timestamp - Date, optional - Date when the event occurred. If empty, the server time will be used. Handy when syncing back batch of past events.

Sqreen offers 3 main detection methods to monitor custom events activity:

  • Condition matched
  • Threshold reached
  • Anomaly detected

Language support

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

Data collected by Sqreen


Number of signals

On attack
  • IP addresses
  • User identifier if sent

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
  • 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

$ apt-get install --no-install-recommends sqreen-agent sqreen-php-extension

$ /usr/lib/sqreen/sqreen-installer config {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-latest-all.jar


// Next, edit the JVM startup file:

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

Build amazing products. Keep them safe.

3 min installation · Try all features for 7 days · No credit card required Get started Request demo