I still say just leave it. It's probably mostly done with the primary active fermentation but there's a lot of "work" left for the yeast to do to consume/convert the undesirable compounds they created during fermentation that lead to off flavors; I find leaving the yeast undisturbed for about two weeks really helps clean the beer up compared to one one week in, at least for many standard ale yeast strains.
If your fermentation went really great and it's well hopped (with lots of alpha-acids to kill bacteria) I would not worry about infection so much. Someone on the forums once said the most overlooked (and most impactful) way to combat infection is not sanitation practice - it is the health of your yeast - I think this is awesome advice.
If you have a good health yeast fermentation you do four things: 1. Remove all oxygen from solution (aerobic microbes can not survive), 2. Lower the pH to range that many other microbes can not survive, 3. create enough alcohol content that many microbes can not survive, 4. consume all the "food and nutrients" that other organisms would otherwise use themselves to survive and reproduce. Couple this with good sanitization and alpha-acids from the hops and you have a great recipe for beer to naturally fight off unwanted microbes from taking grip!
I would say your weak point right now is probably oxygen contamination/sanitation. Aerobic bacteria need oxygen to survive, so if you don't have a closed vessel you risk that class of microbes to a higher degree. That being said it seems like if you leave the bucket undisturbed you might not even have oxygen getting back into the beer since the CO2 produced during fermentation can "blanket" the liquid beer fluid surface since it is more dense and act as a gas layer that prevents too much oxygen from getting back in.
All this to say still probably don't do anything and I would still just leave it as in. Really the les you take the lid off the better. You could probably marginally improve your chances of no infection by sealing the lid and jerry-rigging some kind of air lock, but it's probably not necessary. Racking to secondary you have all the same problems - you expose the beer to a lot of air and potential microbes that could be airborne and on the new surfaces, potentially get a lot of oxygen back into the solution, and now risk infection in a totally new way. What yeast did you use - if its one known for a really strong fermentation I would be extra-not-worried