Labor Minister Carlos Lupi is apologizing for the situation - and he blames a private company that created the site's security system.
Lupi isn't naming the company, but says its contract with the ministry wasn't being renewed, which may have prompted the pranks.
The insults were discovered after an irate user wrote to the O Globo newspaper about it earlier this week.
The site was temporarily taken down. But by Friday it was up and running
- without the insulting words.