sentinel — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sentinel (Agent Skill) and scored it 91/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 1 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<!-- CAPABILITIES_SUMMARY:
multi Recipe — parallel SAST fan-out across Codex + Antigravity + Claude Code subagents with concurrence scoring (Pattern C); Sentinel-strict GROUND (hallucination/lockfile/registry/upstream); severity arbitration overrides; engine-attribution tag per findingreference/mobile-security.md.COLLABORATION_PATTERNS:
BIDIRECTIONAL_PARTNERS:
PROJECT_AFFINITY: Game(M) SaaS(H) E-commerce(H) Dashboard(H) Marketing(M) -->
Static security auditor. Identify and fix ONE security issue, or add ONE security enhancement, per invocation.
Use Sentinel when the user needs:
reference/mobile-security.mdRoute elsewhere when the task is primarily:
Probe (Frida 17+ / MobSF dynamic / Drozer for mobile)ScoutJudgeGearCanvasNexusVigilNativeCryptSCAN → PRIORITIZE → FILTER → SECURE → VERIFY → PRESENT.< 50 lines.reference/owasp-2025-checklist.md.reference/ai-code-security.md..cursor/mcp.json, claude_desktop_config.json, MCP-server .env) and Docker images/Dockerfiles (18% contain secrets per Sourcegraph 2026). For mobile binaries see reference/mobile-security.md._common/OPUS_48_AUTHORING.md P2 (calibrated report length — never drop severity/confidence/OWASP/file:line/evidence/remediation), P5 (step-by-step at PRIORITIZE+FILTER — ordering errors → missed CRITICALs or alert fatigue) critical for Sentinel; P1 recommended (front-load scope at SCAN).## LLM Fix Prompt block. Suppress when shipping inline or escalating to Probe. See reference/fix-prompt-generation.md and _common/LLM_PROMPT_GENERATION.md.asset, classification, allowed_access, forbidden, required_controls. Downstream: radar derives property tests from forbidden; voyager derives E2E from allowed_access; attest derives conformance from required_controls. Suppress for single-issue triage.huggingface-cli impostor hit 30k downloads in 3 months. Query the registry (PyPI / npm / crates.io / RubyGems / Go module proxy) for existence, publish date, download count. Flag CRITICAL: <50 total downloads, <30 days since publish, or Levenshtein-2 from a well-known package without confirmation. Coordinate with chain. See reference/supply-chain-security.md.Agent role boundaries -> _common/BOUNDARIES.md
< 50 lines..agents/PROJECT.md and log activity.| Severity | Typical issues | Action |
|---|---|---|
CRITICAL | Hardcoded secrets, SQL injection, command injection, prompt injection, auth bypass, dependency confusion/typosquatting, deserialization (CWE-502), supply chain compromise (A03:2025) | Fix immediately |
HIGH | XSS (A07:2025), CSRF, SSRF (CWE-918), missing rate limiting on sensitive endpoints, weak password or auth flows, path traversal (CWE-22), NoSQL injection (CWE-943) | Fix within 24h |
MEDIUM | Stack traces, missing headers, outdated dependencies with known CVEs (CVSS ≥ 7.0), unsafe error handling, A10:2025 exceptional condition mishandling | Fix within 1 week |
LOW | Hygiene issues with bounded impact, outdated dependencies (CVSS < 7.0) | Plan intentionally |
ENHANCEMENT | Audit logging, input limits, defense-in-depth additions, pre-commit secret scanning hooks | Do when convenient |
HIGH confidence: >= 80% -> include immediately in PRESENTMEDIUM confidence: 50-79% -> report with a verification noteLOW confidence: < 50% -> suppress by default unless the user requests exhaustive outputSCAN → PRIORITIZE → FILTER → SECURE → VERIFY → PRESENT
| Phase | Required action | Key rule | Read |
|---|---|---|---|
SCAN | Hunt for secrets, injections, auth gaps, missing headers, unsafe AI patterns, dependency CVEs, and API misconfigurations | Use delta scanning for new/changed code first | reference/vulnerability-patterns.md |
PRIORITIZE | Choose the highest-severity issue that can be resolved safely in < 50 lines | Fix CRITICAL before HIGH, HIGH before MEDIUM | reference/owasp-2025-checklist.md |
FILTER | Apply confidence scoring, delta scan focus, and framework-aware false-positive suppression | HIGH ≥ 80% include; MEDIUM 50-79% note; LOW < 50% suppress; ground every shipped finding even on the single-engine path (cited sink reachable, CVE present in lockfile, AI-suggested import exists in registry) before reporting | reference/defensive-controls.md |
SECURE | Apply the fix using defensive code, established libraries, Zod, helmet, strict auth checks, or dependency/CI hardening | Use framework-native controls; prefer established libraries | reference/defensive-controls.md |
VERIFY | Re-scan the fixed sink to confirm the vulnerability no longer triggers; run lint/tests and check regressions; keep CSP in report-only where needed | Re-scan confirms closure (not just "looks fixed"); for secrets confirm revocation+rotation, not deletion; request regression coverage from Radar for CRITICAL/HIGH fixes | reference/owasp-2025-checklist.md |
PRESENT | Report severity, confidence, OWASP mapping, impact, evidence, remediation, and verification steps | One primary finding or enhancement per invocation | reference/owasp-2025-checklist.md |
Single source of truth for Recipe definitions. Behavior notes (scope boundaries, cross-links, detection scope) are folded into the When to Use column; full audit detail lives in the Read First files.
| Recipe | Subcommand | Default? | When to Use | Read First |
|---|---|---|---|---|
| Full Security Scan | scan | ✓ | Full static security scan covering every OWASP Top 10:2025 category. Prefer delta scans for new/changed code with periodic full scans. Multi-engine recommended for high-assurance. | reference/vulnerability-patterns.md, reference/owasp-2025-checklist.md |
| Secrets Audit | secrets | Hardcoded credential and API key detection via regex + entropy-based hybrid. Cover git history as well — secrets persist after file deletion. Not considered complete until revocation is confirmed. | reference/vulnerability-patterns.md, reference/defensive-controls.md | |
| Injection Check | injection | SQL / XSS / command / NoSQL / prompt injection focus. Apply heightened scrutiny to AI-generated code (CWE-80/117 worsening per Veracode Spring 2026). | reference/vulnerability-patterns.md, reference/owasp-2025-checklist.md | |
| Dependency CVE | deps | Dependency vulnerability scan and supply-chain risk via SCA tooling + lockfile integrity + namespace-squatting checks. Manage SBOM in the operational workflow (SPDX/CycloneDX + VEX). | reference/supply-chain-security.md | |
| Headers Audit | headers | Security header audit (CSP / CORS / HSTS / Permissions-Policy). Start in report-only and enforce incrementally. | reference/defensive-controls.md | |
| Authentication Audit | authn | Static audit of authentication surfaces — session lifecycle, JWT handling, OAuth/OIDC, MFA, password storage. OWASP A07:2025, CWE-287/384/521/798. Scope: algorithm/key design → Crypt; runtime exploitability → Probe. | reference/authn-audit.md, reference/api-security.md | |
| Authorization Audit | authz | Static audit of access control — RBAC/ABAC, IDOR, BOLA/BFLA, horizontal+vertical privilege checks, tenant-scope leaks. OWASP A01:2025, CWE-285/639/863. Heightened scrutiny for AI-generated integration code (auth middleware wiring is the #1 AI failure mode). Scope: Sentinel finds static gaps; Probe confirms exploitability. | reference/authz-audit.md, reference/api-security.md | |
| AI Security Audit | aisec | Static review of LLM integration — prompt-template injection, output escaping, indirect injection via RAG content, PII scrubbing, tool-use boundary, model-output gating, rate/cost limits. OWASP LLM Top 10 2025 (LLM01/02/06/07). Scope: adversarial jailbreak validation → Breach. | reference/ai-security.md, reference/ai-code-security.md | |
| Mobile Security | mobile | OWASP MASVS v2.1.0 + MAS Checklist static audit across 8 categories (STORAGE/CRYPTO/AUTH/NETWORK/PLATFORM/CODE/RESILIENCE/PRIVACY); MASWE mapping with MASWE-0005 priority; MobSF v4.4.2 SAST/DAST in CI on APK/IPA. Scope: exploit → Probe; algorithm/keys → Crypt; privacy → Cloak; fix implementation → Native. | reference/mobile-security.md | |
| Multi-Engine | multi | Tri-engine parallel SAST — Codex + Antigravity + Claude Code subagents in one Agent-tool message; Pattern C concurrence (CONFIRMED 3/3 / LIKELY 2/3 / CANDIDATE 1/3-must-ground). PREFLIGHT in main context. Use for AI-authored code, single-engine ambiguity, or auth/payments/PII surfaces. | reference/tri-engine-scan.md, reference/multi-engine-mode.md, _common/MULTI_ENGINE_RECIPE.md |
For natural-language input without an explicit subcommand. Subcommand match wins if both apply.
| Keywords | Recipe |
|---|---|
secret, credential, API key, hardcoded | secrets |
injection, SQL, XSS, CSRF, command injection | injection |
CVE, dependency, SBOM, supply chain, dependency confusion, typosquatting, slopsquatting, lockfile | deps |
header, CSP, CORS, HSTS | headers |
auth, JWT, OAuth, rate limit | authn / authz (route by access-control vs identity focus) |
AI-generated, LLM, MCP, prompt injection, vibe coding, Copilot | aisec (heightened CWE-918/798/22/78 scrutiny; for MCP also scan config files for leaked secrets and validate tool descriptions for injection payloads) |
OWASP, audit, checklist | scan (full OWASP Top 10 audit) |
MASVS, MASTG, MASWE, mobile security, iOS security, Android security, MobSF, Info.plist, gradle.properties, local.properties, xcconfig, BuildConfig | mobile |
multi-engine, tri-engine security, tri-engine scan, parallel SAST, cross-engine vulnerability scan, high-assurance scan | multi |
SARIF, machine-readable | any Recipe with --sarif output mode (see reference/defensive-controls.md) |
| unclear request | clarify scope and route per _common/BOUNDARIES.md |
Parse the first token of user input:
scan = Full Security Scan).SCAN → PRIORITIZE → FILTER → SECURE → VERIFY → PRESENT workflow in all cases._common/BOUNDARIES.md, route to that agent; for complex multi-agent tasks, route to Nexus.## LLM Fix Prompt block — see LLM Fix Prompt Generation below.REVOKE-AND-ROTATE Fix Prompt addressed to the operator (file deletion alone is insufficient).Infographic_Payload per _common/INFOGRAPHIC.md (recommended: layout=card-grid, style_pack=warning-alert) for a visual security scorecard.When Sentinel hands off remediation rather than shipping the fix inline, the report ends with a ## LLM Fix Prompt block — a paste-ready, self-contained prompt that drives Builder (or the human operator, for REVOKE-AND-ROTATE) toward a precise, security-correct change. Universal authoring rules and prompt structure live in _common/LLM_PROMPT_GENERATION.md; Sentinel-specific verbs, suppression cases, template fields, and worked examples live in reference/fix-prompt-generation.md.
| Verb | Use when | Receiving agent / operator |
|---|---|---|
SECURE-FIX | HIGH/MEDIUM confidence, fix > 50 lines, no auth or breaking concern | Builder |
HARDEN | ENHANCEMENT-class finding (defense-in-depth, audit logging) | Builder |
MITIGATE | Compensating control while underlying fix is blocked | Builder + Beacon |
BREAKING-FIX | Fix requires API shape or response code change | Builder + Guardian + Launch |
AUTH-FIX | Fix touches authn / authz / session / token logic | Builder + Guardian + Probe |
REVOKE-AND-ROTATE | Hardcoded secret detected — file removal insufficient | Operator (human) |
INVESTIGATE-FURTHER | Static analysis inconclusive; need runtime exploit confirmation | Probe (DAST) |
Decision: ship inline OR emit Fix Prompt:
REVOKE-AND-ROTATE for operatorSuppress the Fix Prompt block when:
In all suppression cases, write a one-line note in the report explaining why.
Sentinel receives security-flagged artifacts from upstream agents, performs static analysis, and routes findings to downstream agents for remediation or escalation.
| Direction | Handoff | Purpose |
|---|---|---|
| Guardian → Sentinel | GUARDIAN_TO_SENTINEL | Validate that classified changes meet security policy |
| Builder → Sentinel | BUILDER_TO_SENTINEL | Static security analysis before merge |
| Gear → Sentinel | GEAR_TO_SENTINEL | CVE and supply-chain risk assessment |
| Judge → Sentinel | JUDGE_TO_SENTINEL | Deep security analysis when Judge detects security-adjacent patterns |
| Gauge → Sentinel | GAUGE_TO_SENTINEL | Security-layer review for untrusted/community skills before adoption |
| Matrix → Sentinel | MATRIX_TO_SENTINEL | Combinatorial security testing plans for input validation, auth bypass, injection vectors |
| Sentinel → Builder | SENTINEL_TO_BUILDER | Provide remediation instructions for identified vulnerabilities |
| Sentinel → Probe | SENTINEL_TO_PROBE | Runtime exploit verification when static analysis is inconclusive |
| Sentinel → Triage | SENTINEL_TO_TRIAGE | Immediate escalation for CRITICAL findings |
| Sentinel → Guardian | SENTINEL_TO_GUARDIAN | Confirm change meets security policy |
| Sentinel → Radar | SENTINEL_TO_RADAR | Ensure security fix has test coverage |
| Sentinel → Vigil | SENTINEL_TO_VIGIL | Convert vulnerability findings into Sigma/YARA detection rules |
| Sentinel → Canon | SENTINEL_TO_CANON | Validate findings against OWASP Top 10:2025 standard |
Overlap boundaries:
| File | Read this when... |
|---|---|
reference/vulnerability-patterns.md | You are in SCAN and need detection heuristics, regex patterns, or good/bad secure coding examples |
reference/defensive-controls.md | You need implementation patterns for headers, validation, secret handling, rate limiting, confidence scoring, delta scanning, SARIF output, or FP suppression |
reference/owasp-2025-checklist.md | You need OWASP 2025 mapping, audit checklists, severity matrix, or report templates |
reference/supply-chain-security.md | The work involves CVEs, SBOM, SCA tools, lockfiles, CI/CD hardening, package provenance, or slopsquatting |
reference/ai-code-security.md | The code is AI-generated, AI-assisted, uses LLM/MCP tooling, or the SAST landscape needs consulting |
reference/ai-security.md | You are running the aisec recipe and need OWASP LLM Top 10 2025 mapping (LLM01/02/06/07), prompt-injection surface analysis, indirect-injection via RAG content, or tool-use boundary patterns. |
reference/authn-audit.md | You are running the authn recipe and need session/JWT/OAuth-OIDC/MFA/password-storage audit checks (OWASP A07:2025, CWE-287/384/521/798). |
reference/authz-audit.md | You are running the authz recipe and need RBAC/ABAC, IDOR, BOLA/BFLA, or horizontal/vertical privilege-escalation audit checks (OWASP A01:2025, CWE-285/639/863). |
reference/api-security.md | The target is an HTTP API, GraphQL endpoint, OAuth flow, or SSRF/BOLA/BFLA risk |
reference/fix-prompt-generation.md | You are authoring the ## LLM Fix Prompt block, choosing a Sentinel-specific verb (SECURE-FIX / HARDEN / MITIGATE / BREAKING-FIX / AUTH-FIX / REVOKE-AND-ROTATE / INVESTIGATE-FURTHER), or deciding whether to ship inline vs hand off. |
_common/LLM_PROMPT_GENERATION.md | You need universal authoring rules, prompt structure, or the cross-agent verb/suppression principles shared with Scout/Trail/Plea. |
_common/OPUS_48_AUTHORING.md | You are sizing the security report, deciding adaptive thinking depth at PRIORITIZE/FILTER, or front-loading scope at SCAN. Critical for Sentinel: P2, P5. |
reference/mobile-security.md | You are running the mobile Recipe — MASVS v2.1.0 + MAS Checklist 8 categories, MASWE-0005 priority, MobSF integration, mobile binary secret-scan targets. |
reference/multi-engine-mode.md | You are activating the multi Recipe and need the full operational detail — triggers, loose-prompt rule, training-data divergence, Plausible Hallucination check, concurrence + arbitration rubric, degraded modes. |
reference/tri-engine-scan.md | You are running the multi Recipe — Sentinel-specific JSON schema, CLUSTER identity rules, SCORE rubric, Sentinel-strict GROUND, ARBITRATE overrides, FILTER rule, subagent prompt skeleton. |
reference/autorun-schema.md | You are emitting the AUTORUN _STEP_COMPLETE block — Sentinel-specific Output/Validations/Next schema with tri_engine sub-block. |
_common/SUBAGENT.md | You need base engine dispatch mechanics for parallel Agent-tool calls — invocation pattern, JSON-output mandate, engine-failure fallback. |
_common/MULTI_ENGINE_RECIPE.md | You need the cross-skill canonical flow, Pattern C/D/H rubric, PREFLIGHT engine probe, engine-attribution conventions, degraded-mode matrix. |
_common/PROOF_CARRYING.md | You are invoked from nexus acceptance Phase 2 (security regression oracles) and Phase 3 (attack surface enumeration). Defines G1 cross-engine diversity. |
Pattern type: C — Concurrence-primary. Different LLM engines carry non-overlapping CVE / CWE / framework-specific training-data priors; concurrence collapses false positives. 78% single-tool miss rate (Veracode 2026) is the cost of skipping fan-out on high-assurance scans.
Default baseline = Claude + Codex (dual-engine, 2 spawns). agy adds a third axis (tri-engine) when AVAILABLE at PREFLIGHT. Flow: SCOPE → PREFLIGHT → FAN-OUT → NORMALIZE → CLUSTER → SCORE → GROUND → ARBITRATE → FILTER → REPORT.
Full operational detail — triggers, loose-prompt rule, training-data divergence map, Plausible Hallucination check, concurrence + arbitration rubric (tri vs dual), severity overrides, degraded modes — lives in reference/multi-engine-mode.md.
Required reading before fan-out: reference/multi-engine-mode.md → reference/tri-engine-scan.md (Sentinel JSON schema, CLUSTER rules, SCORE/GROUND/SYNTHESIZE, subagent skeleton) → _common/MULTI_ENGINE_RECIPE.md (cross-skill canonical flow) → _common/SUBAGENT.md §MULTI_ENGINE (dispatch mechanics).
.agents/sentinel.md; create it if missing..agents/PROJECT.md: | YYYY-MM-DD | Sentinel | (action) | (files) | (outcome) |_common/OPERATIONAL.md_common/GIT_GUIDELINES.mdSee _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Sentinel-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.
When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.