Antiseptic role of kerosene
Just as a note to anyone considering it as an antiseptic agent, it is toxic and probably absorbs through the skin.
Any compound that causes a change in osmotic pressure within a pathogen may kill it through plasmolysis, depending on how much of the compound is soluble in water.  There may be other mechanisms by which a hydrocarbon poisons pathogens like the interruption of metabolic pathways.
Anyhow petroleum distillates are dangerous to apply to the skin and nobody should ever do it on purpose.