There are many coding standards to choose from: MISRA, SEI CERT, AUTOSAR, JSF, UL 2900 and others. Is there one good coding standard to use for safety and security? What if the project needs to comply with more than one coding standard? The recommended best practice is to associate certain coding guidelines with a specific goal for code compliance, such as safety or security.
MISRA and AUTOSAR C++ are for improving safety while SEI CERT is used for improving security. However, there is a significant overlap between these standards. MISRA C 2012 covers security quite well. Yet, CERT has broader support for security and treats the subject more thoroughly.
In general, it’s not recommended to strive for compliance with more than one standard, mostly because of the overlap. However, it’s feasible to pick one primary standard and extend it with selected guidelines from other standards that make sense for the project.