πŸ›‘οΈ v0.4.0 β€” 100 adversarial defects fixed

sentinel-harness

Production security-operations agents, built as configuration β€” on Amazon Bedrock AgentCore Harness. The agent that builds agents.

2365
Tests Passing
90%
Coverage
100
Defects Fixed
M0–M14
Delivered
20
Tools
36
Evidence Sets
GitHub πŸ“¦ PyPI πŸ“– API Docs πŸš€ Quickstart

🎯 North Star: Agent Builds Agents

A self-iterating security-operations platform where natural language flows in, and the platform auto-builds, tests, evaluates, iterates, and promotes agents β€” fully controllable (HITL gates) and observable.

NL request β†’ Meta-Agent (Opus) β†’ auto-build β†’ evaluate β†’ iterate β†’ promote

βœ… Live-validated: closed loop proven on real AWS (weakβ†’improveβ†’passβ†’HITLβ†’promote)

Why sentinel-harness?

The thesis: a production SecOps agent should be configuration, not orchestration code.

⚑

Zero Orchestration Code

Declare model Β· prompt Β· tools Β· skills Β· memory Β· limits. AWS runs the entire agent loop in a per-session Firecracker microVM.

Live-validated
πŸ”„

Self-Improving Loop

Build β†’ evaluate β†’ retry-with-reasoning β†’ promote. The framework auto-improves its own agents via managed evaluation + regression guard + safety veto.

Proven on AWS
πŸ›‘οΈ

Security-First

HITL gates everywhere. Sandbox hooks. Egress control. Guardrail injection defense. Supply-chain hardened (SBOM + SLSA + CodeQL + pip-audit).

100 defects fixed
πŸ”Œ

Plug-and-Play

Backend-pluggable tools (Splunk / Elasticsearch / ServiceNow / Jira connectors), multi-account ops, a `*_LIVE` env to connect any real SIEM.

Offline-first
πŸ“Š

Detection Engineering Suite

7 deterministic, LLM-free tools: lint β†’ translate (YARA/Suricata/SPL/EQL) β†’ dedup β†’ coverage β†’ audit β†’ Navigator β†’ baseline regression gate.

CI-gateable
πŸ€–

MCP Server Mode

All 20 tools exposed as a standard MCP server. Any AI agent (Claude Code, Cursor, Windsurf) connects with zero integration code.

M15 β€” NEW

Detection Engineering Pipeline

7 deterministic tools, LLM-free, offline, CI-gateable β€” with an explicit "cannot analyze" honesty ledger.

sigma_yara_lint β†’ detection_translate β†’ detection_dedup β†’ detection_coverage β†’ detection_audit β†’ detection_navigator β†’ detection_baseline
# One-command CI gate
$ sentinel detection ci ./rules --min-score 70 --against baseline.json

# Translate Sigma to Splunk SPL + Elastic EQL
$ sentinel detection audit ./rules --targets splunk,elastic

# Export ATT&CK Navigator layer
$ sentinel detection ci ./rules --navigator-out layer.json

Live-Validated on AWS

Not mock β€” exercised against real AgentCore APIs on a non-production account, then torn down.

ProofWhat ranResult
Runtime A2A CreateAgentRuntime β†’ arm64 microVM β†’ live A2A message/send β†’ Bedrock Haiku β†’ Log4Shell verdict βœ“ HTTP 200
Closed Loop Weak agent (0.0) β†’ improve β†’ re-score (1.0) β†’ safety veto + regression guard β†’ HITL β†’ promote endpoint βœ“ closed:true
CUSTOM_JWT Gateway Cognito OIDC M2M β†’ RS256 token accepted (200) + no/garbage token rejected (401) βœ“ enforced
Memory Recall 4 sessions tenant-1 β†’ SEMANTIC extraction β†’ cross-session recall; tenant-2 = 0 (isolation) βœ“ isolated
Managed Evaluator SESSION LLM-judge ACTIVE + OnlineEvaluationConfig scoring 100% spans (Faithfulness/Harmfulness) βœ“ ACTIVE
Guardrail GUARDRAIL_INTERVENED masked a fake AWS key + sk- token in tool response βœ“ masked
Egress Control Private VPC β€” no IGW, no NAT, no 0.0.0.0/0 β€” PrivateLink only βœ“ default-deny
Registry Governance Registry + record: DRAFT β†’ PENDING_APPROVAL (autoApproval=false dual-gate) βœ“ governed
Drift Fix (live) Underscore-named Registry created (pre-fix: ValidationException) β†’ torn down, zero residue βœ“ fixed

