This website (formerly darkpatterns.org) was launched in 2010 and had a warm reception on hacker news. It has just had a big update with new sections on laws and legal cases, so you can have a better understanding of what might be illegal or risky to build.