The Safari Wallet codebase is currently split into two repositories, core and ui.
Both of these repositories are licensed under the GNU GPLv3 license.
This website is also open-sourced, but it's instead licensed under the MIT license.