# Step 4.7 Enable Doppelganger protection

### What is Doppelganger protect?

In Ethereum proof-of-stake (PoS), validators can face slashing if multiple validators operate with the same identity. Doppelganger Protection serves as a safeguard, preventing validators from being slashed and removed from the Beacon Chain in the event that a node operator unintentionally runs their validator keys on multiple machines simultaneously. [*Learn more*](https://lighthouse-book.sigmaprime.io/validator-doppelganger.html)

### How it works?

Whenever a validator client is restarted, Doppelganger protection intentionally skips 2-3 attestations. It actively monitors the network during this process to ensure that attestations are not being transmitted using your validator keys. Ideally, there should be no attestations, indicating that no other machine is utilizing your validator keys.

After the brief waiting period, the validator client will resume its regular validation operations. However, if it detects another machine using your validator keys, it will immediately terminate and generate an error message in its log files.

In most cases, doppelganger detection results in only a few missed attestations after restarting the client. However, when you're transferring your validator to a new machine or switching to a different Beacon client, doppelganger detection becomes essential to prevent accidental double attesting and potential slashing.

### **Doppelganger protection is optional.** You can choose Yes or No based on your preference

<figure><img src="https://2887552281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WB8WelcE8wl4vdsYf70%2Fuploads%2Fgit-blob-525d1ad3647d3c87fefeb82b6660a659aea12dd3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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://staderlabs.gitbook.io/ethereum/node-operator/permissionless-node-operator/node-registration-and-adding-validators/step-4-configure-stader-services/step-4.7-enable-doppelganger-protection.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.
