Agree with Dan, M5 bolts are ok when the rack is drilled for M6 bolts. I also have several racks that will take M6 bolts, but I use M5 on all bikes except my Nomad which uses M6. And since you are talking about the fork, that is the front where you likely are not loading it down with 20 kg of weight on each side, making M5 more likely to survive quite well.
Dan mentioned the stay caps, so I thought I would point out another option. I recently built up a Titanium touring bike (oops, not Thorn, sorry) and within a very short distance of riding the toe overlap meant that I had already knocked the stay cap off of one of my stays. The only color on the entire bike was two taillight lenses (red) and a headbadge (also red), but everything else was bare metal, black or white. So, I decided to add a bit of color, instead of black fender stay caps I got red caps for all of my fender stays. Looked neat enough that I pulled the black ones off of my Nomad and put red on there too. Both bikes have black fenders. I like to keep my fender stays long enough that if I put them on a different bike, I have minimal risk that the stays will have been cut too short, thus I always have about 10 to 20 mm of stay sticking out past the fender bracket. Shipped from Asia, expect it to take several weeks. Package of 100, so I can keep losing them and have plenty of spares.
https://www.amazon.com/gp/product/B01N9VWPMJ/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1In the event that the above link does not work, or in the event that you try to order from a different country version of Amazon, I pasted some of the description here:
uxcell 3mm Inner Dia Rubber Hose End Cap Screw Thread Protector Cover Red 100pcs
Ships from and sold by uxcell.
Product Name: Thread Protector Cover; Country of Manufacture: CHINA
Material: Rubber; Net Weight: 26g
Package Content: 100(+/-2%) x Thread Protector Cover; Main Color: Red
Total Size: 16 x 5mm/0.63'' x 0.2''(L*D)
Inner Dia.: 3mm/0.12''
Photo, you can only see a couple stays in the back of the back fender on the bike closest to the camera. Ok, with panniers, there is some color, but without any touring gear on the bike it is nearly colorless.