Fresh basil that is spoiling will typically become soft and discoloured. The leaves will start to darken - going from a green colour to brown. Discard any basil that has an off smell or appearance.