go against, as of rules and laws
"He ran afoul of the law"
"This behavior conflicts with our rules"
Break or violate a treaty, a law, a right etc.
"The company was fined heavily after they were found to have infringed on consumers' privacy rights by sharing their data without consent."