if the security agency paid the salary they will not come under your payroll, so the salary or payment you pay that goes to security agency company not for their employees. if they mention in their payslips, that done according to their policies.
if the employees are under your payroll, the components you mentioned bonus and leave are having certain percentages according to statuary and if ESI is calculated according to basic, the components you mention will not come under basic.
i hope i cleared your doubt.
20th June 2018 From India, Hyderabad
Esi is to be deducted on gross salary not only basic. If contractor fails in statutory compliance's, principle employer is the held responsible.
My query is not clarified
25th June 2018 From India, Vijayawada