Is 用人单位未依法为劳动者缴纳社会保险费的, from a Contract of Employment, ambiguous? This chapter is talking about ways to get out of your Contract of Employment without paying a penalty (违约金）.

My book quotes 《北京市劳动合同规定》第三十五条

（四）用人单位未依法为劳动者缴纳社会保险费的。

If I translate this, it seems to say:

"(4) (If) The employer illegally pays Social Security for the employee." which is a bit crazy, and cannot be the intended meaning.

You can get out of your Contract of Employment if the employer does not pay the legally required Social Security contributions.

Is there a mistake in the Chinese? I only see one negative here ‘未’ and it seems to be attached to '依法‘，and not negating '缴纳‘. There seems to be a negative missing，or does '未‘ somehow also have scope over '缴纳‘？
未 actually attaches to 缴纳. 依法 is an adverb here that also attaches to 缴纳, and mostly still an adverb in other places, meaning a certain interest, requirement or enforcement is specified in and/or supported by national law. It's related to but not "legal," which corresponds to 合法. 

This whole sentence can be translated into the following:


  (When) The employer fails to pay social insurance for the employee, which is required by law.


Disclaimer: I have not been trained in law settings.