Intel Intel Software Guard Extensions Explained [pdf]
eprint.iacr.org
eprint.iacr.org
> This paper describes our findings while studying SGX. We hope that it will help fellow researchers understand the breadth of issues that need to be considered before accepting a trusted hardware design as secure. We also hope that our work will prompt the research community to expect more openness from the vendors who ask us to trust their hardware.
So SGX can't be trusted at least until Intel opens up the documentation some more.