Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: add anonymous flag to suppress PostHog person profile creation

Devin AI725da01f149d
diff --git a/backend/src/ee/services/honey-token/honey-token-service.ts b/backend/src/ee/services/honey-token/honey-token-service.ts
index eb0796d627..af6d499db6 100644
--- a/backend/src/ee/services/honey-token/honey-token-service.ts
+++ b/backend/src/ee/services/honey-token/honey-token-service.ts
@@ -1028,6 +1028,7 @@ export const honeyTokenServiceFactory = ({
.sendPostHogEvents({
event: PostHogEventTypes.HoneyTokenTriggered,
distinctId: "anonymous-honey-token-trigger",
+ anonymous: true,
properties: {
type: honeyToken.type
}