Whenever security for costs may be ordered to be given or may be tendered by any plaintiff in vacation or in term time the clerk shall witness the signature of the surety and shall, in the first instance, judge of the sufficiency of the security. The form of the undertaking shall be according to law or the rule of the court on that subject if there be no law.
S.C. Code § 14-17-270