In any plaintiff's suit or action by a nonresident of the Commonwealth, except when such plaintiff is indigent , upon motion by any party to such suit or action and for good cause shown, the court may order that the plaintiff post security within 60 days following entry of such order in an amount determined to be sufficient by such court but not exceeding $250 for the payment of costs in the court in which the suit or action is instituted and that may be awarded to the defendant. Any security so given may be by (i) payment to the moving party or his counsel, who shall hold such payment in trust in an interest-bearing account for the benefit of the prevailing party in such suit or action; (ii) payment into the court pursuant to § 8.01-600; or (iii) bond, payable to the Commonwealth, but there need only be one obligor therein, if such obligor be sufficient and a resident of the Commonwealth. The court before whom, or before whose clerk, such bond or other payment made pursuant to this section is given, may, on motion by a defendant or officer, give judgment for so much as he is entitled to by virtue of such bond or other payment made pursuant to this section.
As used in this section, the term "plaintiff" shall also apply to a counterclaim plaintiff, cross-claim plaintiff, or third-party plaintiff, and the term "defendant" shall also apply to a counterclaim defendant, cross-claim defendant, or third-party defendant.
Va. Code § 17.1-607