She secretly laughed at his failure.

Literal

She [topic-は] secretly his failure [object-を] laughed.

密かに (ひそかに, 'secretly, in private') is an adverb from the na-adjective 密か. The sentence describes schadenfreude — secret enjoyment of another's misfortune.