RelayShield: add new plugin - #4024
Open
nzdsf2-gif wants to merge 1 commit into
Open
Conversation
RelayShield detects identity and crypto-asset attack signals while an attack is still forming, rather than after an account has already been taken over. Four actions: - check_breach: email address against known credential breach databases - check_sim_swap: phone number for active/recent SIM-swap fraud at the carrier level - check_domain: domain for lookalike/typosquat registrations - check_crypto_intel: EVM wallet address (and optional token contract) for composite risk Validated with `insight-plugin validate` (including a real Docker build) and `pytest` (8/8 unit tests passing).
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Author
|
Hi — checking in on this one. Since it was opened, everything on the RelayShield side has moved forward and the plugin is
Happy to rebase, split it into smaller commits, or make any changes that would make this easier to Thanks for taking a look. |
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.
🧩 Type of Change
🧠 Background & Motivation
RelayShield (relayshield.net) is an identity and crypto-asset security platform. It detects attack
signals while an attack is still forming — credential breaches, SIM-swap fraud, lookalike/typosquat
domains, and wallet/token risk — rather than surfacing them only after an account has already been
taken over. This PR adds RelayShield as a new InsightConnect plugin so SOC teams can pull that
signal directly into playbooks/workflows.
✨ What Changed
New plugin
relayshieldwith four actions, each backed by a live RelayShield REST endpoint:check_breach— check an email address against known credential breach databasescheck_sim_swap— check a phone number for active/recent SIM-swap fraud at the carrier levelcheck_domain— check a domain for lookalike/typosquat registrationscheck_crypto_intel— check an EVM wallet address (and optional token contract) for composite riskConnection takes a single RelayShield API key (obtained at api.relayshield.net/developers).
🧪 Testing
insight-plugin validaterun against the finished plugin — full pass, including a real Dockerimage build (output below).
case per action) and run directly with
pytest— 8/8 passing.insight-plugin runconnection/action test against a real RelayShield APIkey — I don't have a live key available in this environment to test against, so I'm not pasting
fabricated output for that section. Happy to run it if a reviewer can point me to how contributors
typically get a test credential, or I can arrange one before merge.
✅ Checklist
🔍 Plugin Validation
Plugin Validation Output (
insight-plugin validate)Unit Test Results (
pytest)🖼️ In-Product Verification (if applicable)
No access to a live InsightConnect instance — not able to provide these screenshots.
✅ Code Quality Checklist
Dockerfileandrequirements.txtUSER nobodyset inDockerfilerapid7/insightconnect-python-3-slim-plugin:6.6.0)PluginException/ConnectionTestExceptionfor errorsself.loggerfor loggingversion_historyinplugin.spec.yaml)💬 Additional Notes
This is a first-time contribution from RelayShield. Happy to adjust scope, naming, or output shape
to match reviewer conventions — I kept this first PR to 4 actions covering our most SOC-relevant
signals rather than our full API surface, per the "one plugin per PR" / incremental-contribution
guidance in CONTRIBUTING.md.
Thanks for the review!