Are all corrosives either acids or bases? Are all corrosives either acid or a base? From what I could remember from school, strong acids and bases can be corrosive, but can substances be corrosive from reasons other than that? I tried my best to check for the answer with my limited knowledge.

If it is not just acids and bases what is it then, how can we categorize them, if possible in simple terms?
Wikipedia lists many corrosive compounds.  While a lot of them function as strong acids or bases, there are also these (not an exhaustive list):


Strong oxidizers including concentrated hydrogen peroxide
Fluorides (they say "fluoride ion", so salts as well as the acid are meant)
Organic compounds that can act as alkylating agents such as methyl sulfate


The moral of the story: Hazards can't be pigeonholed into specific types of chemicals.  Best to find and read the safety data sheet with any chemical.