Skip to content

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

fix(agent-vault): serve intro diagram from public so CSP allows it (#8190)

Saif Ur Rahman0ce722bc2d4a
diff --git a/frontend/src/assets/images/agent-vault-intro.png b/frontend/public/images/agent-vault-intro.png
similarity index 100%
rename from frontend/src/assets/images/agent-vault-intro.png
rename to frontend/public/images/agent-vault-intro.png
diff --git a/frontend/src/components/agent-vault/AgentVaultIntro/AgentVaultIntroModal.tsx b/frontend/src/components/agent-vault/AgentVaultIntro/AgentVaultIntroModal.tsx
index 5afa1363a6..c9b16ea6d8 100644
--- a/frontend/src/components/agent-vault/AgentVaultIntro/AgentVaultIntroModal.tsx
+++ b/frontend/src/components/agent-vault/AgentVaultIntro/AgentVaultIntroModal.tsx
@@ -1,6 +1,5 @@
import { ExternalLink, XIcon } from "lucide-react";
-import introDiagram from "@app/assets/images/agent-vault-intro.png";
import { PreviewBadge } from "@app/components/agent-vault/PreviewBadge";
import {
Dialog,
@@ -43,7 +42,7 @@ export const AgentVaultIntroModal = ({ isOpen, onOpenChange }: Props) => (
}}
>
<img
- src={introDiagram}
+ src="/images/agent-vault-intro.png"
alt="An agent picks up a request from Slack and calls out through the Agent Proxy, which checks policy, brokers the credential from Agent Vault, and forwards the call to Anthropic, Sentry and GitHub."
className="aspect-video w-full border-b border-border bg-black object-contain"
/>