Strangely, the fleshy bipeds appear not to suffer from rust. Maybe they're not as weak as everyone first thought.
As a physician, Ratchet was quite concerned about rust. When he observed humans using thin strips of wood to traverse moist, powdery surfaces, he regarded it as foolhardy -- surely it would cause them to rust!
Later, when Skids brought the human Donny Finkleberg into Ratchet's medical bay to speak with Optimus Prime, Ratchet was most displeased. The medical bay was a sterile environment, and while humans don't rust, they sweat, which could have gotten moisture into Optimus Prime's wound, thereby starting a rust infection. Ratchet demanded that Skids not return until he had dehumidified the human, but he was overruled by Prime.
"Rustbucket" is a fairly common insult among the Transformers. The Seacons once insultingly referred to Blaster as "Autobot rust droppings".
Generation One cartoon
A disease known as Cosmic Rust was responsible for wiping out the Thirteenth Legion of Autobots on Antilla. The Decepticons on Earth later contracted Cosmic Rust, even though they were rust proof. Fortunately for the Decepticons, Perceptor had developed a new solution known as Corrostop, which would prevent rust and corrosion, curing the disease. Unfortunately for the Autobots, Megatron infected Perceptor with Cosmic Rust, resulting in the Autobots becoming infected when Optimus Prime rescued Perceptor. (Conveniently, Megatron recovered using the last of Perceptor's supply, and he intended to capitalize on the Autobots' folly.) Fortunately, the Autobots were able to reuse Corrostop that was used earlier to coat the Statue of Liberty.
On Cybertron, there is an entire sea of unstable planetary matter called the Rust Sea.