Fetching details from the dictionary...
of bad character; ill-natured; nasty; vicious; wicked; malignant
「質の悪い」 has another reading with different meanings.
poor-quality; low-quality; shoddy; low-grade