Need to charge a lithium power pack from USB
It is likely that the black is ground and the red or yellow are the +V line for charging, while the other colored wire is a temperature sensor to avoid battery overheating during charging.

You need a specific kind of battery charging chip to charge this battery. You can't just hook +5V up to it and expect it to not explode.