A Yearn contributor said the value lost came from “strictly protocol owned liquidity” in the protocol’s treasury and that customer funds weren’t impacted.
Source: https://cointelegraph.com/news/yearn-finance-pleads-traders-return-funds-after-scripting-error