Skip to content
Back to skills

Examples

ASecurity

Goal: build a skill that finds real vulnerabilities while minimizing false positives.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
securityrustgoshellapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill examples --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Examples?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Examples
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-examples-ai-agent-skills-by-luo-kai/badge)](https://www.skillsdirectory.com/skills/luokai0-examples-ai-agent-skills-by-luo-kai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Case Study: Security Review Skill Synthesis

## Scenario

Goal: build a skill that finds real vulnerabilities while minimizing false positives.

## Input collection approach

This case required balanced collection across offensive and defensive material:

1. Canonical standards and cheat sheets.
2. Framework/language-specific secure coding docs.
3. Real-world exploit writeups and postmortems.
4. Fixed vulnerability diffs and secure rewrites.
5. Benign patterns often misclassified as vulnerabilities.
6. Existing in-repo security skills and review heuristics.

Collection continued until each vulnerability class had both exploit and mitigation evidence.

## Coverage matrix used

Required dimensions tracked during synthesis:

1. Vulnerability class definitions and prerequisites.
2. Exploitable dataflow examples.
3. False-positive controls.
4. Severity/confidence calibration.
5. Concrete remediation patterns.
6. Framework-specific caveats and exceptions.

## Synthesized artifacts produced

The resulting skill references included:

1. True-positive case with exploitation path.
2. False-positive case with proof of safety.
3. Fix/remediation case with corrected code pattern.
4. Severity and confidence decision rubric.
5. Evidence checklist to prevent pattern-only claims.

## Source-to-decision trace (sample)

1. Source class: exploit writeups.
   Decision: require attacker-controlled input path in every high-confidence finding.
   Why: removed pattern-only false alarms.
2. Source class: benign counterexamples.
   Decision: add explicit safe-pattern checks before reporting.
   Why: reduced repeated false positives on sanitized data paths.
3. Source class: fixed vulnerability diffs.
   Decision: include remediation examples as patch-shaped guidance.
   Why: improved downstream fix quality and speed.

## Concrete artifacts (sample)

1. True-positive case:
   Input pattern: untrusted data reaches shell/API call without escaping.
   Output: finding includes source, sink, exploit path, and minimal patch recommendation.
2. False-positive case:
   Input pattern: potentially dangerous API with validated allowlist and strict escaping.
   Output: no vulnerability finding; include reason for non-reporting.
3. Remediation case:
   Before: dynamic query construction from user input.
   After: parameterized query plus validation guard.

## What made this high quality

1. It was trained on both attacks and safe counterexamples.
2. Findings required evidence of exploitability, not keyword matching.
3. Remediation guidance was concrete and immediately applicable.

Files in this skill

  • documentation-skill.md2.8 KB
  • security-review-skill.md2.5 KB
  • workflow-process-skill.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.