csp-security SKILL.md skillA

csp-security from dpalfery/kyber-weave is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dpalfery/kyber-weave/csp-security@git:20260908.d184cd7

Pins git:20260908.d184cd7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dpalfery/kyber-weave
Path
products/kyber-squad/skills/csp-security/SKILL.md
Versions recorded
3
Latest version
git:20260908.d184cd7, committed Sep 8, 2026
First version recorded
Aug 16, 2026
Size
7,047 bytes
Repository stars
23
License
MIT

OWASP ASVS L2 security guidance (CSP, headers, HSTS, rate limiting, authz, input/output handling).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CSP / Security Headers / OWASP ASVS L2 Patterns

**Trigger:**
This skill MUST be loaded whenever working on:
- Security headers, CSP policies, or HSTS configuration.
- Rate limiting, throttling, or abuse prevention.
- Authorization policies, `[Authorize]` attributes, or role-based access control.
- Input validation, sanitization, or output encoding.
- CORS configuration or cross-origin security.
- Middleware pipeline ordering in `Program.cs`.
- API or BFF endpoints, security middleware, or `Program.cs` pipeline ordering.

---

## Security Target: OWASP ASVS Level 2

This project targets **OWASP Application Security Verification Standard (ASVS) Level 2**. All security decisions must be evaluated against this standard.

---

## Security Headers Middleware

### API: `SecurityHeadersMiddleware.cs`
Location: the API project's security-headers middleware (name it after the host's existing type).

**Required Headers (all responses):**
| Header | Value | Purpose |
|---|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dpalfery/kyber-weave/csp-security@sha256:00f6402451e0ed8c

The line at the top of this page pins the label git:20260908.d184cd7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cj3ddvuzfagorbau.svg)](https://markdownregistry.com/a/art_cj3ddvuzfagorbau)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 16, 2026 and Sep 8, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260908.d184cd7 latest2026-09-08 d184cd7 7,047 BA view · diff
v1.0.02026-08-22 c8a0f40 7,100 BA view · diff
v1.0.02026-08-16 5b00f0e 7,127 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7047 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dpalfery/kyber-weave · 23 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cj3ddvuzfagorbau
GET https://markdownregistry.com/api/v1/resolve?ref=dpalfery/kyber-weave/csp-security
GET https://markdownregistry.com/api/v1/blob/00f6402451e0ed8c42d443af0f83cfca3cf128434db999cee4a609adc4c72e96

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dpalfery/kyber-weave

codegraph SKILL.md skill
dpalfery/kyber-weave · .apm/skills/codegraph/SKILL.md · Use when the CodeGraph index is missing or stale, when codegraph tools report a project is not indexed, or when docs…
v0.1.0 · audit A · 23 stars
kyber-docs-authoring SKILL.md skill
dpalfery/kyber-weave · .apm/skills/kyber-docs-authoring/SKILL.md · Generate conformant Kyber-Weave frontmatter for repository documentation so that docs validate and docs drift pass. Use…
v0.1.4 · audit A · 23 stars
kyber-docs-integrity-review SKILL.md skill
dpalfery/kyber-weave · .apm/skills/kyber-docs-integrity-review/SKILL.md · Use when a human requests a statement-by-statement review of governed Markdown documents.
v0.1.0 · audit A · 23 stars
kyber-docs-onboarding-and-assessment SKILL.md skill
dpalfery/kyber-weave · .apm/skills/kyber-docs-onboarding-and-assessment/SKILL.md · Bootstraps or audits a repository's documentation architecture — root AGENTS.md, canonical tree, catalog, config…
git:20261031.046ca6a · audit A · 23 stars
kyber-weave-cli SKILL.md skill
dpalfery/kyber-weave · .apm/skills/kyber-weave-cli/SKILL.md · Use when installing, updating, or configuring the Kyber-Weave CLI or the KyberDash engine: canonical install, update…
v0.1.0 · audit B · 23 stars
kyber-weave-model-profile SKILL.md skill
dpalfery/kyber-weave · .apm/skills/kyber-weave-model-profile/SKILL.md · Builds a Kyber-Squad model preset through an interview: asks which installed harness to target, then tier by tier asks…
v0.2.0 · audit A · 23 stars
spec-conductor SKILL.md skill
dpalfery/kyber-weave · .apm/skills/spec-conductor/SKILL.md · Orchestrate delivery of a three-file specification bundle whose task list is already written — requirements.md…
v0.1.0 · audit A · 23 stars
product-owner SKILL.md skill
dpalfery/kyber-weave · .claude/skills/product-owner/SKILL.md · Use when authoring a feature spec's requirements (EARS), technical design, or test-driven task list — the phase…
v1.0.0 · audit A · 23 stars
AGENTS.md AGENTS.md file
dpalfery/kyber-weave · AGENTS.md
git:20261031.4f642d0 · audit A · 23 stars
CLAUDE.md CLAUDE.md file
dpalfery/kyber-weave · CLAUDE.md
git:20260802.307d1a9 · audit A · 23 stars
AGENTS.md@dash AGENTS.md file
dpalfery/kyber-weave · dash/AGENTS.md
git:20261031.4f642d0 · audit A · 23 stars
AGENTS.md@dash/tray AGENTS.md file
dpalfery/kyber-weave · dash/tray/AGENTS.md
git:20261031.4f642d0 · audit A · 23 stars

Every file in dpalfery/kyber-weave

Browse by kind, by grade A, or by owner.