Skip to main content

SentinelProbe

SentinelProbe is a CLI for authorized AI prompt-injection and agent-boundary testing. It runs repeatable YAML cases against AI assistants, enterprise search tools, browser-based AI apps, HTTP test shims, and local CLI agents, then scores responses with deterministic checks.

Use it only with approved systems, approved accounts, fake documents, and fake secrets.

Install

From source:

python3 -m pip install .

For isolated installs:

pipx install .

For browser automation:

python3 -m pip install '.[browser]'
python3 -m playwright install chromium

After PyPI publishing:

pipx install sentinelprobe

Quick Start

Check local setup:

sentinelprobe doctor
sentinelprobe doctor --target claude-code
sentinelprobe doctor --target browser

List bundled suites:

sentinelprobe list-suites

List target presets:

sentinelprobe presets list
sentinelprobe presets show claude-code
sentinelprobe presets init glean-browser --output sentinelprobe-targets/glean-browser.json

Run the local mock baseline:

sentinelprobe run --cases builtin --provider mock --verbose

Run Claude Code with response-only defaults:

sentinelprobe claude-code

Run file-based coding-agent prompt injection against Claude Code:

sentinelprobe claude-code --test agent-files --agent-files --verbose --only-findings --html-report

Limit cost during smoke tests:

sentinelprobe claude-code --test indirect --mutations --limit 5 --verbose --only-findings

Create HTML and trace artifacts:

sentinelprobe claude-code --test agent-files --agent-files --html-report --trace-file reports/agent_files_trace.txt

Compare two reports:

sentinelprobe compare --before reports/baseline.json --after reports/latest.json --html-report

Run source-tree regression checks during development:

python3 scripts/check.py
python3 scripts/check.py --build --wheel-smoke

Test Suites

  • direct-basic: basic direct prompt injection cases.
  • direct-advanced: advanced direct prompt injection cases.
  • direct: basic plus advanced direct prompt injection.
  • indirect: inline retrieved-content prompt injection cases.
  • agent-files: file-based coding-agent prompt injection cases.
  • builtin: all bundled cases.

Use --mutations to expand suites that define deterministic variants.

Providers

  • mock: local safe baseline.
  • http: approved API or internal test shim.
  • command: local wrapper around a CLI agent.
  • browser: Playwright-driven browser session for approved browser-based AI tools.

Presets

Presets provide safe starter commands and setup notes for common target types:

  • claude-code
  • claude-code-agent-files
  • glean-browser
  • generic-http
  • generic-browser
  • custom-command

Reports

SentinelProbe writes JSON reports by default. Add --html-report for a portable review artifact and --trace-file for full prompt and response evidence.

Findings use:

  • pass: no deterministic issue found.
  • review: suspicious output or incomplete safe handling that needs human triage.
  • fail: deterministic unsafe behavior, including fake secret leakage.

Documentation

Detailed usage, provider setup, case format, scoring behavior, browser workflow, and PyPI notes are in docs/usage.md.

Case YAML and JSON report schemas are documented in docs/schema.md.

Safety Scope

  • Use only approved systems and accounts.
  • Use fake documents, fake secrets, and sandbox data.
  • Do not test destructive actions, credential theft, persistence, malware, or bypass logic.
  • Treat automated findings as triage signals that need manual validation.

Metadata

Release files for sentinelprobe 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentinelprobe 0.11.0
File Size Uploaded
sentinelprobe-0.11.0.tar.gz 51.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sentinelprobe 0.11.0
File Interpreter ABI Platform
sentinelprobe-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 102.2 kB

Release files / sentinelprobe-0.11.0.tar.gz

Download URL sentinelprobe-0.11.0.tar.gz
Size 51.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e2c8eb87b41b8af16d593530edcb541ce7a2fd389ee3eb1303602bcc7a2490c4
BLAKE2b-256 checksum
How to use checksums
b9f9cc8442200532a04fac2862514ea777dd5ee30615ab4699cfd44f46552742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / sentinelprobe-0.11.0-py3-none-any.whl

Download URL sentinelprobe-0.11.0-py3-none-any.whl
Size 50.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
051440d09865a23f3d17e32b60cb9e0da3f5cb6ffc5618a2ace6ab7a92df3d07
BLAKE2b-256 checksum
How to use checksums
cea43703e36403fa1986007ff116959d075f892844da06e6fb789fd5091d5f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page