how long is tofu good for?
Throw it out.

Tofu has a very short life. Once opened it can last up to 5 days in the refrigerator, but only if you store it submerged in water, and change it daily.

See also: http://stilltasty.com/fooditems/index/18509