OK. It’s hard to say for certain from a photo but the wiring seems correct. I’m going to guess that yellowish wire is the ground from the neck pickup cover. That’s good, if so.
From the additional information about a ‘light spark’ sound, I’m going to go out on a limb and say the guitar is functioning as normal. Sounds like that light spark is just your body grounding to a metal part. That’s what should happen. As a test, hold the guitar as you would to play it and place one hand on the strings/bridge. Keeping that hand there, use the other hand to touch the other metal parts again. Probably, you won’t get that same spark sound from touching the other parts as long as your first hand stays in contact with the bridge.
If this is the case, it means the guitar is doing what it should do. If you had a buzz that was constant when you were in contact with a metal part, that would indicate a problem — that’s what I originally thought and what Dave mentioned. Light spark doesn’t sound like that problem.