If you're looking for a resource which catalogs and discusses common security pitfalls in the Ethereum ecosystem you should definitely read through the "ConsenSys Smart Contract Best Practices" documentation.
Working through it you'll learn about Software Engineering best practices, useful developer tools for security as well as known attacks (such as the DAO Hack) and what code weaknesses made them possible.
- ConsenSys