# Speculative Execution Side Channels

### Introduction

One class of side channels that draws significant attention is speculative execution side channels. Based on such side channels, communities have proposed several attack variants including ones (e.g., foreshadow) against SGX. The [foreshadow](https://foreshadowattack.eu/) attack allows an attacker to extract the data from an enclave. In response to the attack, Intel have released microcode updates.


---

# 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://sgx101.gitbook.io/sgx101/sgx-security/speculative-side-channels.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.
