It might not be illegal, but it is wrong. If you file for custody, you need to ask that a Guardian ad litem be appointed to represent your child. AN investigation needs to be made. But don't call DSS. It is better to have the court address this.
Sign up to receive a 3-part series of useful information and advice about child custody law.