Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
trappsec — Open-source framework for embedding realistic decoy routes and honey fields into APIs to detect attackers probing business logic, converting reconnaissance into actionable security telemetry. | Kitploit
Tools/GitHubGitHub/trappsec-dev/trappsec
Defensive ToolsReconnaissanceWeb SecurityThreat IntelligenceIdentity & Access Management (IAM)Red TeamingIncident ResponseAPI Security
GitHubtrappsec-dev/trappsec

trappsec

Open-source framework for embedding realistic decoy routes and honey fields into APIs to detect attackers probing business logic, converting reconnaissance into actionable security telemetry.

View Repository
12353 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Website
Share

Version 0.2

trappsec

trappsec is an open-source framework that helps developers detect attackers who probe API business logic. By embedding realistic decoy routes and honey fields that are difficult to distinguish from real API constructs, attackers are nudged to authenticate — converting reconnaissance into actionable security telemetry.

Built for the 1% of people who actually look at their security alerts, and the 99% who just like the idea of having them.

Read the Docs • Ultra Quickstart


trappsec-flow


Core Concepts

  • Decoy Routes: These are "ghost" endpoints that sit outside your real logic but look authentic. By planting dummy references in your client-side code, you can bait attackers into hitting these traps, allowing you to monitor their behavior via custom static or dynamic responses that adapt to the authentication status.

  • Honey Fields: Non-functional parameters embedded within legitimate API endpoints that act as invisible tripwires. You can bait attackers by including them as hidden form fields with static values or leveraging existing "read-only" attributes that appear in GET responses as honey fields that trigger alerts if an attacker attempts to modify them via POST or PUT requests.

  • Identity Attribution: Framework hooks allow you to link a request to an authenticated user identity. You can also map traps to a specific intent (Privilege Escalation, Reconnaissance etc). Put together, you get high-fidelity alerts that security teams can respond to quickly and more effectively.


Best Practices

  • Require Authentication: In an internet that is mostly harmless but increasingly full of people and scanners (mostly scanners) poking things they shouldn't, you don’t want to get buried with noise. Use unauthenticated template responses like (401, Unauthorized) to guide them to probe with authentication.

  • Blend In: A trap should look exactly like a normal part of your API. A good trap should look like a mundane, standard - perhaps even tedious part of your API. If it looks "too good to be true", attackers will ignore it. Design traps to catch people trying to understand or manipulate your business logic.


Alerting

trappsec can integrate directly into your existing workflows. Events are written to your standard logging handlers by default, but can be configured to also integrate into OpenTelemetry for observability or Webhooks to trigger automated responses or notify security teams.


Supported Frameworks

Missing your favorite framework? Raise a request here.


Support

Community support is available via GitHub issues and discussions.
For commercial support or services, email [email protected].

Download Tool
LanguageFramework
PythonFlask
FastAPI
Starlette
Litestar
Django
Sanic
Tornado
Node.jsExpress
NestJS
Fastify
Hapi
Koa
Gonet/http
Gin
Echo