As it happens, I am an attorney and I practice federal law almost exclusively. You can read the statute yourself. 18 U.S.C. 2 covers aiding & abetting a federal crime and 18 U.S.C. 3 covers acting as an accessory after the fact related to a federal crime. If you do the acts described below (assisting someone who committed a federal crime) with the mindset described below (knowingly), you have violated a federal statute.
18 U.S. Code § 3 - Accessory after the fact
Whoever, knowing that an offense against the United States has been committed, receives, relieves, comforts or assists the offender in order to hinder or prevent his apprehension, trial or punishment, is an accessory after the fact.
Except as otherwise expressly provided by any Act of Congress, an accessory after the fact shall be imprisoned not more than one-half the maximum term of imprisonment or (notwithstanding section 3571) fined not more than one-half the maximum fine prescribed for the punishment of the principal, or both; or if the principal is punishable by life imprisonment or death, the accessory shall be imprisoned not more than 15 years.
18 U.S. Code § 3 - Accessory after the fact