IP Assignment and Work-for-Hire in Contracts
Without a proper IP assignment, your freelancer or employee owns what they created — even if you paid for it.
The work-made-for-hire trap
Copyright's 'work made for hire' doctrine covers only 9 enumerated categories (contributions to a collective work, translations, etc.). Software and most creative deliverables aren't on the list — so 'work for hire' alone leaves the contractor as the author.
The belt-and-suspenders clause
'Contractor hereby irrevocably assigns to Company all right, title, and interest in the Work, including all IP rights. To the extent any Work qualifies as a work made for hire under 17 USC §101, it is deemed such. Contractor waives all moral rights.' Present-tense 'hereby assigns' — not 'agrees to assign' (which requires a second act).
Pre-existing IP
Carve out anything the contractor owned before the engagement, and grant the company a license to use it within the deliverables.