metal on carbon, erosion issues.

What metals react with carbon fiber? I want to simple bolt up some pieces for a cup holder I’m doing, but worry about the metal bolts eroding away.
I’m also scared that nylon will not be strong enough.

Here’s the list for galvanic corrosion. Mating materials must be as close to one another as possible. There are other types of corrosion that can still occur though. Any time you are bonding cf to another metal, titanium is usually the prefer material. However you can provide a barrier by using a layer of fiberglass to insulate the two materials.

CORRODED END (ANODIC OR LEAST NOBLE)
• MAGNESIUM
• MAGNESIUM ALLOYS
• ZINC
• ALUMINUM 5052, 3004, 3003, 1100, 6053
• CADMIUM
• ALUMINUM 2117, 2017, 2024
• MILD STEEL (1018), WROUGHT IRON
• CAST IRON, LOW ALLOY HIGH STRENGTH STEEL
• CHROME IRON (ACTIVE)
• STAINLESS STEEL, 430 SERIES (ACTIVE)
• 302, 303, 304, 321, 347, 410,416, STAINLESS STEEL (ACTIVE)
• NI - RESIST
• 316, 317, STAINLESS STEEL (ACTIVE)
• CARPENTER 20 CB-3 STAINLESS (ACTIVE)
• ALUMINUM BRONZE (CA 687)
• HASTELLOY C (ACTIVE) INCONEL 625 (ACTIVE) TITANIUM (ACTIVE)
• LEAD - TIN SOLDERS
• LEAD
• TIN
• INCONEL 600 (ACTIVE)
• NICKEL (ACTIVE)
• 60 NI-15 CR (ACTIVE)
• 80 NI-20 CR (ACTIVE)
• HASTELLOY B (ACTIVE)
• BRASSES
• COPPER (CA102)
• MANGANESE BRONZE (CA 675), TIN BRONZE (CA903, 905)
• SILICON BRONZE
• NICKEL SILVER
• COPPER - NICKEL ALLOY 90-10
• COPPER - NICKEL ALLOY 80-20
• 430 STAINLESS STEEL
• NICKEL, ALUMINUM, BRONZE (CA 630, 632)
• MONEL 400, K500
• SILVER SOLDER
• NICKEL (PASSIVE)
• 60 NI- 15 CR (PASSIVE)
• INCONEL 600 (PASSIVE)
• 80 NI- 20 CR (PASSIVE)
• CHROME IRON (PASSIVE)
• 302, 303, 304, 321, 347, STAINLESS STEEL (PASSIVE)
• 316, 317, STAINLESS STEEL (PASSIVE)
• CARPENTER 20 CB-3 STAINLESS (PASSIVE), INCOLOY 825
• NICKEL - MOLYBDEUM - CHROMIUM - IRON ALLOY (PASSIVE)
• SILVER
• TITANIUM (PASS.) HASTELLOY C & C276 (PASSIVE), INCONEL 625(PASS.)
• GRAPHITE
• ZIRCONIUM
• GOLD
• PLATINUM
PROTECTED END (CATHODIC OR MOST NOBLE)

As you can see the stainless steels are close anad a lot less expensive that Ti. in order for the galvanic reaction to occur you first need an eloctrolyte, water with some salt or acid works pretty ggod for this. If it stays in a dry place you should not have an issue. spell some coke (the soda) on it and that may start something, but it will take time to do anything, It’s not like get it wet and the bolts disolve overnight.

Stainless steel is on both ends of the scale. Once you lose the passive coating, it’ll become active until it generates another passive coating.