Moody, Standard & Poors and Fitch are RATING agencies.
RATING agencies are different from AUDITING companies different from CONSULTANCIES.
Rating agencies were somewhat restructured after 2008 (but are still kind of edgy) - because they did literally write AAA on a piece of paper for money. But there ratings were opinions and had no real legal meaning.