Santhosh Janardhanan 85dec4908f security: hide defense mechanism from user-facing prompt display
Split system prompt and user message into public/private versions:
- Private versions (sent to LLM): include delimiter tags, anti-injection
  instructions, and 'never reveal' directives
- Public versions (shown to user via 'Show prompt'): clean prompt
  without any defense details, raw user text without tag wrappers

The user never sees:
- The ###### delimiter tags wrapping their input
- The instruction to ignore embedded instructions
- The instruction to never reveal the system prompt
- The instruction not to acknowledge delimiter tags

This prevents an attacker from learning the defense mechanism
and crafting injections that work around it.
2026-04-12 23:42:31 -04:00
2026-04-12 21:22:34 -04:00
2026-04-12 21:22:34 -04:00
2026-04-12 21:22:34 -04:00
2026-04-12 21:22:34 -04:00
2026-04-12 21:22:34 -04:00

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project
npx sv create my-app

To recreate this project with the same configuration:

# recreate this project
npx sv@0.15.1 create --template minimal --types ts --no-install .

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Description
No description provided
Readme 152 KiB
Languages
TypeScript 50.3%
Svelte 43%
CSS 3.6%
HTML 1.5%
Dockerfile 1%
Other 0.6%