Ozi, you are correct.
Section 5.17.2: No basic insulation of a conductor visible outside enclosure.
526.8
The PVC/PVC cable sheath is too short to reach the enclosure
This is a defect C2, potentially dangerous, urgent remedial action required.
Question- do these down lights carry appropriate...