it's a felony to open a package in the post office?!?

once upon a time, i received a razor that had been charged customs and i wondered why because i shouldn't have had anything more than $10...