Trape is an open-source OSINT and web-session recognition tool originally developed to demonstrate how online tracking can expose information about visitors beyond their IP addresses. It was designed to help security researchers understand browser-based tracking, session recognition, and the privacy risks associated with malicious links.

The project highlights how information shared by browsers and active web sessions can create privacy risks. Its historical integrations included recognition for several popular online services. However, the availability and reliability of these integrations may have changed since the tool was published in 2018.
The original project listed support for recognizing sessions associated with the following services:
This list reflects the project’s original documentation, not a guarantee that these services can still be recognized. Changes to authentication systems, browser protections, and third-party platforms can affect compatibility.
Trape was distributed as a Python project. The original installation instructions use Git to download the source code and install its dependencies.
git clone https://github.com/boxug/trape.git cd trape python trape.py -h
If the required Python packages are missing, the project includes a requirements file:
pip install -r requirements.txt
Because Trape is an older project, its dependencies may not work with current Python versions. Review the repository, inspect its dependencies, and use an isolated virtual environment before attempting to run it.
The original documentation describes two important options:
These options are useful for understanding the tool’s architecture, but deploying tracking links against unsuspecting visitors can violate privacy and consent requirements. Security testing should remain within an isolated environment using test accounts, synthetic data, and participants who have explicitly agreed to take part.
Trape demonstrates why users should be cautious when opening unfamiliar links. Browser information and active sessions can reveal details that people may not expect to share. Organizations can use this type of research to improve security awareness and evaluate how their applications handle session information.
For safer testing, use a controlled lab, avoid collecting real credentials or personal information, and do not distribute executable files or deceptive links. Developers can also review related security tools such as Gitleaks to identify exposed secrets in source code and repositories.
The original article includes a demonstration video introducing Trape and its tracking capabilities:
Watch the Trape demonstration on YouTube
Trape was presented as an educational project for understanding online tracking and privacy risks. Use it only for authorized security research, controlled demonstrations, and privacy testing with informed consent. Do not use it to monitor people without permission, conduct credential phishing, or distribute malicious files. The author and maintainers are not responsible for misuse of the project.
Original Author: Jose Pino