Mysterious cord running from wall. Safe?
That is a wired telephone junction block. The wire coming through the wall may very well be where the original land line entered the house from outside. The other wire is probably going off to some phone jack in another part of the house.