Skip to content

Find, verify, and analyze leaked credentials

feat(detectors): add Infisical service token detector (#5445)

Varshith50bc667508d7
diff --git a/main.go b/main.go
index e1c2b5827..3cc3fe9e8 100644
--- a/main.go
+++ b/main.go
@@ -605,6 +605,7 @@ func run(state overseer.State, logSync func() error) {
feature.HumioAPITokenDetectorEnabled.Store(true)
feature.KongKonnectDetectorEnabled.Store(true)
feature.SonarQubeDetectorEnabled.Store(true)
+ feature.InfisicalDetectorEnabled.Store(true)
conf := &config.Config{}
if *configFilename != "" {
diff --git a/pkg/detectors/infisical/infisical.go b/pkg/detectors/infisical/infisical.go
new file mode 100644
index 000000000..ae48fd4f0
--- /dev/null
+++ b/pkg/detectors/infisical/infisical.go
@@ -0,0 +1,170 @@
+package infisical
+
+import (
+ "cmp"
+ "context"
+ "fmt"
+ "io"
+ "net/http"
+ "net/url"
+
+ regexp "github.com/wasilibs/go-re2"
+
+ "github.com/trufflesecurity/trufflehog/v3/pkg/common"
+ "github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
+ "github.com/trufflesecurity/trufflehog/v3/pkg/pb/detector_typepb"
+)
+
+type Scanner struct {
+ client *http.Client
+ detectors.EndpointSetter
+}
+
+// Ensure the Scanner satisfies the interfaces at compile time.
+var _ detectors.Detector = (*Scanner)(nil)
+var _ detectors.EndpointCustomizer = (*Scanner)(nil)
+var _ detectors.CloudProvider = (*Scanner)(nil)
+
+// CloudEndpoint returns the primary Infisical Cloud region (US).
+func (Scanner) CloudEndpoint() string { return "https://app.infisical.com" }
+
+// additionalCloudEndpoints lists the remaining Infisical Cloud regions.
+// Cloud regions are isolated: a token issued in one region is unknown on
+// the other host, so every region must be tried during verification.
+// Self-hosted instances are not listed here. They are verified only when
+// an operator configures their URL as a custom verification endpoint.
+// https://infisical.com/docs/cli/usage
+var additionalCloudEndpoints = []string{
+ "https://eu.infisical.com",
+}
+
+var (
+ defaultClient = common.SaneHttpClient()
+
+ // Infisical service tokens have the form st.<id>.<secret>, where <id> is a
+ // UUID and <secret> is 32 lowercase hex characters (crypto.randomBytes(16)).
+ // See Infisical/infisical backend/src/services/service-token/service-token-service.ts.
+ // The dashboard appends a fourth segment of 32 lowercase hex characters
+ // before showing the token (frontend/src/hooks/api/serviceTokens/queries.tsx),
+ // and the official CLI rejects tokens without it. Group 1 is the full token
+ // as found. Group 2 is the three-part form that authenticates to the API.
+ keyPat = regexp.MustCompile(`\b((st\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.[0-9a-f]{32})(?:\.[0-9a-f]{32})?)\b`)
+)
+
+// Keywords are used for efficiently pre-filtering chunks.
+// Use identifiers in the secret preferably, or the provider name.
+func (s Scanner) Keywords() []string {
+ return []string{"st."}
+}
+
+// FromData will find and optionally verify Infisical service tokens in a given set of bytes.
+func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results []detectors.Result, err error) {
+ dataStr := string(data)
+
+ // Map each full token to the three-part form sent for verification.
+ uniqueMatches := make(map[string]string)
+ for _, match := range keyPat.FindAllStringSubmatch(dataStr, -1) {
+ uniqueMatches[match[1]] = match[2]
+ }
+
+ for resMatch, authToken := range uniqueMatches {
+ s1 := detectors.Result{
+ DetectorType: detector_typepb.DetectorType_Infisical,
+ Raw: []byte(resMatch),
+ SecretParts: map[string]string{"key": resMatch},
+ }
+
+ if verify {
+ client := s.VerificationClient(cmp.Or(s.client, defaultClient))
+
+ // Verification targets the Infisical Cloud regions (US and EU)
+ // plus any operator-configured endpoints, such as self-hosted
+ // instances. URLs in the scanned data are never used.
+ //
+ // Only non-nil errors overwrite lastErr so that a clean 404 from
+ // the wrong region doesn't erase a transient failure (429, 5xx,
+ // timeout) from a region that might be authoritative.
+ var lastErr error
+ for _, baseURL := range s.Endpoints(additionalCloudEndpoints...) {
+ isVerified, vErr := verifyServiceToken(ctx, client, baseURL, authToken)
+ s1.Verified = isVerified
+ if vErr != nil {
+ lastErr = vErr
+ }
+ if isVerified {
+ lastErr = nil
+ s1.ExtraData = map[string]string{"endpoint": baseURL}
+ break
+ }
+ }
+ s1.SetVerificationError(lastErr, resMatch)
+ }
+
+ results = append(results, s1)
+ }
+
+ return results, nil
+}
+
+// verifyServiceToken checks a three-part service token against one Infisical
+// instance. It calls GET /api/v2/service-token, which returns only the
+// token's metadata. The official CLI calls the same route to read token
+// details. Do not switch to /api/v3/secrets/raw: for a token with one exact
+// scope, that route returns the plaintext secret values and writes a secret
+// read to the owner's audit log.
+//
+// The first return value reports whether the token verified. The error is
+// non-nil only when verification is indeterminate (the token's validity
+// could not be established from this response); the caller records it via
+// Result.SetVerificationError so an ambiguous result is not silently
+// dropped as a determinate miss.
+func verifyServiceToken(ctx context.Context, client *http.Client, baseURL, token string) (bool, error) {
+ endpoint, err := url.JoinPath(baseURL, "/api/v2/service-token")
+ if err != nil {
+ return false, err
+ }
+
+ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)
+ if err != nil {
+ return false, err
+ }
+ req.Header.Set("Authorization", "Bearer "+token)
+
+ res, err := client.Do(req)
+ if err != nil {
+ return false, err
+ }
+ defer func() {
+ _, _ = io.Copy(io.Discard, res.Body)
+ _ = res.Body.Close()
+ }()
+
+ switch {
+ case res.StatusCode == http.StatusOK:
+ return true, nil
+ case res.StatusCode == http.StatusUnauthorized, res.StatusCode == http.StatusNotFound:
+ // Determinately invalid: the instance does not recognize this token.
+ return false, nil
+ case res.StatusCode == http.StatusForbidden:
+ // Ambiguous: Infisical returns 403 for an expired token, and a proxy
+ // or WAF in front of the instance can reject requests for non-auth
+ // reasons. Do not read this as "not a secret".
+ return false, fmt.Errorf("forbidden response (HTTP 403): token validity could not be determined")
+ case res.StatusCode == http.StatusTooManyRequests:
+ // Transient rate limit; retrying later may verify the token.
+ return false, fmt.Errorf("rate limited (HTTP 429): token validity could not be determined")
+ case res.StatusCode >= 500:
+ // Transient server failure; the token's validity is unknown.
+ return false, fmt.Errorf("server error (HTTP %d): token validity could not be determined", res.StatusCode)
+ default:
+ return false, fmt.Errorf("unexpected HTTP response status %d", res.StatusCode)
+ }
+}
+
+func (s Scanner) Type() detector_typepb.DetectorType {
+ return detector_typepb.DetectorType_Infisical
+}
+
+func (s Scanner) Description() string {
+ return "Infisical is an open-source secrets management platform. Service tokens can be used to read and write secrets within their scoped environments and paths."
+}
diff --git a/pkg/detectors/infisical/infisical_test.go b/pkg/detectors/infisical/infisical_test.go
new file mode 100644
index 000000000..e4bf54286
--- /dev/null
+++ b/pkg/detectors/infisical/infisical_test.go
@@ -0,0 +1,301 @@
+package infisical
+
+import (
+ "context"
+ "fmt"
+ "net/http"
+ "net/http/httptest"
+ "sync/atomic"
+ "testing"
+
+ "github.com/google/go-cmp/cmp"
+
+ "github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
+ "github.com/trufflesecurity/trufflehog/v3/pkg/engine/ahocorasick"
+)
+
+var (
+ // A synthetic token in the exact shape Infisical issues:
+ // st.<uuid>.<32 lowercase hex>. Not a real credential.
+ validToken = "st.550e8400-e29b-41d4-a716-446655440000.0123456789abcdef0123456789abcdef"
+ validPattern = `
+ # Infisical configuration
+ infisical_token: "st.550e8400-e29b-41d4-a716-446655440000.0123456789abcdef0123456789abcdef"
+ `
+ // The same token as the Infisical dashboard displays it, with the
+ // fourth 32-hex segment the frontend appends. Not a real credential.
+ dashboardToken = validToken + ".fedcba9876543210fedcba9876543210"
+)
+
+func TestInfisical_Pattern(t *testing.T) {
+ d := Scanner{}
+ ahoCorasickCore := ahocorasick.NewAhoCorasickCore([]detectors.Detector{d})
+
+ tests := []struct {
+ name string
+ input string
+ want []string
+ }{
+ {
+ name: "valid pattern",
+ input: validPattern,
+ want: []string{validToken},
+ },
+ {
+ name: "valid pattern - dashboard four-part token",
+ input: `INFISICAL_TOKEN=` + dashboardToken,
+ want: []string{dashboardToken},
+ },
+ {
+ name: "invalid pattern - short secret",
+ input: `token: "st.550e8400-e29b-41d4-a716-446655440000.0123456789abcdef0123456789abcde"`,
+ want: nil,
+ },
+ {
+ name: "invalid pattern - not a uuid",
+ input: `token: "st.not-a-uuid.0123456789abcdef0123456789abcdef"`,
+ want: nil,
+ },
+ {
+ name: "invalid pattern - missing prefix",
+ input: `token: "550e8400-e29b-41d4-a716-446655440000.0123456789abcdef0123456789abcdef"`,
+ want: nil,
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ matchedDetectors := ahoCorasickCore.FindDetectorMatches([]byte(test.input))
+ if len(test.want) > 0 && len(matchedDetectors) == 0 {
+ t.Errorf("keywords '%v' not matched by: %s", d.Keywords(), test.input)
+ return
+ }
+
+ results, err := d.FromData(context.Background(), false, []byte(test.input))
+ if err != nil {
+ t.Errorf("error = %v", err)
+ return
+ }
+
+ if len(results) != len(test.want) {
+ if len(results) == 0 {
+ t.Errorf("did not receive result")
+ } else {
+ t.Errorf("expected %d results, only received %d", len(test.want), len(results))
+ }
+ return
+ }
+
+ actual := make(map[string]struct{}, len(results))
+ for _, r := range results {
+ actual[string(r.Raw)] = struct{}{}
+ if r.SecretParts["key"] != string(r.Raw) {
+ t.Errorf("SecretParts[key] = %q, want %q", r.SecretParts["key"], r.Raw)
+ }
+ }
+ expected := make(map[string]struct{}, len(test.want))
+ for _, v := range test.want {
+ expected[v] = struct{}{}
+ }
+
+ if diff := cmp.Diff(expected, actual); diff != "" {
+ t.Errorf("%s diff: (-want +got)\n%s", test.name, diff)
+ }
+ })
+ }
+}
+
+// statusServer returns an httptest server that replies with status to every
+// verification request, and a count of the requests it received. It fails
+// the test unless each request is a GET to the Infisical token metadata
+// endpoint that carries the three-part token as a Bearer credential.
+func statusServer(t *testing.T, status int) (*httptest.Server, *atomic.Int32) {
+ t.Helper()
+ var hits atomic.Int32
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ hits.Add(1)
+ if r.Method != http.MethodGet || r.URL.Path != "/api/v2/service-token" {
+ t.Errorf("unexpected request %s %s, want GET /api/v2/service-token", r.Method, r.URL.Path)
+ w.WriteHeader(http.StatusNotFound)
+ return
+ }
+ if got := r.Header.Get("Authorization"); got != "Bearer "+validToken {
+ t.Errorf("Authorization = %q, want %q", got, "Bearer "+validToken)
+ w.WriteHeader(http.StatusUnauthorized)
+ return
+ }
+ w.WriteHeader(status)
+ }))
+ return ts, &hits
+}
+
+func TestInfisical_VerifyServiceTokenStatuses(t *testing.T) {
+ tests := []struct {
+ name string
+ status int
+ wantVerified bool
+ wantErr bool
+ }{
+ {name: "200 verified", status: http.StatusOK, wantVerified: true, wantErr: false},
+ {name: "401 determinately invalid", status: http.StatusUnauthorized, wantVerified: false, wantErr: false},
+ {name: "404 determinately invalid (unknown token)", status: http.StatusNotFound, wantVerified: false, wantErr: false},
+ // Ambiguous or transient statuses must be indeterminate, never a
+ // determinate miss: a scoped-but-valid token can draw a 403, and
+ // 429/5xx carry no information about the token at all.
+ {name: "400 indeterminate", status: http.StatusBadRequest, wantVerified: false, wantErr: true},
+ {name: "403 indeterminate", status: http.StatusForbidden, wantVerified: false, wantErr: true},
+ {name: "429 indeterminate (rate limited)", status: http.StatusTooManyRequests, wantVerified: false, wantErr: true},
+ {name: "500 indeterminate", status: http.StatusInternalServerError, wantVerified: false, wantErr: true},
+ {name: "503 indeterminate", status: http.StatusServiceUnavailable, wantVerified: false, wantErr: true},
+ {name: "unexpected status indeterminate", status: http.StatusTeapot, wantVerified: false, wantErr: true},
+ {name: "204 indeterminate (only 200 verifies)", status: http.StatusNoContent, wantVerified: false, wantErr: true},
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ ts, _ := statusServer(t, test.status)
+ defer ts.Close()
+
+ verified, err := verifyServiceToken(context.Background(), ts.Client(), ts.URL, validToken)
+ if verified != test.wantVerified {
+ t.Errorf("verified = %v, want %v", verified, test.wantVerified)
+ }
+ if (err != nil) != test.wantErr {
+ t.Errorf("err = %v, wantErr = %v", err, test.wantErr)
+ }
+ })
+ }
+}
+
+// fromDataWithEndpoints runs FromData with verification routed only at the
+// given test servers.
+func fromDataWithEndpoints(t *testing.T, token string, endpoints ...string) []detectors.Result {
+ t.Helper()
+ d := Scanner{}
+ if err := d.SetConfiguredEndpoints(endpoints...); err != nil {
+ t.Fatalf("SetConfiguredEndpoints: %v", err)
+ }
+ results, err := d.FromData(context.Background(), true, []byte(token))
+ if err != nil {
+ t.Fatalf("FromData: %v", err)
+ }
+ if len(results) != 1 {
+ t.Fatalf("expected 1 result, got %d", len(results))
+ }
+ return results
+}
+
+func TestInfisical_RegionFallback(t *testing.T) {
+ // The "wrong region" host does not recognize the token (404), while the
+ // token is valid on the second host. Verification must still succeed
+ // once the correct host is tried.
+ wrongRegion, _ := statusServer(t, http.StatusNotFound)
+ defer wrongRegion.Close()
+ rightRegion, _ := statusServer(t, http.StatusOK)
+ defer rightRegion.Close()
+
+ results := fromDataWithEndpoints(t, validToken, wrongRegion.URL, rightRegion.URL)
+ r := results[0]
+ if !r.Verified {
+ t.Fatalf("expected token to verify after region fallback")
+ }
+ if r.ExtraData["endpoint"] != rightRegion.URL {
+ t.Errorf("expected endpoint %s, got %s", rightRegion.URL, r.ExtraData["endpoint"])
+ }
+ if r.VerificationError() != nil {
+ t.Errorf("expected no verification error after successful verify, got %v", r.VerificationError())
+ }
+}
+
+func TestInfisical_EarlierErrorSurvivesLaterMiss(t *testing.T) {
+ // A transient failure on the first host must not be erased by a clean
+ // 404 from the second host, which may simply be the wrong region.
+ rateLimited, _ := statusServer(t, http.StatusTooManyRequests)
+ defer rateLimited.Close()
+ wrongRegion, _ := statusServer(t, http.StatusNotFound)
+ defer wrongRegion.Close()
+
+ r := fromDataWithEndpoints(t, validToken, rateLimited.URL, wrongRegion.URL)[0]
+ if r.Verified {
+ t.Errorf("result should not verify")
+ }
+ if r.VerificationError() == nil {
+ t.Errorf("expected the HTTP 429 verification error to be kept, got nil")
+ }
+}
+
+func TestInfisical_TransientStatusIsNotDropped(t *testing.T) {
+ // 429 and 5xx responses are indeterminate: the result must stay
+ // unverified but carry a verification error so tooling does not treat
+ // it as a determinate miss.
+ for _, status := range []int{http.StatusTooManyRequests, http.StatusInternalServerError, http.StatusForbidden} {
+ t.Run(fmt.Sprintf("status %d", status), func(t *testing.T) {
+ ts, _ := statusServer(t, status)
+ defer ts.Close()
+
+ r := fromDataWithEndpoints(t, validToken, ts.URL)[0]
+ if r.Verified {
+ t.Errorf("result should not verify on HTTP %d", status)
+ }
+ if r.VerificationError() == nil {
+ t.Errorf("expected verification error on HTTP %d, got nil", status)
+ }
+ })
+ }
+}
+
+func TestInfisical_DeterminateMissHasNoVerificationError(t *testing.T) {
+ // 401/404 mean the host genuinely does not recognize the token: no
+ // verification error is recorded.
+ for _, status := range []int{http.StatusUnauthorized, http.StatusNotFound} {
+ t.Run(fmt.Sprintf("status %d", status), func(t *testing.T) {
+ ts, _ := statusServer(t, status)
+ defer ts.Close()
+
+ r := fromDataWithEndpoints(t, validToken, ts.URL)[0]
+ if r.Verified {
+ t.Errorf("synthetic token should not verify")
+ }
+ if r.VerificationError() != nil {
+ t.Errorf("expected no verification error on HTTP %d, got %v", status, r.VerificationError())
+ }
+ })
+ }
+}
+
+func TestInfisical_400IsIndeterminate(t *testing.T) {
+ // The token metadata endpoint takes no parameters, so a 400 does not
+ // show that the token authenticated. It is indeterminate, not verified.
+ ts, _ := statusServer(t, http.StatusBadRequest)
+ defer ts.Close()
+
+ r := fromDataWithEndpoints(t, validToken, ts.URL)[0]
+ if r.Verified {
+ t.Errorf("result should not verify on HTTP 400")
+ }
+ if r.VerificationError() == nil {
+ t.Errorf("expected verification error on HTTP 400, got nil")
+ }
+ if r.DetectorType.String() != "Infisical" {
+ t.Errorf("expected DetectorType Infisical, got %s", r.DetectorType.String())
+ }
+}
+
+func TestInfisical_DuplicateDashboardTokenVerifiesOnce(t *testing.T) {
+ // The same dashboard token twice in one chunk yields one result that
+ // keeps all four segments, and one verification request that sends only
+ // the three-part token (statusServer checks the Authorization header).
+ ts, hits := statusServer(t, http.StatusOK)
+ defer ts.Close()
+
+ r := fromDataWithEndpoints(t, dashboardToken+"\n"+dashboardToken, ts.URL)[0]
+ if !r.Verified {
+ t.Errorf("expected dashboard token to verify")
+ }
+ if string(r.Raw) != dashboardToken || r.SecretParts["key"] != dashboardToken {
+ t.Errorf("Raw = %q, SecretParts[key] = %q, want %q", r.Raw, r.SecretParts["key"], dashboardToken)
+ }
+ if got := hits.Load(); got != 1 {
+ t.Errorf("verification requests = %d, want 1", got)
+ }
+}
diff --git a/pkg/engine/defaults/defaults.go b/pkg/engine/defaults/defaults.go
index e433c15f5..ef857e851 100644
--- a/pkg/engine/defaults/defaults.go
+++ b/pkg/engine/defaults/defaults.go
@@ -398,6 +398,7 @@ import (
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/imagekit"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/imagga"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/impala"
+ "github.com/trufflesecurity/trufflehog/v3/pkg/detectors/infisical"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/infura"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/insightly"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/instabot"
@@ -1317,6 +1318,7 @@ func buildDetectorList() []detectors.Detector {
&imagekit.Scanner{},
&imagga.Scanner{},
&impala.Scanner{},
+ &infisical.Scanner{},
&infura.Scanner{},
&insightly.Scanner{},
&instabot.Scanner{},
@@ -1916,6 +1918,8 @@ func buildDetectorList() []detectors.Detector {
return !feature.KongKonnectDetectorEnabled.Load()
case *sonarqube.Scanner:
return !feature.SonarQubeDetectorEnabled.Load()
+ case *infisical.Scanner:
+ return !feature.InfisicalDetectorEnabled.Load()
default:
return false
}
diff --git a/pkg/engine/defaults/defaults_test.go b/pkg/engine/defaults/defaults_test.go
index 9e567136f..d78eae2bc 100644
--- a/pkg/engine/defaults/defaults_test.go
+++ b/pkg/engine/defaults/defaults_test.go
@@ -155,6 +155,7 @@ var excludedFromDefaultList = map[detector_typepb.DetectorType]struct{}{
detector_typepb.DetectorType_Resend: {},
detector_typepb.DetectorType_KongKonnect: {},
detector_typepb.DetectorType_SonarQube: {},
+ detector_typepb.DetectorType_Infisical: {},
// Reserved / special types.
detector_typepb.DetectorType_CustomRegex: {}, // added dynamically via engine config, not via buildDetectorList()
diff --git a/pkg/feature/feature.go b/pkg/feature/feature.go
index 972090299..e9bee68ef 100644
--- a/pkg/feature/feature.go
+++ b/pkg/feature/feature.go
@@ -57,6 +57,7 @@ var (
EnableS3UnitProgress atomic.Bool // count each S3 bucket during a unit scan to report progress inside it
KongKonnectDetectorEnabled atomic.Bool
SonarQubeDetectorEnabled atomic.Bool
+ InfisicalDetectorEnabled atomic.Bool
)
type AtomicString struct {
diff --git a/pkg/pb/detector_typepb/detector_type.pb.go b/pkg/pb/detector_typepb/detector_type.pb.go
index 47c8af82b..567d834dd 100644
--- a/pkg/pb/detector_typepb/detector_type.pb.go
+++ b/pkg/pb/detector_typepb/detector_type.pb.go
@@ -1130,6 +1130,7 @@ const (
DetectorType_KongKonnect DetectorType = 1072
DetectorType_SonarQube DetectorType = 1073
DetectorType_LambdaCloud DetectorType = 1074
+ DetectorType_Infisical DetectorType = 1075
DetectorType_Fireworks DetectorType = 1076
)
@@ -2207,6 +2208,7 @@ var (
1072: "KongKonnect",
1073: "SonarQube",
1074: "LambdaCloud",
+ 1075: "Infisical",
1076: "Fireworks",
}
DetectorType_value = map[string]int32{
@@ -3281,6 +3283,7 @@ var (
"KongKonnect": 1072,
"SonarQube": 1073,
"LambdaCloud": 1074,
+ "Infisical": 1075,
"Fireworks": 1076,
}
)
@@ -3317,7 +3320,7 @@ var File_detector_type_proto protoreflect.FileDescriptor
var file_detector_type_proto_rawDesc = []byte{
0x0a, 0x13, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x2a, 0xd8, 0x8c, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74,
+ 0x74, 0x79, 0x70, 0x65, 0x2a, 0xe8, 0x8c, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x6c, 0x69, 0x62, 0x61, 0x62,
0x61, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x4d, 0x51, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a,
0x03, 0x41, 0x57, 0x53, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x10,
@@ -4442,6 +4445,7 @@ var file_detector_type_proto_rawDesc = []byte{
0x4b, 0x6f, 0x6e, 0x67, 0x4b, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x10, 0xb0, 0x08, 0x12, 0x0e,
0x0a, 0x09, 0x53, 0x6f, 0x6e, 0x61, 0x72, 0x51, 0x75, 0x62, 0x65, 0x10, 0xb1, 0x08, 0x12, 0x10,
0x0a, 0x0b, 0x4c, 0x61, 0x6d, 0x62, 0x64, 0x61, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x10, 0xb2, 0x08,
+ 0x12, 0x0e, 0x0a, 0x09, 0x49, 0x6e, 0x66, 0x69, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x10, 0xb3, 0x08,
0x12, 0x0e, 0x0a, 0x09, 0x46, 0x69, 0x72, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x10, 0xb4, 0x08,
0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74,
0x72, 0x75, 0x66, 0x66, 0x6c, 0x65, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x74,
diff --git a/proto/detector_type.proto b/proto/detector_type.proto
index c9009a735..cef726df6 100644
--- a/proto/detector_type.proto
+++ b/proto/detector_type.proto
@@ -1076,5 +1076,6 @@ enum DetectorType {
KongKonnect = 1072;
SonarQube = 1073;
LambdaCloud = 1074;
+ Infisical = 1075;
Fireworks = 1076;
}