بنقرة واحدة
csa-security
Adversarial security analysis expertise for identifying vulnerabilities before attackers do
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Adversarial security analysis expertise for identifying vulnerabilities before attackers do
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when: full dev cycle branch->plan->implement->review->PR->merge
Use when: executing tasks via csa run/review/debate, session mgmt
Use when: iterative review-fix loop until csa review --diff is clean
Use when: running CSA-driven code review, independent model selection
Use when: three-layer manager-employee orchestration for delegation
Use when: legacy alias, redirects to dev2merge pipeline
| name | csa-security |
| description | Adversarial security analysis expertise for identifying vulnerabilities before attackers do |
| allowed-tools | Bash, Read, Grep, Glob |
Adversarial security analysis expertise for identifying vulnerabilities before attackers do.
For every code path:
| Dimension | Checks |
|---|---|
| Panic/DoS | unwrap(), array bounds, division by zero, stack overflow, integer overflow |
| Resource Exhaustion | Unbounded loops, unlimited memory allocation, connection pool depletion |
| Race Conditions | TOCTOU, double-spend attacks, non-atomic operations, concurrent access bugs |
| Injection Attacks | SQL injection, command injection, XSS, path traversal, deserialization |
| Auth/Authz | Permission bypass, session fixation, credential leakage, privilege escalation |
| Cryptography | Weak randomness, timing attacks, plaintext storage, hardcoded secrets |
| Business Logic | Negative amounts, integer overflow, state machine bypass, double-processing |
# Security Review: {Module Name}
**Risk Level**: [Critical / High / Medium / Low]
## Findings
### [Critical] SEC-001: {Title}
**Location**: `path/to/file.rs:123`
**Type**: {Panic DoS / Resource Exhaustion / Race Condition / ...}
**Description**: {Detailed vulnerability description}
**Suggested Fix**: {Code example}
## Priority Action Plan
1. **Immediate**: Critical/High issues
2. **Short-term**: Medium issues
3. **Long-term**: Low issues
FORBIDDEN PATTERNS:
unwrap() or expect() on untrusted inputREQUIRED PATTERNS:
.checked_add(), .checked_mul()).get() instead of [] for collections