Found out that when running an SRA export and also an ISA tab validation where an assay table has square brackets inside a heading with square brackets, e.g. Characteristics[Ageratum yellow vein virus-[Malaysia-Tomato Leaf curl-2011] betasatellite] the code blocks and does not return with any error.
Correct behaviour should probably either encode square brackets or report an error.