# @rootedrescue

### <picture><source srcset="/files/yHQJGsnTKXGol7dGBFIz" media="(prefers-color-scheme: dark)"><img src="/files/iTZa4ulJWBKYtwk4Thdr" alt="" data-size="line"></picture> [@rootedrescue](https://x.com/rootedrescue)

<div align="left"><figure><img src="/files/4vLb0lTkEYfBV2yGJFmq" alt="" width="100"><figcaption></figcaption></figure></div>

## Words of Wisdom

***

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><h3>"Consider Sources and Sinks<strong>"</strong></h3></td><td><strong>Source</strong>: a point in code where an attacker supplied input enters the execution flow.<br><br><strong>Sink</strong>: a point in code where malicious state change can occur.<br><br>Map the program for all <strong>Sources</strong> and trace the execution flow to determine which of them provide a path where a <strong>Sink</strong> can be reached. What safeguards are present and what would be required to bypass them?<br><br>Respectively, map the program for all <strong>Sinks</strong> and retrace the steps required to reach them to identify relevant <strong>Sources</strong>. Is it possible to craft a valid transaction to reach the <strong>Sink</strong> from the <strong>Source</strong>?</td><td><a href="/files/gIxUcxUyUuUwzbJFmp9Z">/files/gIxUcxUyUuUwzbJFmp9Z</a></td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web3-sec.gitbook.io/art-of-auditing/audit-sages/rootedrescue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
