You're one step closer to a direct connection from human to mains.
With the wrong connection of the mains polarity there is already a low impedance path through the diode chain!
NOTE: Notice this post later. While we have grid 230VAC do you mean Load (L) exchanged with Neutral (N) ?
On this schematics ground (N) is connected to those diodes chain, but thats is right it might be danger if someone put it reverse, so in this version without lower safe galvanic isolated input voltage it can not be usefull for everyone, but questions about safe output load current levels under normal conditions in this thing still holds
Of course failure of caapcitors from first left to right could be dangerous too due to this diodes chain...
Touching this thing is not a normal operation mode of this device, so question is what happends by accident in those two cases if someone (human) will have contact with output of this thing, like It is rather easy to predict if someone puts metal into 230VAC wall socket, there it is not such stright calculation, but this which I've found in this guide mentioned above makes sense while those capacitors in series are very small, so at 50Hz it should not be possible to light on even one LED with 1mA for a few seconds.
IEC 61010 has a section on this. I don't have a copy to hand but I know it has requirements for the permissible currents available, the peak capacitance allowed etc.
In this thread
At what capacitance do HV capacitors become dangerous to human touch? at the end this IEC 61010 is mentioned:
No values are given for single fault condition but acceptable capacitance for 200V is ca 8.5uF, 1kV is ca 680nF, 10kV ca 18nF and 40kV 2nF.
It is not clear what this 18nF there means- at 10kV it has 900mJ, while in my case I have only about 2mJ in the case this thing is not connected to mains and someone touches. Still it is below 18nF while i have
16*2*0.5nF= 16nF
capacitance and each capacitor is under voltage of 650Vmax, not 10kV.
So, it is a little bit confsusing, but it looks like it fits easilly into this norm
Second case, where someone touches this thing while it is still connected to mains 230VAC is more difficult, while we need calculate output current from this thing under one of the worst case 300 Ohm load, while someone keeps it touching (by accident) and this thing is charged with 50 Hz frequency 230VAC.
From calcualtions I've made this current should be magnitudes below 1mA and no shock visible in human body and this waht I'd like to ensure for the moment.
So, the main concern is to validate this calculation of average current under 300-1000 Ohm load, while it should drop very quickly from 10kV to very low voltage and very tiny current at such load.
Failure of capacitors or diodes are other cases and it does not matter when we want to know if output current in normal conditions will be safe or not assuming 50 Hz and 0.5nF capacitances of components in this 10kV Cockroft-Walton HV generator...
BTW: I've found this IEC 61010 3rd edition presentation so we'll try to figure it out and confirm or dismiss: