├── .dockerignore ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── backend-checks.yml │ ├── cloud.yml │ ├── frontend-checks.yml │ └── k6-checks.yml ├── .gitignore ├── .hintrc ├── .prettierrc ├── .vscode ├── launch.json └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── backend ├── .dockerignore ├── .env.example ├── .eslintrc.cjs ├── .prettierignore ├── Dockerfile ├── README.md ├── jest.config.ts ├── package-lock.json ├── package.json ├── resources │ └── documents │ │ ├── common │ │ ├── basic_company_information.txt │ │ ├── management_info.csv │ │ ├── promo_article.txt │ │ └── staffing.txt │ │ ├── level_1 │ │ └── ScottBrew.txt │ │ ├── level_2 │ │ ├── Crimson.txt │ │ ├── Pearl.txt │ │ ├── Satin.txt │ │ └── Zebra.txt │ │ ├── level_3 │ │ ├── Batman.txt │ │ ├── Homer.txt │ │ ├── Piglet.txt │ │ └── Pinnochio.txt │ │ └── sandbox │ │ └── Batman.txt ├── src │ ├── controller │ │ ├── chatController.ts │ │ ├── defenceController.ts │ │ ├── handleError.ts │ │ ├── healthController.ts │ │ ├── levelController.ts │ │ ├── modelController.ts │ │ ├── requestValidators.ts │ │ ├── resetController.ts │ │ ├── startController.ts │ │ └── testController.ts │ ├── defaultDefences.ts │ ├── defence.ts │ ├── document.ts │ ├── email.ts │ ├── langchain.ts │ ├── models │ │ ├── api │ │ │ ├── DefenceActivateRequest.ts │ │ │ ├── DefenceConfigResetRequest.ts │ │ │ ├── DefenceConfigureRequest.ts │ │ │ ├── DefenceResetRequest.ts │ │ │ ├── LevelGetRequest.ts │ │ │ ├── LevelResetRequest.ts │ │ │ ├── OpenAiAddInfoToChatHistoryRequest.ts │ │ │ ├── OpenAiChatRequest.ts │ │ │ ├── OpenAiConfigureModelRequest.ts │ │ │ ├── OpenAiSetModelRequest.ts │ │ │ ├── ProgressResetRequest.ts │ │ │ └── StartGetRequest.ts │ │ ├── chat.ts │ │ ├── chatMessage.ts │ │ ├── defence.ts │ │ ├── document.ts │ │ ├── email.ts │ │ ├── langchain.ts │ │ ├── level.ts │ │ └── openai.ts │ ├── openai.ts │ ├── promptTemplates.ts │ ├── server │ │ ├── app.ts │ │ ├── importMetaUtils.ts │ │ ├── index.ts │ │ ├── nonSessionRoutes.ts │ │ ├── sessionRoutes.ts │ │ └── uiRoutes.ts │ ├── utils │ │ ├── chat.ts │ │ └── token.ts │ └── winCondition.ts ├── test │ ├── api │ │ └── start.test.ts │ ├── importMetaUtils.mock.ts │ ├── integration │ │ ├── chatController.test.ts │ │ ├── defenceController.test.ts │ │ └── defences.test.ts │ ├── setupEnvVars.ts │ ├── tsconfig.json │ └── unit │ │ ├── controller │ │ ├── chatController.test.ts │ │ ├── defenceController.test.ts │ │ ├── healthController.test.ts │ │ ├── levelController.test.ts │ │ ├── modelController.test.ts │ │ ├── resetController.test.ts │ │ └── startController.test.ts │ │ ├── defence.ts │ │ ├── defence.test.ts │ │ └── transformMessage.test.ts │ │ ├── document.ts │ │ └── initDocumentVectors.test.ts │ │ ├── email.test.ts │ │ ├── langchain.ts │ │ ├── initialisePromptEvaluationModel.test.ts │ │ └── initialiseQAModel.test.ts │ │ ├── openai.ts │ │ ├── chatModelSendMessage.test.ts │ │ └── getValidModelsFromOpenai.test.ts │ │ ├── utils │ │ ├── chat.ts │ │ │ ├── pushMessageToHistory.test.ts │ │ │ └── setSystemRoleInChatHistory.test.ts │ │ └── token.test.ts │ │ └── winCondition.test.ts ├── tsconfig.json └── typings │ ├── express-session.d.ts │ └── query-types.d.ts ├── cloud ├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .prettierrc.yml ├── README.md ├── bin │ ├── application.ts │ └── pipeline.ts ├── cdk-developer-policy.yaml ├── cdk.context.json ├── cdk.json ├── lib │ ├── api-stack.ts │ ├── app-stage.ts │ ├── auth-stack.ts │ ├── certificate-stack.ts │ ├── constructs │ │ └── DeployS3Step.ts │ ├── hostedzone-stack.ts │ ├── index.ts │ ├── lambdas │ │ ├── startStopService.ts │ │ ├── tsconfig.json │ │ └── verifyAuth │ │ │ └── index.ts │ ├── pipeline-assist-useast1-stack.ts │ ├── pipeline-stack.ts │ ├── resourceNamingUtils.ts │ ├── scheduler-stack.ts │ └── ui-stack.ts ├── package-lock.json ├── package.json ├── permissions │ ├── README.md │ ├── execution_policy_basics.json │ ├── execution_policy_cloudfront.json │ ├── execution_policy_cognito.json │ ├── execution_policy_edgelambda.json │ ├── execution_policy_pipeline.json │ ├── execution_policy_route53.json │ └── execution_policy_vpc.json └── tsconfig.json ├── compose.yaml ├── frontend ├── .env.example ├── .eslintrc.cjs ├── .prettierignore ├── .stylelintrc.cjs ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── public │ └── logo.svg ├── src │ ├── assets │ │ ├── fonts │ │ │ ├── CombinedFonts.ttf │ │ │ ├── OFL.md │ │ │ └── README.md │ │ ├── icons │ │ │ ├── Azure.svg │ │ │ ├── GettingStarted.svg │ │ │ ├── Handbook.svg │ │ │ ├── Outbox.svg │ │ │ └── ResetProgressIcon.svg │ │ └── images │ │ │ ├── BotAvatarDefault.svg │ │ │ ├── BotAvatarError.svg │ │ │ ├── ProjectIcon.tsx │ │ │ ├── ProjectIconDark.tsx │ │ │ ├── ProjectIconWon.tsx │ │ │ ├── ScottLogicLogo.tsx │ │ │ ├── SmolFace_sm.png │ │ │ ├── SpyLogicLogo.png │ │ │ ├── SpyLogicLogo_Affirmative.png │ │ │ ├── UserAvatar.svg │ │ │ ├── handler.png │ │ │ ├── lawyer.png │ │ │ └── manager.png │ ├── components │ │ ├── App.css │ │ ├── App.tsx │ │ ├── AuthProviders │ │ │ ├── CognitoAuthenticatedApp.tsx │ │ │ ├── CognitoAuthenticator.css │ │ │ └── index.ts │ │ ├── ChatBox │ │ │ ├── ChatBox.css │ │ │ ├── ChatBox.tsx │ │ │ ├── ChatBoxFeed.css │ │ │ ├── ChatBoxFeed.tsx │ │ │ ├── ChatBoxInfoText.css │ │ │ ├── ChatBoxInfoText.tsx │ │ │ ├── ChatBoxInput.tsx │ │ │ └── ChatBoxMessage │ │ │ │ ├── Avatar.css │ │ │ │ ├── Avatar.tsx │ │ │ │ ├── ChatBoxMessage.css │ │ │ │ ├── ChatBoxMessage.tsx │ │ │ │ ├── MessageBubble.css │ │ │ │ └── MessageBubble.tsx │ │ ├── ControlPanel │ │ │ ├── ControlPanel.css │ │ │ └── ControlPanel.tsx │ │ ├── DefenceBox │ │ │ ├── DefenceBox.css │ │ │ ├── DefenceBox.tsx │ │ │ ├── DefenceConfiguration.css │ │ │ ├── DefenceConfiguration.tsx │ │ │ ├── DefenceConfigurationInput.tsx │ │ │ ├── DefenceConfigurationRadioButton.css │ │ │ ├── DefenceConfigurationRadioButton.tsx │ │ │ ├── DefenceMechanism.css │ │ │ ├── DefenceMechanism.tsx │ │ │ ├── PromptEnclosureDefenceMechanism.test.tsx │ │ │ └── PromptEnclosureDefenceMechanism.tsx │ │ ├── DocumentViewer │ │ │ ├── DocumentViewBox.css │ │ │ ├── DocumentViewBox.test.tsx │ │ │ ├── DocumentViewBox.tsx │ │ │ ├── DocumentViewBoxNav.css │ │ │ └── DocumentViewBoxNav.tsx │ │ ├── EmailBox │ │ │ ├── EmailBox.css │ │ │ ├── EmailBox.tsx │ │ │ ├── SentEmail.css │ │ │ └── SentEmail.tsx │ │ ├── ExportChat │ │ │ ├── ExportChatBox.tsx │ │ │ ├── ExportChatMessage.tsx │ │ │ ├── ExportContent.tsx │ │ │ ├── ExportEmailBox.tsx │ │ │ ├── ExportEmailMessage.tsx │ │ │ ├── ExportPDFLink.css │ │ │ └── ExportPDFLink.tsx │ │ ├── HandbookOverlay │ │ │ ├── HandbookOverlay.css │ │ │ ├── HandbookOverlay.tsx │ │ │ ├── HandbookSpine.css │ │ │ ├── HandbookSpine.tsx │ │ │ └── Pages │ │ │ │ ├── Attacks.ts │ │ │ │ ├── Glossary.ts │ │ │ │ ├── HandbookAttacks.test.tsx │ │ │ │ ├── HandbookAttacks.tsx │ │ │ │ ├── HandbookGlossary.test.tsx │ │ │ │ ├── HandbookGlossary.tsx │ │ │ │ ├── HandbookPage.css │ │ │ │ ├── HandbookSystemRole.test.tsx │ │ │ │ └── HandbookSystemRole.tsx │ │ ├── LevelMissionInfoBanner │ │ │ ├── LevelMissionInfoBanner.css │ │ │ ├── LevelMissionInfoBanner.test.tsx │ │ │ └── LevelMissionInfoBanner.tsx │ │ ├── LevelSelectionBox │ │ │ ├── LevelSelectionBox.css │ │ │ ├── LevelSelectionBox.test.tsx │ │ │ └── LevelSelectionBox.tsx │ │ ├── MainComponent │ │ │ ├── MainBody.css │ │ │ ├── MainBody.tsx │ │ │ ├── MainComponent.css │ │ │ ├── MainComponent.tsx │ │ │ ├── MainFooter.css │ │ │ ├── MainFooter.tsx │ │ │ ├── MainHeader.css │ │ │ └── MainHeader.tsx │ │ ├── ModelBox │ │ │ ├── ModelBox.css │ │ │ ├── ModelBox.tsx │ │ │ ├── ModelConfiguration.css │ │ │ ├── ModelConfiguration.tsx │ │ │ ├── ModelConfigurationSlider.css │ │ │ ├── ModelConfigurationSlider.tsx │ │ │ ├── ModelSelection.css │ │ │ └── ModelSelection.tsx │ │ ├── Overlay │ │ │ ├── LevelsComplete.tsx │ │ │ ├── MissionInformation.tsx │ │ │ ├── MultipageOverlay.css │ │ │ ├── MultipageOverlay.tsx │ │ │ ├── Overlay.css │ │ │ ├── Overlay.tsx │ │ │ ├── OverlayChoice.css │ │ │ ├── OverlayChoice.tsx │ │ │ ├── OverlayCloseIcon.tsx │ │ │ ├── OverlayHeader.css │ │ │ ├── OverlayHeader.test.tsx │ │ │ ├── OverlayHeader.tsx │ │ │ ├── OverlayNav.css │ │ │ ├── OverlayNav.tsx │ │ │ ├── OverlayWelcome.tsx │ │ │ ├── ResetLevel.tsx │ │ │ └── ResetProgress.tsx │ │ ├── ThemedButtons │ │ │ ├── ChatButton.css │ │ │ ├── DetailElement.css │ │ │ ├── DetailElement.test.tsx │ │ │ ├── DetailElement.tsx │ │ │ ├── LevelsCompleteButtons.tsx │ │ │ ├── LoadingButton.css │ │ │ ├── LoadingButton.tsx │ │ │ ├── ModeSelectButtons.css │ │ │ ├── ModeSelectButtons.tsx │ │ │ ├── OverlayButton.css │ │ │ ├── OverlayButton.tsx │ │ │ ├── OverlayChoiceButtons.css │ │ │ ├── OverlayChoiceButtons.tsx │ │ │ ├── StartLevelButtons.tsx │ │ │ ├── ThemedButton.css │ │ │ └── ThemedButton.tsx │ │ └── ThemedInput │ │ │ ├── ThemedInput.css │ │ │ ├── ThemedNumberInput.css │ │ │ ├── ThemedNumberInput.tsx │ │ │ ├── ThemedTextArea.css │ │ │ └── ThemedTextArea.tsx │ ├── defences.ts │ ├── hooks │ │ ├── useIsOverflow.ts │ │ ├── useLocalStorage.test.ts │ │ ├── useLocalStorage.ts │ │ └── useUnitStepper.ts │ ├── levels.ts │ ├── main.tsx │ ├── models │ │ ├── apiResponse.ts │ │ ├── attack.ts │ │ ├── chat.ts │ │ ├── defence.ts │ │ ├── document.ts │ │ ├── email.ts │ │ ├── handbook.ts │ │ └── level.ts │ ├── service │ │ ├── backendService.ts │ │ ├── chatService.ts │ │ ├── defenceService.ts │ │ ├── documentService.ts │ │ ├── index.ts │ │ ├── levelService.ts │ │ ├── resetService.ts │ │ └── startService.ts │ ├── setupTests.ts │ ├── styles │ │ ├── Theme.css │ │ └── index.css │ └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.test.json ├── vite.config.ts └── vitest-setup.ts ├── k6 ├── .eslintrc.cjs ├── README.md ├── load.js ├── package-lock.json ├── package.json ├── requestFunctions.js ├── smoke.js └── spike.js ├── package.json ├── prodlite.Dockerfile └── prompt-injection.code-workspace /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/backend-checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/workflows/backend-checks.yml -------------------------------------------------------------------------------- /.github/workflows/cloud.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/workflows/cloud.yml -------------------------------------------------------------------------------- /.github/workflows/frontend-checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/workflows/frontend-checks.yml -------------------------------------------------------------------------------- /.github/workflows/k6-checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.github/workflows/k6-checks.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.gitignore -------------------------------------------------------------------------------- /.hintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.hintrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/README.md -------------------------------------------------------------------------------- /backend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/.dockerignore -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/.eslintrc.cjs -------------------------------------------------------------------------------- /backend/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | 4 | node_modules -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/jest.config.ts -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/resources/documents/common/basic_company_information.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/common/basic_company_information.txt -------------------------------------------------------------------------------- /backend/resources/documents/common/management_info.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/common/management_info.csv -------------------------------------------------------------------------------- /backend/resources/documents/common/promo_article.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/common/promo_article.txt -------------------------------------------------------------------------------- /backend/resources/documents/common/staffing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/common/staffing.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_1/ScottBrew.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_1/ScottBrew.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_2/Crimson.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_2/Crimson.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_2/Pearl.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_2/Pearl.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_2/Satin.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_2/Satin.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_2/Zebra.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_2/Zebra.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_3/Batman.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_3/Batman.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_3/Homer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_3/Homer.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_3/Piglet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_3/Piglet.txt -------------------------------------------------------------------------------- /backend/resources/documents/level_3/Pinnochio.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/level_3/Pinnochio.txt -------------------------------------------------------------------------------- /backend/resources/documents/sandbox/Batman.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/resources/documents/sandbox/Batman.txt -------------------------------------------------------------------------------- /backend/src/controller/chatController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/chatController.ts -------------------------------------------------------------------------------- /backend/src/controller/defenceController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/defenceController.ts -------------------------------------------------------------------------------- /backend/src/controller/handleError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/handleError.ts -------------------------------------------------------------------------------- /backend/src/controller/healthController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/healthController.ts -------------------------------------------------------------------------------- /backend/src/controller/levelController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/levelController.ts -------------------------------------------------------------------------------- /backend/src/controller/modelController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/modelController.ts -------------------------------------------------------------------------------- /backend/src/controller/requestValidators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/requestValidators.ts -------------------------------------------------------------------------------- /backend/src/controller/resetController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/resetController.ts -------------------------------------------------------------------------------- /backend/src/controller/startController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/startController.ts -------------------------------------------------------------------------------- /backend/src/controller/testController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/controller/testController.ts -------------------------------------------------------------------------------- /backend/src/defaultDefences.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/defaultDefences.ts -------------------------------------------------------------------------------- /backend/src/defence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/defence.ts -------------------------------------------------------------------------------- /backend/src/document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/document.ts -------------------------------------------------------------------------------- /backend/src/email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/email.ts -------------------------------------------------------------------------------- /backend/src/langchain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/langchain.ts -------------------------------------------------------------------------------- /backend/src/models/api/DefenceActivateRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/DefenceActivateRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/DefenceConfigResetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/DefenceConfigResetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/DefenceConfigureRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/DefenceConfigureRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/DefenceResetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/DefenceResetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/LevelGetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/LevelGetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/LevelResetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/LevelResetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/OpenAiAddInfoToChatHistoryRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/OpenAiAddInfoToChatHistoryRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/OpenAiChatRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/OpenAiChatRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/OpenAiConfigureModelRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/OpenAiConfigureModelRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/OpenAiSetModelRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/OpenAiSetModelRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/ProgressResetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/ProgressResetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/api/StartGetRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/api/StartGetRequest.ts -------------------------------------------------------------------------------- /backend/src/models/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/chat.ts -------------------------------------------------------------------------------- /backend/src/models/chatMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/chatMessage.ts -------------------------------------------------------------------------------- /backend/src/models/defence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/defence.ts -------------------------------------------------------------------------------- /backend/src/models/document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/document.ts -------------------------------------------------------------------------------- /backend/src/models/email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/email.ts -------------------------------------------------------------------------------- /backend/src/models/langchain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/langchain.ts -------------------------------------------------------------------------------- /backend/src/models/level.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/level.ts -------------------------------------------------------------------------------- /backend/src/models/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/models/openai.ts -------------------------------------------------------------------------------- /backend/src/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/openai.ts -------------------------------------------------------------------------------- /backend/src/promptTemplates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/promptTemplates.ts -------------------------------------------------------------------------------- /backend/src/server/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/app.ts -------------------------------------------------------------------------------- /backend/src/server/importMetaUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/importMetaUtils.ts -------------------------------------------------------------------------------- /backend/src/server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/index.ts -------------------------------------------------------------------------------- /backend/src/server/nonSessionRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/nonSessionRoutes.ts -------------------------------------------------------------------------------- /backend/src/server/sessionRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/sessionRoutes.ts -------------------------------------------------------------------------------- /backend/src/server/uiRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/server/uiRoutes.ts -------------------------------------------------------------------------------- /backend/src/utils/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/utils/chat.ts -------------------------------------------------------------------------------- /backend/src/utils/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/utils/token.ts -------------------------------------------------------------------------------- /backend/src/winCondition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/src/winCondition.ts -------------------------------------------------------------------------------- /backend/test/api/start.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/api/start.test.ts -------------------------------------------------------------------------------- /backend/test/importMetaUtils.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/importMetaUtils.mock.ts -------------------------------------------------------------------------------- /backend/test/integration/chatController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/integration/chatController.test.ts -------------------------------------------------------------------------------- /backend/test/integration/defenceController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/integration/defenceController.test.ts -------------------------------------------------------------------------------- /backend/test/integration/defences.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/integration/defences.test.ts -------------------------------------------------------------------------------- /backend/test/setupEnvVars.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/setupEnvVars.ts -------------------------------------------------------------------------------- /backend/test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/tsconfig.json -------------------------------------------------------------------------------- /backend/test/unit/controller/chatController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/chatController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/defenceController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/defenceController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/healthController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/healthController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/levelController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/levelController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/modelController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/modelController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/resetController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/resetController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/controller/startController.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/controller/startController.test.ts -------------------------------------------------------------------------------- /backend/test/unit/defence.ts/defence.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/defence.ts/defence.test.ts -------------------------------------------------------------------------------- /backend/test/unit/defence.ts/transformMessage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/defence.ts/transformMessage.test.ts -------------------------------------------------------------------------------- /backend/test/unit/document.ts/initDocumentVectors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/document.ts/initDocumentVectors.test.ts -------------------------------------------------------------------------------- /backend/test/unit/email.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/email.test.ts -------------------------------------------------------------------------------- /backend/test/unit/langchain.ts/initialisePromptEvaluationModel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/langchain.ts/initialisePromptEvaluationModel.test.ts -------------------------------------------------------------------------------- /backend/test/unit/langchain.ts/initialiseQAModel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/langchain.ts/initialiseQAModel.test.ts -------------------------------------------------------------------------------- /backend/test/unit/openai.ts/chatModelSendMessage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/openai.ts/chatModelSendMessage.test.ts -------------------------------------------------------------------------------- /backend/test/unit/openai.ts/getValidModelsFromOpenai.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/openai.ts/getValidModelsFromOpenai.test.ts -------------------------------------------------------------------------------- /backend/test/unit/utils/chat.ts/pushMessageToHistory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/utils/chat.ts/pushMessageToHistory.test.ts -------------------------------------------------------------------------------- /backend/test/unit/utils/chat.ts/setSystemRoleInChatHistory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/utils/chat.ts/setSystemRoleInChatHistory.test.ts -------------------------------------------------------------------------------- /backend/test/unit/utils/token.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/utils/token.test.ts -------------------------------------------------------------------------------- /backend/test/unit/winCondition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/test/unit/winCondition.test.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/typings/express-session.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/typings/express-session.d.ts -------------------------------------------------------------------------------- /backend/typings/query-types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/backend/typings/query-types.d.ts -------------------------------------------------------------------------------- /cloud/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/.env.example -------------------------------------------------------------------------------- /cloud/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/.eslintrc.cjs -------------------------------------------------------------------------------- /cloud/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/.gitignore -------------------------------------------------------------------------------- /cloud/.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/.prettierrc.yml -------------------------------------------------------------------------------- /cloud/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/README.md -------------------------------------------------------------------------------- /cloud/bin/application.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/bin/application.ts -------------------------------------------------------------------------------- /cloud/bin/pipeline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/bin/pipeline.ts -------------------------------------------------------------------------------- /cloud/cdk-developer-policy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/cdk-developer-policy.yaml -------------------------------------------------------------------------------- /cloud/cdk.context.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/cdk.context.json -------------------------------------------------------------------------------- /cloud/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/cdk.json -------------------------------------------------------------------------------- /cloud/lib/api-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/api-stack.ts -------------------------------------------------------------------------------- /cloud/lib/app-stage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/app-stage.ts -------------------------------------------------------------------------------- /cloud/lib/auth-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/auth-stack.ts -------------------------------------------------------------------------------- /cloud/lib/certificate-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/certificate-stack.ts -------------------------------------------------------------------------------- /cloud/lib/constructs/DeployS3Step.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/constructs/DeployS3Step.ts -------------------------------------------------------------------------------- /cloud/lib/hostedzone-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/hostedzone-stack.ts -------------------------------------------------------------------------------- /cloud/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/index.ts -------------------------------------------------------------------------------- /cloud/lib/lambdas/startStopService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/lambdas/startStopService.ts -------------------------------------------------------------------------------- /cloud/lib/lambdas/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/lambdas/tsconfig.json -------------------------------------------------------------------------------- /cloud/lib/lambdas/verifyAuth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/lambdas/verifyAuth/index.ts -------------------------------------------------------------------------------- /cloud/lib/pipeline-assist-useast1-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/pipeline-assist-useast1-stack.ts -------------------------------------------------------------------------------- /cloud/lib/pipeline-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/pipeline-stack.ts -------------------------------------------------------------------------------- /cloud/lib/resourceNamingUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/resourceNamingUtils.ts -------------------------------------------------------------------------------- /cloud/lib/scheduler-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/scheduler-stack.ts -------------------------------------------------------------------------------- /cloud/lib/ui-stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/lib/ui-stack.ts -------------------------------------------------------------------------------- /cloud/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/package-lock.json -------------------------------------------------------------------------------- /cloud/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/package.json -------------------------------------------------------------------------------- /cloud/permissions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/README.md -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_basics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_basics.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_cloudfront.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_cloudfront.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_cognito.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_cognito.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_edgelambda.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_edgelambda.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_pipeline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_pipeline.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_route53.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_route53.json -------------------------------------------------------------------------------- /cloud/permissions/execution_policy_vpc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/permissions/execution_policy_vpc.json -------------------------------------------------------------------------------- /cloud/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/cloud/tsconfig.json -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/compose.yaml -------------------------------------------------------------------------------- /frontend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/.env.example -------------------------------------------------------------------------------- /frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /frontend/.prettierignore: -------------------------------------------------------------------------------- 1 | coverage 2 | dist 3 | 4 | node_modules -------------------------------------------------------------------------------- /frontend/.stylelintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/.stylelintrc.cjs -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/public/logo.svg -------------------------------------------------------------------------------- /frontend/src/assets/fonts/CombinedFonts.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/fonts/CombinedFonts.ttf -------------------------------------------------------------------------------- /frontend/src/assets/fonts/OFL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/fonts/OFL.md -------------------------------------------------------------------------------- /frontend/src/assets/fonts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/fonts/README.md -------------------------------------------------------------------------------- /frontend/src/assets/icons/Azure.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/icons/Azure.svg -------------------------------------------------------------------------------- /frontend/src/assets/icons/GettingStarted.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/icons/GettingStarted.svg -------------------------------------------------------------------------------- /frontend/src/assets/icons/Handbook.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/icons/Handbook.svg -------------------------------------------------------------------------------- /frontend/src/assets/icons/Outbox.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/icons/Outbox.svg -------------------------------------------------------------------------------- /frontend/src/assets/icons/ResetProgressIcon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/icons/ResetProgressIcon.svg -------------------------------------------------------------------------------- /frontend/src/assets/images/BotAvatarDefault.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/BotAvatarDefault.svg -------------------------------------------------------------------------------- /frontend/src/assets/images/BotAvatarError.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/BotAvatarError.svg -------------------------------------------------------------------------------- /frontend/src/assets/images/ProjectIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/ProjectIcon.tsx -------------------------------------------------------------------------------- /frontend/src/assets/images/ProjectIconDark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/ProjectIconDark.tsx -------------------------------------------------------------------------------- /frontend/src/assets/images/ProjectIconWon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/ProjectIconWon.tsx -------------------------------------------------------------------------------- /frontend/src/assets/images/ScottLogicLogo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/ScottLogicLogo.tsx -------------------------------------------------------------------------------- /frontend/src/assets/images/SmolFace_sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/SmolFace_sm.png -------------------------------------------------------------------------------- /frontend/src/assets/images/SpyLogicLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/SpyLogicLogo.png -------------------------------------------------------------------------------- /frontend/src/assets/images/SpyLogicLogo_Affirmative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/SpyLogicLogo_Affirmative.png -------------------------------------------------------------------------------- /frontend/src/assets/images/UserAvatar.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/UserAvatar.svg -------------------------------------------------------------------------------- /frontend/src/assets/images/handler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/handler.png -------------------------------------------------------------------------------- /frontend/src/assets/images/lawyer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/lawyer.png -------------------------------------------------------------------------------- /frontend/src/assets/images/manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/assets/images/manager.png -------------------------------------------------------------------------------- /frontend/src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/App.css -------------------------------------------------------------------------------- /frontend/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/App.tsx -------------------------------------------------------------------------------- /frontend/src/components/AuthProviders/CognitoAuthenticatedApp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/AuthProviders/CognitoAuthenticatedApp.tsx -------------------------------------------------------------------------------- /frontend/src/components/AuthProviders/CognitoAuthenticator.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/AuthProviders/CognitoAuthenticator.css -------------------------------------------------------------------------------- /frontend/src/components/AuthProviders/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/AuthProviders/index.ts -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBox.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxFeed.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxFeed.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxFeed.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxInfoText.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxInfoText.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxInfoText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxInfoText.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxInput.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/Avatar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/Avatar.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/Avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/Avatar.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/ChatBoxMessage.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/ChatBoxMessage.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/ChatBoxMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/ChatBoxMessage.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/MessageBubble.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/MessageBubble.css -------------------------------------------------------------------------------- /frontend/src/components/ChatBox/ChatBoxMessage/MessageBubble.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ChatBox/ChatBoxMessage/MessageBubble.tsx -------------------------------------------------------------------------------- /frontend/src/components/ControlPanel/ControlPanel.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ControlPanel/ControlPanel.css -------------------------------------------------------------------------------- /frontend/src/components/ControlPanel/ControlPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ControlPanel/ControlPanel.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceBox.css: -------------------------------------------------------------------------------- 1 | .defence-box { 2 | position: relative; 3 | } 4 | -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceConfiguration.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceConfiguration.css -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceConfiguration.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceConfiguration.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceConfigurationInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceConfigurationInput.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceConfigurationRadioButton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceConfigurationRadioButton.css -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceConfigurationRadioButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceConfigurationRadioButton.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceMechanism.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceMechanism.css -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/DefenceMechanism.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/DefenceMechanism.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/PromptEnclosureDefenceMechanism.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/PromptEnclosureDefenceMechanism.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/DefenceBox/PromptEnclosureDefenceMechanism.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DefenceBox/PromptEnclosureDefenceMechanism.tsx -------------------------------------------------------------------------------- /frontend/src/components/DocumentViewer/DocumentViewBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DocumentViewer/DocumentViewBox.css -------------------------------------------------------------------------------- /frontend/src/components/DocumentViewer/DocumentViewBox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DocumentViewer/DocumentViewBox.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/DocumentViewer/DocumentViewBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DocumentViewer/DocumentViewBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/DocumentViewer/DocumentViewBoxNav.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DocumentViewer/DocumentViewBoxNav.css -------------------------------------------------------------------------------- /frontend/src/components/DocumentViewer/DocumentViewBoxNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/DocumentViewer/DocumentViewBoxNav.tsx -------------------------------------------------------------------------------- /frontend/src/components/EmailBox/EmailBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/EmailBox/EmailBox.css -------------------------------------------------------------------------------- /frontend/src/components/EmailBox/EmailBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/EmailBox/EmailBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/EmailBox/SentEmail.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/EmailBox/SentEmail.css -------------------------------------------------------------------------------- /frontend/src/components/EmailBox/SentEmail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/EmailBox/SentEmail.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportChatBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportChatBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportChatMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportChatMessage.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportContent.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportEmailBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportEmailBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportEmailMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportEmailMessage.tsx -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportPDFLink.css: -------------------------------------------------------------------------------- 1 | .export-chat-link { 2 | text-decoration: none; 3 | } 4 | -------------------------------------------------------------------------------- /frontend/src/components/ExportChat/ExportPDFLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ExportChat/ExportPDFLink.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/HandbookOverlay.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/HandbookOverlay.css -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/HandbookOverlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/HandbookOverlay.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/HandbookSpine.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/HandbookSpine.css -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/HandbookSpine.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/HandbookSpine.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/Attacks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/Attacks.ts -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/Glossary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/Glossary.ts -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookPage.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookPage.css -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookSystemRole.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookSystemRole.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/HandbookOverlay/Pages/HandbookSystemRole.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/HandbookOverlay/Pages/HandbookSystemRole.tsx -------------------------------------------------------------------------------- /frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.css -------------------------------------------------------------------------------- /frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelMissionInfoBanner/LevelMissionInfoBanner.tsx -------------------------------------------------------------------------------- /frontend/src/components/LevelSelectionBox/LevelSelectionBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelSelectionBox/LevelSelectionBox.css -------------------------------------------------------------------------------- /frontend/src/components/LevelSelectionBox/LevelSelectionBox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelSelectionBox/LevelSelectionBox.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/LevelSelectionBox/LevelSelectionBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/LevelSelectionBox/LevelSelectionBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainBody.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainBody.css -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainBody.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainBody.tsx -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainComponent.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainComponent.css -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainComponent.tsx -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainFooter.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainFooter.css -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainFooter.tsx -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainHeader.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainHeader.css -------------------------------------------------------------------------------- /frontend/src/components/MainComponent/MainHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/MainComponent/MainHeader.tsx -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelBox.css: -------------------------------------------------------------------------------- 1 | .model-box { 2 | position: relative; 3 | margin-top: 1rem; 4 | } 5 | -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelBox.tsx -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelConfiguration.css: -------------------------------------------------------------------------------- 1 | .model-config-box { 2 | padding: 0; 3 | } 4 | -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelConfiguration.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelConfiguration.tsx -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelConfigurationSlider.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelConfigurationSlider.css -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelConfigurationSlider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelConfigurationSlider.tsx -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelSelection.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelSelection.css -------------------------------------------------------------------------------- /frontend/src/components/ModelBox/ModelSelection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ModelBox/ModelSelection.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/LevelsComplete.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/LevelsComplete.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/MissionInformation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/MissionInformation.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/MultipageOverlay.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/MultipageOverlay.css -------------------------------------------------------------------------------- /frontend/src/components/Overlay/MultipageOverlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/MultipageOverlay.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/Overlay.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/Overlay.css -------------------------------------------------------------------------------- /frontend/src/components/Overlay/Overlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/Overlay.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayChoice.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayChoice.css -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayChoice.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayChoice.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayCloseIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayCloseIcon.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayHeader.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayHeader.css -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayHeader.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayHeader.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayHeader.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayNav.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayNav.css -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayNav.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/OverlayWelcome.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/OverlayWelcome.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/ResetLevel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/ResetLevel.tsx -------------------------------------------------------------------------------- /frontend/src/components/Overlay/ResetProgress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/Overlay/ResetProgress.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/ChatButton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/ChatButton.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/DetailElement.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/DetailElement.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/DetailElement.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/DetailElement.test.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/DetailElement.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/DetailElement.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/LevelsCompleteButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/LevelsCompleteButtons.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/LoadingButton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/LoadingButton.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/LoadingButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/LoadingButton.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/ModeSelectButtons.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/ModeSelectButtons.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/ModeSelectButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/ModeSelectButtons.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/OverlayButton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/OverlayButton.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/OverlayButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/OverlayButton.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/OverlayChoiceButtons.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/OverlayChoiceButtons.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/OverlayChoiceButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/OverlayChoiceButtons.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/StartLevelButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/StartLevelButtons.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/ThemedButton.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/ThemedButton.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedButtons/ThemedButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedButtons/ThemedButton.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedInput/ThemedInput.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedInput/ThemedInput.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedInput/ThemedNumberInput.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedInput/ThemedNumberInput.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedInput/ThemedNumberInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedInput/ThemedNumberInput.tsx -------------------------------------------------------------------------------- /frontend/src/components/ThemedInput/ThemedTextArea.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedInput/ThemedTextArea.css -------------------------------------------------------------------------------- /frontend/src/components/ThemedInput/ThemedTextArea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/components/ThemedInput/ThemedTextArea.tsx -------------------------------------------------------------------------------- /frontend/src/defences.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/defences.ts -------------------------------------------------------------------------------- /frontend/src/hooks/useIsOverflow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/hooks/useIsOverflow.ts -------------------------------------------------------------------------------- /frontend/src/hooks/useLocalStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/hooks/useLocalStorage.test.ts -------------------------------------------------------------------------------- /frontend/src/hooks/useLocalStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/hooks/useLocalStorage.ts -------------------------------------------------------------------------------- /frontend/src/hooks/useUnitStepper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/hooks/useUnitStepper.ts -------------------------------------------------------------------------------- /frontend/src/levels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/levels.ts -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/models/apiResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/apiResponse.ts -------------------------------------------------------------------------------- /frontend/src/models/attack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/attack.ts -------------------------------------------------------------------------------- /frontend/src/models/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/chat.ts -------------------------------------------------------------------------------- /frontend/src/models/defence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/defence.ts -------------------------------------------------------------------------------- /frontend/src/models/document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/document.ts -------------------------------------------------------------------------------- /frontend/src/models/email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/email.ts -------------------------------------------------------------------------------- /frontend/src/models/handbook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/handbook.ts -------------------------------------------------------------------------------- /frontend/src/models/level.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/models/level.ts -------------------------------------------------------------------------------- /frontend/src/service/backendService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/backendService.ts -------------------------------------------------------------------------------- /frontend/src/service/chatService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/chatService.ts -------------------------------------------------------------------------------- /frontend/src/service/defenceService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/defenceService.ts -------------------------------------------------------------------------------- /frontend/src/service/documentService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/documentService.ts -------------------------------------------------------------------------------- /frontend/src/service/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/index.ts -------------------------------------------------------------------------------- /frontend/src/service/levelService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/levelService.ts -------------------------------------------------------------------------------- /frontend/src/service/resetService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/resetService.ts -------------------------------------------------------------------------------- /frontend/src/service/startService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/service/startService.ts -------------------------------------------------------------------------------- /frontend/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/setupTests.ts -------------------------------------------------------------------------------- /frontend/src/styles/Theme.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/styles/Theme.css -------------------------------------------------------------------------------- /frontend/src/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/styles/index.css -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/src/vite-env.d.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/tsconfig.test.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/vite.config.ts -------------------------------------------------------------------------------- /frontend/vitest-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/frontend/vitest-setup.ts -------------------------------------------------------------------------------- /k6/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/.eslintrc.cjs -------------------------------------------------------------------------------- /k6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/README.md -------------------------------------------------------------------------------- /k6/load.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/load.js -------------------------------------------------------------------------------- /k6/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/package-lock.json -------------------------------------------------------------------------------- /k6/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/package.json -------------------------------------------------------------------------------- /k6/requestFunctions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/requestFunctions.js -------------------------------------------------------------------------------- /k6/smoke.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/smoke.js -------------------------------------------------------------------------------- /k6/spike.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/k6/spike.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/package.json -------------------------------------------------------------------------------- /prodlite.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/prodlite.Dockerfile -------------------------------------------------------------------------------- /prompt-injection.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScottLogic/prompt-injection/HEAD/prompt-injection.code-workspace --------------------------------------------------------------------------------