In all cases where there is security for costs or where the attorney is liable for costs or where the action is brought to the use of another, in which the plaintiff is adjudged to pay the costs, judgment may be rendered against the security, attorney, or person for whose use the action was brought on motion of the party entitled to the costs, notice of the motion having first been given to the security, attorney, or other person.
Ark. Code § 16-68-407