ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
13 stars 9 forks source link

Add UI stack and hook up CORS origin #819

Closed chriswilty closed 5 months ago

chriswilty commented 5 months ago

Description

This is the UI stack, containing the resources needed for deploying the web application.

Resolves #388

Notes

Pretty lightweight! The resources are

We can also now add the web URL to CORS allowed origins on the backend, and to the auth stack to allow redirecting back to the UI after successful authentication.

Note that the UI bundle itself is not an AWS resource, that's just the content that will be uploaded into the bucket. Currently that part is manual, but once the pipeline is added, it'll be auto-deployed during the build process.

Checklist

Have you done the following?