Anomalous supercurrent and diode effect in locally perturbed topological Josephson junctions | Synapse