The past tense of ghostwrite is ghostwrote.
The third-person singular simple present indicative form of ghostwrite is ghostwrites.
The present participle of ghostwrite is ghostwriting.
The past participle of ghostwrite is ghostwritten.