These sorts of perks are potentially illegal for two reasons.
The perks this company is offering its employees just may be illegal. 
mnli hypothesis: The perks this company is offering its employees just may be illegal.  premise: These sorts of perks are potentially illegal for two reasons.