Back to list
waiwai24

detecting-arbitrary-read

by waiwai24

1🍴 0📅 Jan 4, 2026

SKILL.md


name: detecting-arbitrary-read description: Detects arbitrary read vulnerabilities by identifying unchecked array indexing and out-of-bounds memory access. Use when analyzing array access patterns, pointer arithmetic, or investigating information disclosure vulnerabilities.

Arbitrary Read Detection

Detection Workflow

  1. Identify read operations: Array accesses, pointer dereferences, format strings, struct member access
  2. Trace input sources: Use xrefs_to to trace user-controlled data to read points
  3. Check bounds validation: Verify array bounds, pointer arithmetic safety, format string validation
  4. Assess exploitability: Can attacker control read address? What information can be disclosed?

Key Patterns

  • Unchecked array indexing with user-controlled indices
  • Format string vulnerabilities with %s, %x
  • Dereferencing user-controlled pointers
  • Wrong struct member access via type confusion

Output Format

Report with: id, type, severity, confidence, location (function, address, line), read operation, index source, bounds check status, exploitability, attack scenario, potential disclosure, mitigation.

Severity Guidelines

  • CRITICAL: Arbitrary read of sensitive data (keys, passwords)
  • HIGH: Arbitrary read enabling ASLR bypass
  • MEDIUM: Arbitrary read with limited disclosure
  • LOW: Minor information disclosure

See Also

  • patterns.md - Detailed detection patterns and exploitation scenarios
  • examples.md - Example analysis cases and code samples
  • references.md - CWE references and tool documentation

Score

Total Score

55/100

Based on repository quality metrics

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
言語

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

0/5
タグ

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

0/5

Reviews

💬

Reviews coming soon