Foxmate Vault — secrets out of AI prompts 作者: Pooria
Store an API key or a card number encrypted in your browser and use it by a handle such as vault:api-key. The value goes into a request header or a form field, and never into the text that an AI model reads.
尚无用户尚无用户
扩展元数据
关于此扩展
foxvault is the reference add-on for the foxvault library. It shows how an AI agent can use a secret without seeing it.
Who it is for: developers who build AI agents or extensions, and want to keep API keys and card numbers out of the model's context and logs.
What it does
Scope of this version: the add-on works only with servers on your own computer (127.0.0.1 and localhost). To try the header path, run the small echo server from the foxvault repository. It returns a hash of the header, never the header.
What leaves your computer: nothing. The add-on sends a secret only in a request to a host that you allowed, and its host permissions limit those hosts to your own computer. It has no server and no analytics.
Permissions
The source code is MIT licensed.
Who it is for: developers who build AI agents or extensions, and want to keep API keys and card numbers out of the model's context and logs.
What it does
- Stores a secret with AES-GCM encryption. The key stays in your browser's IndexedDB.
- Gives each secret a handle, for example
vault:api-key, and a list of allowed hosts. - Adds the secret to a request header (for example
Authorization: Bearer ...) only for requests to an allowed host. - Fills a form field in the active tab with a secret, after a foxgate policy check. The host must be in the secret's allowed hosts.
- Redacts a prompt: it puts the handle where a stored value shows up in text.
- Lists each time a secret was used.
Scope of this version: the add-on works only with servers on your own computer (127.0.0.1 and localhost). To try the header path, run the small echo server from the foxvault repository. It returns a hash of the header, never the header.
What leaves your computer: nothing. The add-on sends a secret only in a request to a host that you allowed, and its host permissions limit those hosts to your own computer. It has no server and no analytics.
Permissions
- Access to 127.0.0.1 and localhost, web requests and blocking: add the header to requests to an allowed host on your computer.
- Scripting and web navigation: fill one field in the active tab when you click Fill.
- Public suffix list: compare a page's site with the allowed hosts.
- Storage: keep the encrypted secrets and the policy in your browser.
The source code is MIT licensed.
评分 0(1 位用户)
权限与数据
更多信息