> For the complete documentation index, see [llms.txt](https://ret2basic.gitbook.io/ctfnote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ret2basic.gitbook.io/ctfnote/web3-security-research/secureum/epoch-0/slot-5-pitfalls-and-best-practices-201.md).

# Slot 5: Pitfalls and Best Practices 201

#### Blog

[**Article on "Security Pitfalls & Best Practices 201"**](https://secureum.substack.com/p/security-pitfalls-and-best-practices-201)

#### Youtube Videos

1. [Block 1](https://youtu.be/WGM1SF8twmw)
2. [Block 2](https://youtu.be/HqHo1jKUnmU)
3. [Block 3](https://youtu.be/pXoEIjHupXk)
4. [Block 4](https://youtu.be/IVbEIbIpWUY)
5. [Block 5](https://youtu.be/QSsfkmcdbPw)

#### Participant Created Content

* [Security Pitfalls & Best Practices 101 and 201 - D-Squared](https://youtu.be/77iL0syhEso)

#### Assignment

* [ ] Read <https://samczsun.com/so-you-want-to-use-a-price-oracle/> and <https://samczsun.com/the-dangers-of-surprising-code/>
* [x] Watch "Security By Design & Smart Contract Audits" by Shayan Eskandari, Ex-ConsenSys Diligence: <https://www.youtube.com/watch?v=gfD1KBtLWZI>
* [x] Watch "How to Build Secure Smart Contracts" by Josselin Feist (@Josselin Feist - Trail of Bits), Trail of Bits: <https://www.youtube.com/watch?v=yP01yH4plT8>
* [x] Watch "White Hat Panel: DeFi Exploits": <https://www.youtube.com/watch?v=Df2zzfoTfMc>
* [ ] Attempt CTF: <https://www.damnvulnerabledefi.xyz/>

#### Quiz

* [Slot 5 quiz](https://github.com/x676f64/secureum-mind_map/blob/master/quizzes/5.%20Pitfalls%20and%20Best%20Practices%20201.md)

#### Quiz Writeups

* <https://ventral.digital/posts/2021/11/14/secureum-bootcamp-security-pitfalls-amp-best-practices-201-quiz>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ret2basic.gitbook.io/ctfnote/web3-security-research/secureum/epoch-0/slot-5-pitfalls-and-best-practices-201.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
