security-review
Security review for full-stack applications (.NET 10 DDD/CQRS/ES back-end + Angular 22 front-end).
Skill by fmflurry
Chalk Labs
Need help deploying security-review?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fmflurry-security-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, devops, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-review
What's inside
- Skill name
security-review- Description
- Security review for full-stack applications (.NET 10 DDD/CQRS/ES back-end + Angular 22 front-end). Gate-driven checklist ensuring secrets, input validation, SQL injection prevention, tenant isolation, XSS protection, and dependency CVEs are enforced at build/CI time, not by manual review.
- License
- MIT
- Instructions
- 482 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- cloud-infrastructure-security.md
SKILL.md (first lines)
# Security Review Skill
Gate-dominant security checklist for .NET 10 DDD/CQRS/ES back-end + Angular 22 front-end stack. Every clause is backed by an executable gate (build-blocking rule, CI scan, or unit test) or explicitly marked as manual-review-only.
## When to Activate
- Implementing authentication or authorization in back-end commands/queries
- Adding command/query handlers with user input
- Creating database projections or aggregates handling sensitive data
- Implementing Angular components or services with form inputs
- Adding third-party NuGet or npm dependencies
- Writing new domain value objects with invariants
---
## Part A: .NET 10 Back-End Security
### 1. Secrets Management
**Gate**: `gitleaks` pre-commit + full-history CI scan
**Status**: `GATE TO WIRE`
**Rule**: No API keys, connection strings, passwords, or tokens hardcoded in source. All secrets must be read via `IConfiguration` (appsettings.json / environment variables), user-secrets (dev), or Azure KeyVault (prod).
```csharp
// ❌ WRONG
private const string ApiKey = "sk-proj-xxxxx";
private const string DbPassword = "password123";
// ✅ CORRECT
private readonly IConfiguration _config;
public MyService(IConfiguration config) => _config = config;
var apiKey = _config["External:ApiKey"]
?? throw new InvalidOperationException("External:ApiKey not configured");
```
**Verification**: Before committing, run `gitleaks detect --verbose` on staged files. CI must run full-history scan on every PR.
---
### 2. Input Validation at Command Boundary
**Gate**: FluentValidation + domain value-object invariants + unit/property tests
**Status**: `GATE TO ADD` (property-based tests via CsCheck)
**Rule**: All command inputs validated synchronously at the handler boundary via FluentValidation validators. Domain value objects enforce invariants via constructor throws. Property-based tests (CsCheck) confirm validators reject invalid inputs.
```csharp
// FluentValidation at command boundary
public class CreateUserCommandValidator : AbstractValidator<CreateUserCommand>
{
public CreateUserCommandValidator()
{
RuleFor(x => x.Email)
.NotEmpty()
.EmailAddress()
.WithErrorCode("INVALID_EMAIL");
RuleFor(x => x.Age)
.InclusiveBetween(0, 150)
.WithErrorCode("INVALID_AGE");
}
}
// Domain invariant (value object constructor)
public class Email
{
public string Value { get; }
public Email(string value)
{
if (string.IsNullOrWhiteSpace(value) || !value.Contains("@"))
throw new ArgumentException("Invalid email format", nameof(value));
Value = value;
}
}
```
**Verification**: Unit tests confirm validator rejects each invalid case; property-based tests (CsCheck) generate random invalid inputs and confirm rejection.
---
### 3. SQL Injection Prevention
**Gate**: Roslyn CA2100 (build-blocking) + SAST rule for interpolated `*SqlRaw` calls
**Status**: `GATE TO WIRE` (Roslyn CA2100 enabled; SAST rule for raw SQL patterns)
**Rule**: EF Core parameterizes by default. **Forbidden**: `FromSqlRaw()` and `ExecuteSqlRaw()` with string interpolation or concatenation. Use only `FromSqlInterpolated()` or parameterized `*Async` with explicit parameter arrays.
```csharp
// ❌ DANGEROUS
var query = $"SELECT * FROM users WHERE email = '{userEmail}'";
context.Users.FromSqlRaw(query).ToList();
// ✅ CORRECT
var results = context.Users
.FromSqlInterpolated($"SELECT * FROM users WHERE email = {userEmail}")
.ToList();
// ✅ ALSO CORRECT (explicit parameters)
var results = await context.Users
.FromSqlAsync(
"SELECT * FROM users WHERE email = @email",
new SqlParameter("@email", userEmail)
)
.ToListAsync();
```
**Verification**: Build fails if CA2100 triggered. SAST scan flags interpolated `*SqlRaw` calls.
---
### 4. Tenant Isolation & Row-Level Security (RLS)
**Gate**: `DbConnectionInterceptor` + `FORCE ROW LEVEL SECURITY` + RLS coverage test
**Status**: `GATE TO ADD` (coverage test; choke point exists in `backend/src/GcPlatform.Api/Infrastructure/Persistence/TenantSessionInterceptor.cs`)From fmflurry/settings-opencode, MIT.
More from fmflurry/settings-opencode
- 0.779score
interfectio-commentarum
poteto
Spawn Haruspex Commentorum, fix accepted findings, and offer encodings for claimed constraints.
SkillAFreshness: A★ 171Claude Code +9 - 0.655score
chimera
poteto
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
SkillAFreshness: A★ 171Claude Code +9 - 0.649score
humanizer
poteto
Cut AI tells from any writing.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
e2e
fmflurry
Resolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
show-your-work
fmflurry
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result).
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
why
fmflurry
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds.
SkillAFreshness: A★ 171Claude Code +9 - 0.641score
verify-this
fmflurry
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or…
SkillAFreshness: A★ 171Claude Code +9 - 0.640score
create-verification-skill
fmflurry
Use when creating or refreshing a project's verify-this override.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
angular-ddd
fmflurry
Domain-Driven Design for Angular/TypeScript: functional patterns with `type` aliases, `readonly` fields, pure rule functions, immutable value types, branded…
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
codebase-exploration
fmflurry
Use when searching a repository, looking up symbols, callers, callees, or imports, and when deciding whether CodeMemory is on.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
patterns
fmflurry
Use when starting a feature from a skeleton project, or when adding a repository interface or a shared API response envelope.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
socratic-design
fmflurry
Use when a planning, design, architecture, or refactor decision is still open.
SkillAFreshness: A★ 171Claude Code +9
Signals
- Stars
- 171
- Forks
- 9
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fmflurry/settings-opencode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.332score
security-review
fmflurry
Security review for full-stack applications (.NET 10 DDD/CQRS/ES back-end + Angular 22 front-end).
SkillAFreshness: A★ 171Claude Code +9 - 0.332score
security-review
fmflurry
Security review for full-stack applications (.NET 10 DDD/CQRS/ES back-end + Angular 22 front-end).
SkillAFreshness: A★ 171Claude Code +9
More from fmflurry
- 0.643score
why
fmflurry
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
show-your-work
fmflurry
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result).
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
e2e
fmflurry
Resolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests.
SkillAFreshness: A★ 171Claude Code +9 - 0.641score
verify-this
fmflurry
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or…
SkillAFreshness: A★ 171Claude Code +9 - 0.640score
create-verification-skill
fmflurry
Use when creating or refreshing a project's verify-this override.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
codebase-exploration
fmflurry
Use when searching a repository, looking up symbols, callers, callees, or imports, and when deciding whether CodeMemory is on.
SkillAFreshness: A★ 171Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get security-review running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
security-review skill. Agent Mart. https://agentmart.dev/skills/fmflurry-security-review (last updated 2026-10-24)