From e9e9404e4b1c022b222cb7926f1b4581cca9b2be Mon Sep 17 00:00:00 2001 From: Gabriel Geraldino Date: Wed, 4 Feb 2026 17:39:23 -0300 Subject: [PATCH] include immunefi in bbscope poll --- cmd/poll.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cmd/poll.go b/cmd/poll.go index 8b9cd88..371511b 100644 --- a/cmd/poll.go +++ b/cmd/poll.go @@ -16,6 +16,7 @@ import ( "github.com/sw33tLie/bbscope/v2/pkg/platforms" bcplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/bugcrowd" h1platform "github.com/sw33tLie/bbscope/v2/pkg/platforms/hackerone" + immunefiplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/immunefi" itplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/intigriti" ywhplatform "github.com/sw33tLie/bbscope/v2/pkg/platforms/yeswehack" "github.com/sw33tLie/bbscope/v2/pkg/scope" @@ -98,6 +99,15 @@ var pollCmd = &cobra.Command{ utils.Log.Info("Skipping YesWeHack: email, password, or otpsecret not found in config.") } + // Immunefi + immunefiPoller := &immunefiplatform.Poller{} + authCfg := platforms.AuthConfig{} + if err := immunefiPoller.Authenticate(cmd.Context(), authCfg); err != nil { + utils.Log.Errorf("Immunefi auth failed: %v", err) + } else { + pollers = append(pollers, immunefiPoller) + } + if len(pollers) == 0 { utils.Log.Info("No platforms to poll. Configure credentials in ~/.bbscope.yaml") return nil