Some tasks require that certain constructs are "banned" (e.g. "write your own max function"). We should expose an api for dealing with this.
This should be separate from #3, since this cannot be 100% foolproof, so it shouldn't be used to block some sys calls etc.