Skip to content
Skills Library
Security · Review & audit

security

/security

Use for security review with project-specific framing. Adds memory of prior incidents/threats, project-stack-aware patterns (Salesforce sharing model, etc.). Complementary to built-in /security-review.

Repository
sift-coder ↗
Licence
MIT
Last repository change
03.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use for security review with project-specific framing. Adds memory of prior incidents/threats, project-stack-aware patterns (Salesforce sharing model, etc.). Complementary to built-in /security-review.

Original author description

Use for security review with project-specific framing. Adds memory of prior incidents/threats, project-stack-aware patterns (Salesforce sharing model, etc.). Complementary to built-in /security-review.

How it works

  1. When to use which
  2. Method
  3. Output shape
  4. Rules
  5. Anti-patterns
  6. When NOT to use
  7. Subagent dispatch
  8. Value over built-in /security-review
Original SKILL.md headings · 92 lines, 497 words
SKILL.md preview
---
name: security
description: Use for security review with project-specific framing. Adds memory of prior incidents/threats, project-stack-aware patterns (Salesforce sharing model, etc.). Complementary to built-in /security-review.
---

# security (SiftCoder-shaped)

**Complementary to** built-in `/security-review`. Built-in is excellent at OWASP top 10 + common patterns. This skill adds:

1. **Stack-aware** — Salesforce orgs need sharing/CRUD/FLS analysis; Node.js needs prototype-pollution/RCE-via-deserialisation; Apex needs SOQL injection variants
2. **Incident memory** — prior security findings captured by `pin-incident` hook fed back as known risk areas
3. **Threat-model-aware** — if the project has documented threats (e.g. PII handling, payment, multi-tenant), targeted assessment

## When to use which

- General OWASP / common vulnerabilities → built-in `/security-review`
- Salesforce-specific (sharing, FLS, CRUD, callouts, secrets) → `/siftcoder:salesforce-security`
- Compliance-shaped → `/comply`
- Project-context-aware security → this skill

## Method

1. **Stack detect.** What language(s), framework(s), domain (web/cli/iot/sf-org)?
2. **Incident memory.** `mem_search { kind: "incident" }`. What's been hit before?
3. **Threat model.**
   - If project has a threat doc → load it
   - Else infer top 3 threats from stack + domain
4. **Stack-tailored review.** Different rule sets per stack:
   - Node/JS: prototype pollution, eval, deserialisation, regex DoS, XSS, CSRF, JWT misuse
   - Python: pickle, eval, SQL injection, weak crypto, path traversal
   - Apex: SOQL injection (string concat), CRUD/FLS bypass, sharing leaks, XSS via Visualforce
   - Generic: secrets in code, weak randomness, time-of-check vs time-of-use
5. **Findings.** Severity (critical / high / medium / low / info). Evidence (file:line). Reproduction (where applicable). Mitigation (specific code change).

## Output shape

```
Stack:       <detected>
Threat model: <loaded from project | inferred>

Incident memory: <count> prior incidents in this area

Findings:

  [CRITICAL]  SOQL injection at src/UserController.cls:42
    Evidence: query string built via concatenation
    Repro:    POST /api/users?filter=' OR Id != null--
    Fix:      use bind variables (Database.queryWithBinds) or WITH SECURITY_ENFORCED

  [HIGH]      Secret in repo at config/dev.json:14
    Evidence: api_key field with non-empty value
    Fix:      move to env var; add to .gitignore; rotate key

  [MEDIUM]    Weak randomness for session id at src/auth/session.ts:23
    Evidence: Math.random() used
    Fix:      crypto.randomUUID() or crypto.randomBytes(16)

Summary:
  Critical: 1
  High:     1
  Medium:   1
  Low:      0

Pre-merge required: address critical + high.
```

## Rules

- **Reproduction or evidence is required for critical/high.** Speculation is medium at most.
- **Stack-specific rules apply.** Generic OWASP findings → defer to built-in.
- **Cross-reference incident memory.** "We had a SQLi here in 2024" → flag related code as elevated.
- **Specific fixes.** Not "validate input" — name the validation library, the encoding, the check.

## Anti-patterns

- Generic "use prepared statements" without showing the offending concat
- Flagging every input as potentially-malicious without showing the threat path
- Ignoring stack idioms (Apex `with sharing` is a real thing; Node has no equivalent)
- Long lectures per finding

## When NOT to use

- Greenfield without threat model — built-in suffices
- Compliance review — `/comply`
- Salesforce-only — `/siftcoder:salesforce-security`

## Subagent dispatch

- `Explore` for code paths
- Built-in `/security-review` for the OWASP pass — combine outputs
- `general-purpose` for the synthesis

## Value over built-in /security-review

Built-in is generic. This skill adds: stack-tailoring, incident memory, threat model awareness, and project-specific patterns. Use both — built-in for breadth, this for depth.

Versions

RepositoryScoreLicence
This page · ialameh/sift-coder100MIT
flavien-ia/hypervibe-craft100Apache-2.0
boshu2/agentops100Apache-2.0
iamalisson/landspec100MIT
asckye/tia_portal_openness_mcp100MIT
Esposter/Esposter100Apache-2.0
event4u-app/agent-config100MIT
motormetrics/motormetrics100MIT
motormetrics/motormetrics100MIT

Database snapshot: 13.11.2026 · package version 20d58b99a979 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100salesforce-security
    Use for Salesforce-specific security review — sharing model, CRUD/FLS, callout security, secrets management, Shield Encryption, OWASP Top 10 mapped to Salesforce. Beats built-in /security-review for SF orgs.
  • 100review
    Use for SiftCoder-shaped code review of a PR or pending change. Memory-aware (prior decisions, project conventions) and value-add over built-in /review. Use built-in /review for general best-practice; use this for project-context-aware review.
  • 100salesforce-security-basics
    Secure a Salesforce integration across OAuth, principals, permissions, sharing, fields, secrets, encryption, logging, and revocation. Use when reviewing threats or hardening controls. Trigger with "secure Salesforce integration".
  • 100threat-model
    Write a threat model document. Use when the user says "threat model", "threat modeling", "STRIDE analysis", "attack surface analysis", "security design review", "what are the threats to this system", "adversarial analysis", "identify threats", "security threat assessment", or…
  • 100threat-modeling-with-aws-security-agent
    Run an AWS Security Agent threat model review on spec/design documents. Use when the user asks to review a spec for security, run a threat model, check if a design introduces security risks, review requirements.md or design.md for security posture changes, or STRIDE analysis.
  • 100ai-security
    This skill should be used when the user asks to "scan AI systems for security threats", "check for prompt injection vulnerabilities", "assess model security posture", "detect data poisoning risks", or "audit AI/ML pipeline security".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.