accessory during the fact

noun

1.
a person who witnesses a crime but does not try to prevent it