In general, the acid to stay away from as far as pitting steel is Muriatic (Hydrochloric) acid. The presence of the chloride ion in this acid has a special mechanism that causes pitting in carbon/iron alloys (i.e., steel).
The strong mineral acids (sulfuric, hydrochloric, hydrofluoric, hydroiodic, etc...) will erode both rust and iron; the weak acids (acetic, citric, etc...) will generally erode only rust.