Not any more than walking in the street and trying car doors.
Bad comparison. This is akin to someone random walking into a restaurant and looking under the fryer and finding a dead rat and removing it with the fryer.
Legality is determined by permission, so no.
Do you have permission to access HackerNews (:rolleyes:) ?