Is this 2 way light switch wired dangerously?
The only dangerous thing i see there is that that the wires is not properly inside the plug.. 

If you see the copper on the red wire = dangerous.

But the flicker will be because it is not screwed in properly most properly. You will need to turn off all power and look properly on the wires.. you will need to pull them .. like pulling a door to open is enough.. if wire comes out then that is the flicker problem.

Your plug should look like this with the wires... and the screws should be tight..
You see the wires are inside the holes and you cannot see any bare wire! The bare wire must only be enough for the screws to touch.. sometimes people fold it over for better contact.