transgress

Definition

To overstep a boundary or law; to commit a sin or offense.

Example

"He knew he would transgress company policy by sharing confidential files."