Aiding and abetting
In law, aiding and abetting was the act of being a knowing accomplice, but not necessarily an active participant, in someone else's intent to commit a crime. 

While attempting to destroy  with logic, Lieutenant Commander Spock inquired if the computer was "aiding the Body, or [..] destroying it?" ()

In 2366, the Klingon High Command belatedly accused Mogh of "aiding and abetting the Romulan attack on the Khitomer Outpost." Had the  been upheld by the High Command, the family name of the House of Mogh would have been disgraced for seven generations, with the family getting its first chance of returning to grace in the 27th century. ()

Later that year, following the discovery of two apparent survivors of the annihilated Federation colony on Rana IV, Captain Jean-Luc Picard wondered aloud if they were perhaps collaborators or "did they provide the colony's assailants with something that abetted the total destruction of Rana IV in order to protect their own lives?" ()

In 2366, Klingon Ambassador  informed Captain Picard that Vagh, the Governor of , had charged that the Federation was secretly aiding the Kriosian rebels. ()

In 2370, Chief Archon Makbar presented at the tribunal against Miles O'Brien, that he had "been found guilty of aiding and abetting seditious acts against the state." For his actions, he was sentenced to death. ()

In 2372, Tom Paris and Harry Kim from  were accused of aiding the Akritirian terrorist group known as "Open Sky". For their crime, they were sentenced to an Akritirian maximum security detention facility. ()

When it was discovered, in 2375, that the Federation Council had both the means and the cure for the morphogenic virus that Section 31 used to infect the Changelings, Captain Benjamin Sisko revealed to Odo that they had "considered giving the Founders the cure, then they decided against it." Odo described those actions as "abetting genocide." ()

In 2377, after Harry Kim assisted a damaged Kraylor medical transport, Captain Kathryn Janeway informed him that he had put her in "a difficult position," with their new colleagues, the Annari, who were at war with the Kraylor, because Kim's actions might be perceived as "aiding their enemy." ()

Later that year, after The Doctor was kidnapped by the hologram Iden, and asked to join his rebellion, his captor declined, stating that "my program doesn't include aiding and abetting murderers." ()

External link 
 

Crimes