How are Debug .PKGs made, where do they come from?

[UnAnswered] How are Debug .PKGs made, where do they come from?

So debug.pkgs. They are basically like the real ones, except we can install them without needing a license. Are these things made using debug units, or are they leaked out via Sony's debug unit support channels?