Code of Civil Procedure § 995.840
ARTICLE 8. Bonds to the State of California
If a bond under this article is given in an action or proceeding:
(a) The bond shall be approved by the court.
(b) Any party for whose benefit the bond is given may object to the bond.