Security check is different from ref check.
They chekc your criminal record, history of general conduct, history of potential charge (charge not laid), personal affairs (including ethical conductivity), reliability assessment.
I only remember this much from my interview with RCMP; CSIS might be different, and mild.