[TASK] Use secure deserialization in extension manager