That depends on your definition of "safe". It's unlikely that such a cable will contain a malicious payload, but it is possible for such a cable to spy on you. There's an old Powerpoint presentation floating around the Internet, supposedly used at an internal meeting by a government espionage agency, discussing a way of spying on your monitor through your cables. This presentation claimed that this device, the size of a few rice grains, was in use already, and that some cable manufacturers agreed to put this device in the cables they sold. It claimed that it beamed back your red VGA signal when a radio beam hit a small radio dish in this spying device. It seems plausible enough, RFID and NFC chips are powered in a similar way.
The good news is, if a strange truck isn't sitting outside your house, this method can't work. If it works with digital signals at all.
Full disclosure, this Powerpoint may have been a hoax. Hardware is not my strong suit, nor is electronics, especially not anything related to modulated waves.