Skip to main content

Polski

Sentinel

Sentinel is an AI agent for security-auditing other agents, skills, prompt bundles, plugins, hooks, and MCP servers. It runs inside Codex or Claude Code, so it uses the invoking user's signed-in account and model. It does not require an API key belonging to the project author.

The agent includes nine focused skills:

  • target-recon — inventories the target, entry points, declared capabilities, trust boundaries, external integrations, and files that could not be inspected. It establishes the audit scope before any verdict is made.
  • prompt-injection — finds attempts to override instruction hierarchy, extract hidden prompts, promote untrusted content to instructions, or load remote and encoded instructions. It also evaluates whether the agent keeps data and commands separated.
  • tool-safety — reviews tool definitions, permissions, confirmation gates, parameter validation, filesystem and network reach, destructive actions, and the consequences of hostile tool or MCP output.
  • code-security — traces untrusted inputs to sensitive sinks and reviews command execution, dynamic evaluation, path traversal, unsafe deserialization, archive extraction, secret handling, TLS settings, and related implementation flaws.
  • supply-chain — checks dependencies, version pinning, install and update hooks, downloaded executables, remote code, package integrity, and whether a compromised dependency could gain agent authority.
  • agent-behavior — reasons about multi-step autonomy: scope control, approval boundaries, loops, retries, partial failures, persistence, self-modification, misleading success states, and recovery behavior.
  • deterministic-testing — runs Sentinel's bounded read-only scanner, preserves hashes and redacted evidence, records coverage limitations, and treats machine findings as signals that still require contextual AI review.
  • risk-correlation — connects evidence across prompts, code, manifests, and tools into credible attack paths; verifies controls, removes duplicates and false positives, and assigns a defensible verdict and priority.
  • security-reporting — produces the final user-facing audit in the user's language: a short summary, a table of findings with locations and priorities, concrete remediation proposals, and an offer to provide the full evidence-level report.

A shared local MCP server gives the agent access to bounded deterministic security checks. The scanner never executes, imports, installs, or invokes the audited target.

Installation

Python 3.11 or newer is required.

pipx install sentinel-ai-auditor

Upgrade an existing PyPI installation:

pipx upgrade sentinel-ai-auditor

Install directly from a pushed repository branch on another computer:

pipx install "git+https://github.com/KacperStasieluk/sentinel.git@BRANCH_NAME"

Use pipx install --force when reinstalling the same branch. After the release tag is published, the stable repository URL will be git+https://github.com/KacperStasieluk/sentinel.git@v0.2.0.

Install the agent in Claude Code:

sentinel install claude
claude --agent sentinel

You can also ask Claude in a regular conversation:

Use the Sentinel agent to audit ./path/to/skill

Install the agent in Codex:

sentinel install codex

Then ask Codex:

Use the Sentinel agent to audit ./path/to/agent

Install both host adapters:

sentinel install all

The installer adds the native agent definition, the shared skills, and the local MCP server registration. It does not store any API key. --dry-run shows destination paths, --force replaces modified Sentinel-managed files, and --skip-mcp skips MCP registration.

Local tools

Run only the deterministic scanner, without an AI verdict:

sentinel scan ./target --json

List the bundled skills and deterministic checks:

sentinel skills
sentinel checks

Run the MCP server manually:

sentinel mcp

Deterministic signals are evidence for the agent, not a standalone security verdict. A PASS result is not a guarantee of safety.

Development and publishing

python -m pip install -e ".[dev]"
python -m pytest
python -m ruff check src tests
python -m ruff format --check src tests
python -m build
python -m twine check --strict dist/*

Publishing to PyPI uses GitHub Trusted Publishing after a version-matching tag is pushed. The current release tag is v0.2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentinel_ai_auditor-0.2.0.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentinel_ai_auditor-0.2.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file sentinel_ai_auditor-0.2.0.tar.gz.

File metadata

  • Download URL: sentinel_ai_auditor-0.2.0.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sentinel_ai_auditor-0.2.0.tar.gz
Algorithm Hash digest
SHA256 34296b63629fa95dcf58295d59219dc0fb02eacb3c23b750f9c5a5e0414ec093
MD5 79bc43326fed2779ad2ad58c613cc7ac
BLAKE2b-256 957ed6010d2e531a66116508c3fc4d4506b47b217262d24b462d5bb3ebf6024f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinel_ai_auditor-0.2.0.tar.gz:

Publisher: publish.yml on KacperStasieluk/sentinel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sentinel_ai_auditor-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sentinel_ai_auditor-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98eb3140508fc4d8ed2506323a9545fe309ec1da7e6fffb3b3c7fdd6a4994986
MD5 42f0f69461b73a33e6191a80bb355872
BLAKE2b-256 71eccd7fa5d90a67235082870ce24edf17721a20ae25dfb7dc2340d5c6bd5c32

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinel_ai_auditor-0.2.0-py3-none-any.whl:

Publisher: publish.yml on KacperStasieluk/sentinel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.0

2 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