スキル一覧に戻る
amattas

vulnerability-analysis

by amattas

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: vulnerability-analysis description: Identify vulnerability class, analyze root cause, and plan exploitation strategy.

Vulnerability Analysis

Systematic identification and analysis of vulnerabilities in binary targets.

Vulnerability Classes

ClassSignalsTypical Cause
Stack BOFNo bounds check on inputgets(), strcpy(), sprintf()
Format StringUser input as format argprintf(buf) instead of printf("%s", buf)
Heap CorruptionDynamic allocation + freeUAF, double-free, heap overflow
Integer OverflowArithmetic on user inputSize calculations, array indexing
Race ConditionMulti-threaded or file opsTOCTOU, signal handlers
Logic BugUnexpected program stateAuth bypass, incorrect checks

Analysis Process

  1. Trace user input - Where does it enter? Where does it go?
  2. Find sinks - Dangerous functions that consume input
  3. Check bounds - Are there size limits? Are they enforced?
  4. Check protections - What mitigations affect exploitation?

Dangerous Function Patterns

// Stack BOF
gets(buf);                    // No bounds
strcpy(dst, src);             // No bounds
sprintf(buf, fmt, ...);       // No bounds
scanf("%s", buf);             // No bounds

// Format String
printf(user_input);           // User controls format

// Command Injection
system(user_input);           // Direct command exec
popen(user_input, "r");       // Command exec

Mitigation Bypass Planning

HaveNeedStrategy
BOF + NXCode execROP chain, ret2libc
BOF + CanaryBypassLeak canary first
BOF + PIEFixed addrLeak code address
Format + No writeWrite primitiveUse %n specifier
Heap + no leakInfo leakHeap feng shui

Output

Produce context/vulnerability-analysis.md using the template.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です