There are commands that are unsafe (variations on
rm come to mind) but not exactly insecure (they don't expose the system to an attacker). So perhaps not really a synonym. However, the tag is vague and could be used for all kinds of randomness. I can't think of a situation when it would help to define the subject of a question. I think we should just get rid of it.
in computer science :
according to this paper Basic Concepts and Taxonomy of Dependable and Secure Computing safety is a property of dependability and security is a composite of the attributes of confidentiality, integrity, and availability.
note : The picture should not be interpreted as indicating that, for example, security developers have no interest in maintainability, or that there has been no research at all in the dependability field related to confidentiality rather it indicates where the main balance of interest and activity lies in each case.
by knowing the definition of these attributes the difference will be more clear :
- availability: readiness for correct service.
- reliability: continuity of correct service.
- safety: absence of catastrophic consequences on the user(s) and the environment.
- integrity: absence of improper system alterations.
- maintainability: ability to undergo modifications and repairs.
according to these definition and difference between security and safety, you may need both security and safety.