As a technology, QR codes are safe. Any security risks associated with them have to do with the destination, or the content shared, rather than the QR codes themselves. Once generated, the content inside a static QR code cannot be changed or modified to perform a different function.