explaingit

offsend/ai-boundary-test

Analysis updated 2026-05-18

0JavaScriptAudience · developerComplexity · 2/5Setup · moderate

TLDR

A safe test repository with fake secrets used to verify that the Offsend tool actually blocks an AI coding agent from leaking, reading, or running sensitive data.

Mindmap

mindmap
  root((AI Boundary Test))
    What it does
      Tests Offsend protections
      Uses fake secrets only
      Checks three boundary types
    Tech stack
      JavaScript
      Offsend CLI
      Editor hooks
    Use cases
      Verify prompt leak blocking
      Verify sensitive file read blocking
      Verify shell command confirmation
    Audience
      Developers using AI editors
      Security reviewers
      Offsend evaluators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Verify that a fake secret pasted into an AI prompt gets blocked before reaching the model.

USE CASE 2

Check whether an AI coding agent can be prevented from reading a sensitive file like a certificate.

USE CASE 3

Confirm that running a shell command touching a sensitive path asks for user confirmation first.

USE CASE 4

Compare an editor's AI-agent behavior with and without Offsend's protection hooks installed.

What is it built with?

JavaScriptOffsend CLI

How does it compare?

offsend/ai-boundary-test00kaku/gallery-slider-block0xkinno/vellum
Stars00
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-05-19
MaintenanceDormant
Setup difficultymoderateeasyhard
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing the separate Offsend CLI and editor hooks (macOS/Linux only) before the tests can run.

No license is stated in the README, so usage rights are unclear.

In plain English

This repository is a small, safe test kit for checking whether a companion tool called Offsend actually stops an AI coding assistant from sending, reading, or running things it shouldn't. Everything sensitive inside it, like a fake API key and a fake certificate file, is deliberately made up and cannot be used to access anything real, so people can run these tests without any risk of leaking real secrets. The repository checks three specific boundaries. The first is a prompt check, testing whether a secret-shaped value pasted into a prompt gets stopped before it ever reaches the AI model. The second is a file-read check, testing whether the AI agent can be blocked from opening a sensitive file, such as the fake certificate. The third is a shell-command check, testing whether the user is asked to confirm before the agent runs a command that touches a sensitive file. A fourth, safe control test confirms that normal, harmless requests still work as expected, so the protections are not just blocking everything. To use it, you install Offsend itself, which currently runs on macOS and Linux, then clone this test repository and open it in the AI coding editor you want to check, such as Cursor or Claude Code. After that, you install Offsend's hooks for that specific editor, which connects Offsend's checks into the editor's own workflow. Support varies by editor: Cursor and Claude Code support all three checks, including the file-read and shell-command gates, while Windsurf and Codex currently only support the prompt check. From there, you paste a series of example prompts described in the README, one at a time, and compare what happens with the expected result listed for each test. The README explains that Offsend's checks run entirely on your own machine, and that prompts, file contents, and findings are not sent anywhere for analysis. It also states plainly that this is a demonstration and not a formal security benchmark, and lists specific limitations, such as the file-read protection relying on a list of sensitive paths rather than scanning every file's contents. Users are encouraged to try to find prompts or scenarios that slip past the checks and report them as issues on the main Offsend project.

Copy-paste prompts

Prompt 1
Walk me through installing Offsend and cloning this ai-boundary-test repo to run its four tests.
Prompt 2
Help me install Offsend hooks for Claude Code with the shell gate enabled, then run Test 1 through Test 4.
Prompt 3
Explain the difference between the prompt gate, file-read gate, and shell-command gate this test repo checks.
Prompt 4
Show me how to report a bypass I found while testing this repo, following the issue format it describes.

Frequently asked questions

What is ai-boundary-test?

A safe test repository with fake secrets used to verify that the Offsend tool actually blocks an AI coding agent from leaking, reading, or running sensitive data.

What language is ai-boundary-test written in?

Mainly JavaScript. The stack also includes JavaScript, Offsend CLI.

What license does ai-boundary-test use?

No license is stated in the README, so usage rights are unclear.

How hard is ai-boundary-test to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ai-boundary-test for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.