security-patterns SKILL.md skillB

security-patterns from crowdstrike/foundry-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add crowdstrike/foundry-skills/security-patterns@v1.7.0

Pins v1.7.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
crowdstrike/foundry-skills
Path
skills/security-patterns/SKILL.md
Versions recorded
13
Latest version
v1.7.0, committed Oct 30, 2026
First version recorded
Jul 31, 2026
Size
15,310 bytes
Repository stars
36
License
MIT

Security patterns for Falcon Foundry apps including OAuth scopes, RBAC, input validation, UI security, and credential management. TRIGGER when user asks to "configure OAuth scopes", "secure a Foundry app", "handle secrets", "add input validation", or needs to review a Foundry app for security concerns (XSS, CSP, credential management). Also trigger during pre-deployment security reviews.

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

# Foundry Security Patterns

> **Part of a suite.** If `development-workflow` has not already run, and this is a new app or its first capability, load the `development-workflow` skill first — it owns the CLI prerequisite check, scaffolding order, and manifest coordination.

Security patterns for Falcon Foundry app development covering authentication, input validation, UI security, and platform-specific considerations. Foundry apps run on a cybersecurity platform — security is a core requirement.

## RBAC (Role-Based Access Control)

| Capability | RBAC Supported |
|-----------|----------------|
| Collections | Yes |
| Dashboards | Yes |
| Functions | Yes |
| UI extensions / pages / navigation | Yes |
| RTR scripts | Yes |
| API integrations | **No** |
| Queries | **No** |
| Workflows | **No** |

### The Permission → Role → Artifact Model

RBAC is three linked pieces the table above doesn't spell out — you need all three or the gate is silently absent.

**1. Permission** (one command, also creates the role):

```bash
foundry auth permissions create \
  --key "myapp:access" \
  --name "My App Access" \
  --description "Access to My App" \
  --role-name "My App Operator" \
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add crowdstrike/foundry-skills/security-patterns@sha256:f26d72e4d6fb55c8

The line at the top of this page pins the label v1.7.0, 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_5w2scyavq4ddkn53.svg)](https://markdownregistry.com/a/art_5w2scyavq4ddkn53)

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

Versions

The registry has recorded 13 versions of this file, between Jul 31, 2026 and Oct 30, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
v1.7.0 latest2026-10-30 024c8b0 15,310 BB view · diff
v1.6.02026-10-28 c61303b 15,310 BB view · diff
v1.6.02026-10-28 eb33226 15,201 BB view · diff
v1.6.02026-10-27 19dc50d 8,559 BB view · diff
v1.6.02026-10-21 5f5b274 7,986 BB view · diff
v1.6.02026-10-01 61572f3 7,345 BB view · diff
v1.5.02026-09-29 bf65b7a 7,345 BB view · diff
v1.5.02026-09-21 92357b5 7,571 BB view · diff
v1.5.02026-08-20 d9af175 7,571 BB view · diff
v1.5.02026-08-19 421fdde 7,595 BB view · diff
v1.4.12026-08-17 1beca2a 7,595 BB view · diff
v1.4.12026-08-07 513cdd5 7,323 BB view · diff
v1.4.02026-07-31 8c50ee7 7,323 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15310 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

crowdstrike/foundry-skills · 36 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5w2scyavq4ddkn53
GET https://markdownregistry.com/api/v1/resolve?ref=crowdstrike/foundry-skills/security-patterns
GET https://markdownregistry.com/api/v1/blob/f26d72e4d6fb55c88431769d6afdeb227282a84588bc0804c49f0b056847f6f2

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 crowdstrike/foundry-skills

.cursorrules Cursor rule
crowdstrike/foundry-skills · .cursorrules
git:20260424.aa8e866 · audit B · 36 stars
AGENTS.md AGENTS.md file
crowdstrike/foundry-skills · AGENTS.md
git:20261029.4fa339e · audit A · 36 stars
CLAUDE.md CLAUDE.md file
crowdstrike/foundry-skills · CLAUDE.md
git:20260929.bf65b7a · audit A · 36 stars
ai-agents-development SKILL.md skill
crowdstrike/foundry-skills · skills/ai-agents-development/SKILL.md · Build AI agents and knowledge bases for Falcon Foundry apps. TRIGGER when user asks to "create an AI agent", "add a…
v1.7.0 · audit A · 36 stars
api-integrations SKILL.md skill
crowdstrike/foundry-skills · skills/api-integrations/SKILL.md · Expose external APIs to Falcon Foundry via OpenAPI specs. TRIGGER when user asks to "create an API integration", "adapt…
v1.7.0 · audit A · 36 stars
app-audit SKILL.md skill
crowdstrike/foundry-skills · skills/app-audit/SKILL.md · Audit an existing Falcon Foundry app for documented anti-patterns and fix the safe ones, like npm audit. TRIGGER when…
v1.7.0 · audit A · 36 stars
app-upgrades SKILL.md skill
crowdstrike/foundry-skills · skills/app-upgrades/SKILL.md · Upgrade a Falcon Foundry app that was installed from a template to a newer version of that template, in place. TRIGGER…
v1.7.0 · audit A · 36 stars
collections-development SKILL.md skill
crowdstrike/foundry-skills · skills/collections-development/SKILL.md · Design JSON Schema collections and CRUD patterns for Falcon Foundry apps. TRIGGER when user asks to "create a…
v1.7.0 · audit A · 36 stars
debugging-workflows SKILL.md skill
crowdstrike/foundry-skills · skills/debugging-workflows/SKILL.md · Systematic troubleshooting for Falcon Foundry CLI errors, manifest validation failures, deploy failures, artifact…
v1.7.0 · audit A · 36 stars
development-workflow SKILL.md skill
crowdstrike/foundry-skills · skills/development-workflow/SKILL.md · Orchestrates the complete Falcon Foundry app lifecycle from requirements through deployment. TRIGGER when user asks to…
v1.7.0 · audit A · 36 stars
e2e-testing SKILL.md skill
crowdstrike/foundry-skills · skills/e2e-testing/SKILL.md · End-to-end testing for Falcon Foundry apps using Playwright and @crowdstrike/foundry-playwright. TRIGGER when user asks…
v1.7.0 · audit A · 36 stars
functions-development SKILL.md skill
crowdstrike/foundry-skills · skills/functions-development/SKILL.md · Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write…
v1.7.0 · audit A · 36 stars

Every file in crowdstrike/foundry-skills

Other files named security-patterns

security-patterns SKILL.md skill
aiskillstore/marketplace · skills/0xdarkmatter/security-patterns/SKILL.md · Security patterns and OWASP guidelines. Triggers on: security review, OWASP, XSS, SQL injection, CSRF, authentication…
git:20260113.222b7de · audit A · 471 stars
security-patterns SKILL.md skill
yonatangross/orchestkit · plugins/ork/skills/security-patterns/SKILL.md · Auth, defense in depth, input validation, OWASP Top 10, LLM prompt-injection defense and PII masking. Use when…
v2.0.0 · audit B · 299 stars
security-patterns SKILL.md skill
akaszubski/autonomous-dev · plugins/autonomous-dev/skills/security-patterns/SKILL.md · Security best practices covering API key management, input validation, injection prevention, and OWASP patterns. Use…
git:20260317.e64d556 · audit A · 34 stars

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