Milestones Delivered

15 milestones from baseline reproduction to world-class depth β€” all shipped.

M0
Environment & baseline
2352 offline tests green + live scenario reproduction
M1
Meta-agent self-iteration engine
NL request β†’ Opus emits harness spec β†’ really builds + invokes + tears down
M2
Evaluation-driven self-improvement
Score β†’ retry-with-reasoning β†’ promote endpoint (LLM-judge, safety veto, regression guard)
M3
Attack validation & simulation
BAS replay + Sigma matcher finds blind spots; detonation lifecycle (honest simulated)
M4
Foundation: identity / gateway / egress / observability
CDK + Terraform dual-track; Guardrail/Identity/Observability live-deployed
M5
Data planes + domain skills
DIY mock world, backend-pluggable tools, multi-account ops
M6
Feedback-loop automation
Disposition auto-feeds strategy; whitelist optimization preserves TPs
M7
One-command delivery
Makefile + sentinel export (Strands, no lock-in) + QUICKSTART
M8
Quality CI enforcement
Coverage gate, Hypothesis property tests, pre-commit, py3.13
M9
Security-product credibility
SECURITY.md, pip-audit, CodeQL, Scorecard, sandbox fuzzing, SSRF guard
M10
Adopter experience
INTEGRATIONS, COOKBOOK, API reference site, SLSA provenance + SBOM
M11
On-platform proof
Token metrics, adversarial-reviewer, Memory recall, JWT gateway, online eval, A2A Runtime
M12
North-star closed loop
End-to-end: weak→improve→pass→HITL→promote (runner-orchestrated, live-proven)
M13
World-class depth
Benchmark model, golden datasets, enterprise world, compliance mapping, connectors, autonomy controller
M14
Adversarial hardening + detection suite
8 audit rounds (100 fixes), service-model drift scan, 7-tool detection CLI, SPL/EQL

Get Started in 60 Seconds

# Install
$ pip install sentinel-harness

# Run the full offline test suite
$ make test

# Demo: all 21 offline scenarios
$ make demo

# Detection engineering one-liner
$ sentinel detection ci ./my-sigma-rules --min-score 70

# Export to Strands (no lock-in)
$ sentinel export harnesses/alert-triage/harness.yaml -o agent.py

# Deploy to AWS (one command)
$ make deploy

Architecture

Three-layer SecOps agent architecture on AgentCore primitives.

L1 STRATEGY Alert Triage CVE Intel Detection Gen Feedback Loop Meta-Agent Self-Improving HITL gates Β· Memory Β· Supervisor Β· Managed Evaluate Β· Regression Guard Β· Safety Veto L2 ATTACK VALIDATION BAS Replay Sigma Matcher Attack-Path Graph Threat Hunt Detonation (simulated) Play Mode (every step HITL-gated) Β· Sandbox Hooks Β· Detection Engineering Suite (7 tools) L3 FOUNDATION Gateway (JWT) Registry (dual-gate) Private VPC Guardrail Observability IaC (CDK+TF) Cognito Identity Β· PrivateLink Egress Β· CloudWatch Metrics Β· Budgets Alarm Β· Provenance Ledger Amazon Bedrock AgentCore Harness (managed loop Β· microVM Β· Memory Β· Gateway)

Documentation

πŸš€

Quickstart

60-second offline path to running

πŸ›

Architecture

Three-layer design deep-dive

πŸ“–

API Reference

Full pdoc-rendered module docs

πŸ“

Cookbook

Add a tool / skill / harness / specialist

πŸ”Œ

Integrations

Connect your SIEM, ticketing, assets

πŸ”’

Threat Model

STRIDE + agent attack surface

βœ…

Compliance

SOC 2 / ISO 27001 / NIST CSF mapping

πŸ€–

MCP Server

Connect any AI agent to all 20 tools

πŸ“‹

Changelog

Release history & migration notes