Though the Malecón down by the ocean is a safe place to visit, Guayaquil does have problems with crime and security in general. There's no need to worry excessively, but do make sure you don't have any valuables or signs of wealth on show, and don't walk around after dark.