I was wondering if the remote attestation protocol which authenticates the machine running enclave, is prone to some vulnerabilities?
If that is the case, how RAP mitigiates such vulnerabilities while attesting the enclave?
No software is 100% secure. Security advisory IDs are provided as part of the attestation report. For all security advisories from Intel, please visit https://www.intel.com/content/www/us/en/security-center/default.html. Here is a sample security advisory related to SGX and the attestation service.