Automated summary
Builds a GitHub-based security and compliance baseline for a .NET project, covering CodeQL, Dependabot, disclosure policy, dependency review, and release supply-chain controls.
Strengths
- Provides ready-to-adapt GitHub Actions YAML for CodeQL, Dependabot, and dependency review.
- Organizes missing controls by priority with a phased implementation roadmap.
- Includes a concrete SECURITY.md outline and release SBOM guidance.
Limitations
- Heavily tailored to Qobuzarr/RicherTunes and assumes a C#/.NET GitHub repository.
- Several sections are incomplete or truncated, notably the release SBOM/signing workflow.
- Does not cover non-GitHub CI systems or runtime application security testing.
Use when you need to bootstrap or audit GitHub security automation for a .NET project.
Do not use as a general-purpose security audit playbook for non-GitHub or non-.NET environments.
Security analysis
CautionThe skill is a legitimate security-hardening guide with no destructive, exfiltrating, or obfuscated commands. It does include shell/git operations and CI workflow creation, so it carries execution risk if an agent follows the Quick Start blindly, but the intent and content are benign.
- •Quick Start instructs creating files, committing, and running `git push`, which can modify a remote repository if followed without user confirmation.
- •GitHub Actions snippets grant `security-events: write` and use third-party actions; these should be pinned to commit SHAs for supply-chain safety.
- •Hardcoded project-specific values and placeholders such as `[CodeQL workflow content]` could be copied verbatim, producing incomplete or misaddressed configurations.
Examples
Add CodeQL scanning and Dependabot to this .NET repository, then create a SECURITY.md with a disclosure process and supported-version table.Audit our GitHub security setup for missing secret scanning, dependency review, SBOM generation, and artifact signing, and implement the critical gaps.Set up a pull-request dependency review workflow that fails on high-severity vulnerabilities.name: security-compliance description: Establish comprehensive security scanning and compliance infrastructure from scratch. Use when working with security audits, vulnerability scanning, secret detection, CodeQL, Dependabot, or security hardening. Critical priority for Qobuzarr.
<!-- docval:ignore-workflow-refs -->Security & Compliance Guardian
Mission
Build complete security infrastructure for Qobuzarr, implementing industry-standard scanning, monitoring, and compliance practices.
Current Security Status
- ✅ GitLeaks: Secret scanning configured in security.yml
- ✅ NuGet Scanning: Vulnerability detection in security workflow
- ⚠️ CodeQL: NOT IMPLEMENTED - Critical gap
- ❌ Dependabot: NOT CONFIGURED - Critical gap
- ❌ Security Policy: No SECURITY.md file
- ❌ Dependency Review: No PR security gates
- ❌ SBOM: Not generated in releases
- ❌ Artifact Signing: Not implemented
Critical Missing Components
1. CodeQL Static Analysis (CRITICAL)
Status: Missing entirely Impact: No automated vulnerability detection in code Action: Create .github/workflows/codeql.yml
2. Dependabot (CRITICAL)
Status: No configuration file Impact: Manual dependency updates, delayed security patches Action: Create .github/dependabot.yml
3. Security Policy (HIGH)
Status: No SECURITY.md Impact: No disclosure process for researchers Action: Create SECURITY.md with contact info and policy
4. Dependency Review (HIGH)
Status: Not configured Impact: PRs can introduce vulnerable dependencies Action: Add dependency-review-action to PR workflow
5. SBOM & Signing (MEDIUM)
Status: Not generated Impact: No supply chain transparency Action: Add to release workflow
Implementation Roadmap
Phase 1: Foundation (Week 1)
# Create .github/workflows/codeql.yml
name: CodeQL Security Scan
on:
push:
branches: [main, develop]
pull_request:
schedule:
- cron: '0 3 * * 1'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: csharp
- run: dotnet build -c Release
- uses: github/codeql-action/analyze@v3
Phase 2: Automation (Week 1)
# Create .github/dependabot.yml
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: weekly
day: monday
time: "09:00"
open-pull-requests-limit: 10
labels: ["dependencies", "automated"]
assignees: ["RicherTunes"]
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 5
Phase 3: Documentation (Week 2)
# Create SECURITY.md
# Security Policy
## Reporting Security Issues
**DO NOT** open public GitHub issues for security vulnerabilities.
### Contact
- Email: security@richertunes.com
- Response time: 48 hours
- PGP Key: [fingerprint]
## Supported Versions
| Version | Supported |
|---------|-----------|
| 0.0.x | ✅ Active development |
## Security Features
- Secret scanning with GitLeaks
- Dependency vulnerability monitoring
- Static analysis with CodeQL (planned)
- Automated security updates via Dependabot (planned)
## Disclosure Process
1. Report received
2. Acknowledgment within 48 hours
3. Investigation and patch development
4. Coordinated disclosure
5. Security advisory published
Phase 4: PR Gates (Week 2)
# Add to .github/workflows/ci.yml
dependency-review:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4
with:
fail-on-severity: high
Phase 5: Release Security (Week 3)
# Add to .github/workflows/release.yml
- name: Generate SBOM
uses: anchore/sbom-action@v0
with:
format: spdx-json
output-file: sbom.spdx.json
- name: Sign artifacts
uses: sigstore/cosign-installer@v3
- run: cosign sign-blob --yes artifacts/Qobuzarr-${{ env.VERSION }}.zip
Quick Start Commands
# 1. Create security infrastructure
mkdir -p .github/workflows
cat > .github/workflows/codeql.yml << 'EOF'
[CodeQL workflow content]
EOF
cat > .github/dependabot.yml << 'EOF'
[Dependabot config]
EOF
cat > SECURITY.md << 'EOF'
[Security policy]
EOF
# 2. Commit and push
git add .github/workflows/codeql.yml .github/dependabot.yml SECURITY.md
git commit -m "security: add CodeQL, Dependabot, and security policy"
git push
# 3. Enable security features in GitHub repository settings
# Settings → Code security and analysis → Enable all
Related Skills
release-automation- Integrate security in releasescode-quality- Security through quality gates
Examples
Example 1: Complete Security Setup
User: "Set up complete security infrastructure for Qobuzarr" Action: Create CodeQL workflow, Dependabot config, SECURITY.md, dependency review action, enable GitHub security features
Example 2: Respond to Vulnerability
User: "Dependabot found critical vulnerability in dependency" Action: Review CVE details, assess impact, update dependency, run tests, merge PR expedited
Example 3: Security Audit Preparation
User: "Prepare for security audit" Action: Generate SBOM, document all dependencies, review CodeQL findings, update SECURITY.md, run penetration test
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/security-compliance-guardian-mrx3xwhr' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/security-compliance-guardian-mrx3xwhr/download' --output '.skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md.part' && mv '.skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md.part' '.skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md' && test -s '.skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/security-compliance' && cp -R '.skill-downloads/security-compliance-guardian-mrx3xwhr' '.claude/skills/security-compliance'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/security-compliance-guardian-mrx3xwhr'openskills read 'security-compliance-guardian-mrx3xwhr'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/security-compliance-guardian-mrx3xwhr/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.