feat(web-security): add interactsh API as native callback provider#83
Merged
GangGreenTemperTatum merged 1 commit intoJul 9, 2026
Conversation
Adds a pure-Python interactsh client as a second-priority callback provider, sitting between webhook.site (primary) and interactsh-client CLI (fallback). This enables OOB testing via app.interactsh.com's protocol without requiring the Go binary to be installed. Protocol implementation: - RSA-2048 keypair generation for secure interaction retrieval - POST /register with base64-encoded PEM public key - GET /poll with AES-256-CTR + RSA-OAEP decryption of interactions - POST /deregister for cleanup on reset - Tries all 6 public interactsh servers (oast.pro/live/site/online/fun/me) - Supports INTERACTSH_SERVER env var for custom/self-hosted servers Provider priority: webhook_site → interactsh_api → interactsh_cli Changes: - tools/callback.py: Add _InteractshSession, crypto helpers, register/poll/deregister - tests/test_callback.py: 55 tests covering all 3 providers, crypto round-trip, fallback orchestration, deduplication, and tool method behavior - capability.yaml: Add cryptography>=41.0 dependency Closes CAP-1143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a pure-Python interactsh client as a second-priority callback provider, sitting between webhook.site (primary) and interactsh-client CLI (fallback). This enables OOB testing via app.interactsh.com's protocol without requiring the Go binary to be installed.
Protocol implementation:
Provider priority: webhook_site → interactsh_api → interactsh_cli
Changes:
Closes CAP-1143