I used to be on this path before, and this is an absolute nightmare when you need to work on "confusing" code, because it leads to huge expenses for debugging problems on the client server, when you, the developer, cannot read the code. You complete the "deobfuscators", copy the "real code" to the client server, or any of several other problems that just become real hassles to support.
I understand where you came from, but it seems that the management has problems and they are looking for a solution to the selected solution for you, rather than figuring out what the correct solution is.
In this case, it seems that this is really a licensed or contract issue. They may have an open source code, but make it part of the license so that any changes they send should be returned to you and approved. When you push the corrections, check the md5 amount of the entire code and, if it does not meet the expected, they violate the license and will be charged accordingly (and this should be a much higher rate). (I remember one company that has open source code, but made it clear that if we changed something, we "bought" the code for $ 25,000, and they were no longer responsible for fixing or updating errors if we did not buy a new license).
source share