The taint log is pointing to bagnon inserting its frame into the UISpecialFrames table which is read by the CloseSpecialWindows function in UIParent.lua.
Your error itself is being caused by "
newtable" being called from a tainted execution path, and frankly I don't know how that's even possible.