(a) From the date of the attachment until it is discharged or the writ executed, the plaintiff as against third persons shall be deemed a purchaser in good faith and for a valuable consideration of the property, real or personal, attached, subject to the conditions prescribed in section 258 of this title as to real property.
(b) From the time of the service of a copy of the writ and notice until the attachment is discharged or any judgment recovered by the plaintiff is satisfied, any person, association, or corporation mentioned in paragraph (3) of section 256 of this title shall be liable to the plaintiff for the amount of the property, stock, or debts specified in the notice, unless such property, stock, or debts are delivered, transferred, or paid to the marshal.