Have you never seen https://engineering.fb.com/? Engineers there blog about their tech tools all the time. "Legal peril" sounds like a bit of a stretch.
If you think that Facebook wouldn't enforce an NDA, especially on something sensitive like this, I think you are incorrect.