N.Y. Correction Law § 872
(a) The wages or salary of a prisoner participating in the work release program, less payroll deductions required by law, shall be deposited with the sheriff in a trust fund account, which fund shall not be subject to garnishment or attachment. The sheriff shall keep a ledger of the account of each prisoner and he may disburse from the said trust fund account: