Skip to content
Back to skills

Detecting Arbitrary Read

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added February 8, 2026
documentationdocumentation

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill detecting-arbitrary-read --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Detecting Arbitrary Read?

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

Security grade badge for Detecting Arbitrary Read
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-detecting-arbitrary-read/badge)](https://www.skillsdirectory.com/skills/majiayu000-detecting-arbitrary-read)

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

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.