Darren Shelley, of Stamford, is scheduled to return Monday to Stamford Superior Court on a charge of possession with intent to sell.
Authorities tell The Advocate the 22-year-old Shelley reeked of marijuana when he met June 9 with his probation officer.
When the officer asked about it, Shelley allegedly said he was "not a fool" and "did not bring drugs into the court."
But the officer says a pat down revealed the bags of pot.
Shelley is being held on $5,000 bond. He faces a possible revocation of his probation on charges of risk of injury to a minor.