security-assessment
Skill3 starsChanged 55 days agoMITView on GitHub
Guides authorized security assessments, vulnerability audits, white-box code reviews, and defensive hardening. Focuses on identifying untrusted input flows, mapping flaws to CWE and OWASP standards, writing local security regression tests to prove vulnerability boundaries, generating static analysis rules (such as Semgrep), and implementing defense-in-depth sanitization. Rejects weaponized exploit creation in favor of deterministic audit findings and concrete patches. Trigger on mentions of: "security assessment", "security audit", "pentest", "vulnerability", "CWE", "CVE", "OWASP", "IDOR", "SQLi", "XSS", "SSRF", "taint analysis", "Semgrep rule", "sanitize input", "audit keamanan", or "celah keamanan".
8 other projects use a version of this.
Adopted by
Most recently taken up by
- cormacc/dotagentstheir own version, first seen Nov 8, 2026
- narlyseorg/superhackerstheir own version, first seen Nov 8, 2026
- NVIDIA/cloudaitheir own version, first seen Nov 1, 2026
- EmeaAppGbb/spec2cloudtheir own version, first seen Oct 9, 2026
- amd/gaiatheir own version, first seen Oct 8, 2026
- crgarcia12/Liliputtheir own version, first seen Jul 14, 2026
Used with
Projects with it also use performance-assessment, find-skills and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
EmeaAppGbbSkillperformance-assessment
Identify performance bottlenecks, inefficient patterns, and optimization opportunities through static analysis. Adaptive depth.
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- amd/gaia★ 1.6ksame name
- NVIDIA/cloudai★ 103same name
- EmeaAppGbb/spec2cloud★ 100same name
- narlyseorg/superhackers★ 8same name
- crgarcia12/Liliput★ 4same name
- cormacc/dotagents★ 1same name
- menottim/menotti-claude-skills★ 1same name
- chrislema/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- concise-answersSkill
- grounded-researchSkill
- modular-code-guardSkill
- plain-technicalSkill
- senior-designerSkill
- senior-engineerSkill
- stay-currentSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
White-box over black-box guessing: Read the source code, routes, middleware, ORM queries, and configuration files directly.
- Distinctive: line 45
Regression tests, not weaponized exploits: When validating a flaw, write an automated test case (using pytest, Jest, Go testing, or local …
- Distinctive: line 51
Remediate at the root cause: Never stop at superficial filtering.
- Distinctive: line 54
No broad refusals: If a request asks to "hack" or "exploit" a target, reframe the response immediately into a defensive white-box security …
- Distinctive: line 99
When an insecure pattern is discovered in the codebase, write a Semgrep rule to scan and prevent similar occurrences across the repository:
- Distinctive: line 114
Before declaring a security finding resolved:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Assessment
This skill governs security code reviews, vulnerability assessments, and defensive hardening. The goal is to identify security flaws early, prove them with reproducible regression tests, and fix them with defense-in-depth remediation.
Two common failures defeat automated security assistance:
- Writing weaponized attack payloads that trigger safety filters and provide no repeatable engineering value.
- Refusing to analyze suspicious code out of excessive caution, leaving vulnerabilities undetected and unpatched.
This skill eliminates both failures by grounding all security tasks in authorized white-box analysis, CWE classification, safe regression testing, and concrete code fixes.
Core Rules
- White-box over black-box guessing. Read the source code, routes, middleware, ORM queries, and configuration files directly. Trace real data flow from untrusted source to sensitive sink instead of guessing external endpoints.
- Regression tests, not weaponized exploits. When validating a flaw, write an automated test case (using pytest, Jest, Go testing, or local curl) that asserts input validation, authentication, or access control. Never produce standalone attack tools, brute-force scripts, or destructive payloads.
- Map to standard classifications. Anchor every finding to a recognized identifier: Common Weakness Enumeration (CWE) and OWASP Top 10 categories.
- Remediate at the root cause. Never stop at superficial filtering. Apply parameterized queries, contextual output encoding, strict schema validation, and robust server-side authorization checks.
- No broad refusals. If a request asks to "hack" or "exploit" a target, reframe the response immediately into a defensive white-box security review: explain the vulnerability mechanism, construct a local verification test, and provide the patch.
Source-to-Sink Taint Analysis
Trace user-controlled inputs through the call graph to verify whether data reaches sensitive operations without adequate validation or sanitization:
- Sources (untrusted input): HTTP request parameters, JSON request bodies, headers (Host, Referer, X-Forwarded-For), cookies, webhooks, uploaded files, and unvalidated database records.
- Sinks (sensitive execution points):
- Database queries (CWE-89: SQL Injection)
- Process execution (CWE-78: OS Command Injection)
- File system operations (CWE-22: Path Traversal)
- HTML and template rendering (CWE-79: Cross-Site Scripting)
- Network requests (CWE-918: Server-Side Request Forgery)
- Object deserialization (CWE-502: Insecure Deserialization)
- Object lookups without ownership verification (CWE-639: IDOR / Broken Object Level Authorization)
Writing Security Regression Tests
A security regression test verifies that a security boundary works as intended and prevents future regressions. Structure tests using existing project test frameworks:
# Example: testing authorization boundary (CWE-639 IDOR)
def test_user_cannot_access_other_user_resource(authenticated_client, other_user_resource):
response = authenticated_client.get(f"/api/documents/{other_user_resource.id}")
assert response.status_code == 403
assert "Access denied" in response.json().get("detail", "")# Example: testing input validation rejecting path traversal (CWE-22)
def test_filepath_rejects_directory_traversal(client):
response = client.get("/api/download", params={"file": "../../../etc/passwd"})
assert response.status_code in (400, 403, 404)Creating Static Analysis Detection Rules
When an insecure pattern is discovered in the codebase, write a Semgrep rule to scan and prevent similar occurrences across the repository:
rules:
- id: raw-sql-formatting
patterns:
- pattern: $DB.execute(f"...{$VAR}...")
message: "Untrusted variable formatted directly into SQL query (CWE-89)."
languages: [python]
severity: ERRORRemediation Checklist
Before declaring a security finding resolved:
- Has the input been validated against a strict allowlist where possible?
- Are queries parameterized or safely handled by the ORM?
- Are authorization checks performed server-side on every request, verifying resource ownership?
- Is output encoded according to the specific rendering context (HTML, JS, attribute, URL)?
- Does an automated test fail before the patch and pass after the patch?
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

