They cannot drag you in and surreptitiously charge you at someone else's criminal proceeding. You could be subpoenaed to testify against your friend and then faced with whether you could validly raise your Fifth Amendment rights against testifying.
Answered on Sep 17th, 2013 at 5:05 PM