A Malaysian family living in "squalid" conditions have been detained following raids on an illegal worker exploitation racket at a West Australian market garden.

Seven people, including a 13-year-old boy, four men and two women were found by Australian Border Force officers when they raided a rental property in the southern Perth suburb of Anketell on Wednesday.

Officers suspect one of the men, 28, is involved in illegal worker exploitation and acting as an unregistered migrant agent with all seven family members to be deported back to Malaysia.