World’s richest nations agree hacking for commercial benefit is off-limits