The Supreme Court on Friday came down hard on what it described as growing and unwarranted attacks on the judiciary and the legal system