Is the on-site security of Party A or the general contractor?

The relationship between the security guard and Party A, the security guard is the outsourcing unit, and Party A is definitely the employing unit.

Party A signed a service contract with the security company. The security work of this community or this shopping mall is outsourced to a security company, which recruits security guards according to the number of security guards signed in the contract. Security companies basically earn headcount fees. He basically makes a profit by earning headcount.