<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
iamruzaini/secod/secod-observability-response
──Details
PublishedOctober 23, 2026 at 05:45 PM
Content Hashsha256:b3cb88a81d087a72...
Git SHAd82c0b23d998
──Files
Files (1 file, 3.5 KB)
SKILL.md3.5 KBactive
SKILL.md · 74 lines · 3.5 KB

version: "1.0.0" name: secod-observability-response description: >- Help coding agents implement redacted security events, actionable detection signals, correlation, containment hooks, and recovery tests. license: Apache-2.0 metadata: secod-category: "generalized" secod-format: "implementation-v1" secod-maturity: "provisional"


Security-aware observability and response

Purpose

Own portable security invariants for security-aware observability and response. Provider and framework adapters own exact SDK calls and deployment controls.

When to use

Use for logging, audit events, monitoring, alerts, incident response, privileged operations, webhooks, payments, or authentication events. Do not activate for unrelated documentation or presentation-only changes.

Context to inspect

Inspect changed feature, trust boundaries, identity and tenant model, sensitive data, installed versions, existing project conventions, nearby tests, and selected provider adapters. Ask only for context repository cannot reveal.

Security invariants

  • Security-relevant events are structured, attributable, correlated, and minimally sensitive.
  • Secrets, tokens, request bodies, and protected content are redacted before emission.
  • Alerts map to an actionable containment or recovery procedure.

Secure defaults

  • Enforce policy at trusted server, worker, database, or provider boundary.
  • Minimize accepted input, authority, sensitive data, resource use, and failure scope.
  • Deny or stop safely when required identity, ownership, validation, or policy context is missing.
  • Add positive, negative, boundary, retry, and regression tests in same change.

Implementation workflow

  1. Trace feature from untrusted input through protected effect and persistent state.
  2. Resolve stack versions and reuse established project abstractions.
  3. Implement invariant before privileged effect; keep provider SDK details in selected adapter.
  4. Define bounded failure, retry, rollback, and observability behavior where applicable.
  5. Add tests proving allowed behavior and meaningful rejection paths.

Implementation recipes

Unsafe patterns to avoid

  • Logging credentials, full bodies, prompts, or sensitive headers.
  • Using free-form logs without stable event names and identifiers.
  • Adding alerts with no owner, threshold rationale, or response action.

Tests to add

Test valid behavior, unauthenticated/unauthorized or cross-tenant denial when applicable, malformed and boundary input, duplicate/concurrent/retried execution, dependency failure, and sensitive error/log redaction.

Provider and deployment steps

Apply selected provider adapter for exact SDK, console, plan, region, and deployment behavior. Never invent provider APIs. Name inaccessible external configuration and exact verification step without claiming it was inspected.

Official sources

Use `references/sources.md`. Direct primary pages support recipes; documentation indexes or llms.txt files may aid discovery but do not replace exact source pages.

Completion handoff

State invariant implemented, code and tests changed, provider adapter used, assumptions, and precise external action remaining. State inaccessible settings and unexecuted tests accurately; never invent provider APIs or certify application security.

All versions