mirror of
https://github.com/foxhole-team/foxhole-guard.git
synced 2026-10-21 10:45:41 +02:00
099e864dd7
Fix profile mutation, notification authorization, runtime ownership and WebApp isolation boundaries. Refresh native dependencies and verify the shipped dependency inventory. Add white accent and monochrome themes with the OpenWrt launcher icon; preserve application icons and flags in color. Restore standard update-source actions. Pin published Core 0.0.5, reuse authenticated release artifacts and run Android boundary tests across supported API levels. Update F-Droid source recipe and release notes.
240 lines
11 KiB
Markdown
240 lines
11 KiB
Markdown
# Third-party notices
|
||
|
||
FoxHole Guard is distributed under the GNU General Public License v3.0 or later
|
||
(see [LICENSE](LICENSE)). It ships and links the third-party work inventoried
|
||
below. This file records that work and the attribution or licence information
|
||
needed to understand the distributed APK.
|
||
|
||
The APK also contains `assets/licenses/`, a user-readable bundle of exact
|
||
upstream licence and NOTICE files for the bundled native runtimes, native Android
|
||
libraries, fonts, icons and flag source set identified below. Settings → About
|
||
→ Licenses opens those files in the app. The same checked bundle is attached
|
||
to each GitHub release as `FoxHole-v<version>-license-notices.zip`; its
|
||
`SHA256SUMS` covers every included file.
|
||
|
||
For exact Java/Kotlin dependency versions and package URLs, see the CycloneDX
|
||
inventory generated by `./gradlew cyclonedxBom -Pfoxhole.sbom=true` and attached
|
||
to each release. The current Gradle generator does not populate component
|
||
licence fields, so that inventory is not presented as licence-completeness
|
||
evidence. The checked files in `assets/licenses/` are the release evidence for
|
||
the embedded native libraries and asset sources named above. For the Rust side,
|
||
the pinned FoxHole Core SBOM and notices are copied into the licence bundle. Its
|
||
`aarch64-linux-android` SBOM currently contains 503 components, each with an
|
||
upstream-declared licence expression.
|
||
|
||
---
|
||
|
||
## FoxHole Core — the network runtime
|
||
|
||
Built from source (`scripts/android-build.sh` in the FoxHole Core repository, pinned
|
||
by `config/foxcore-revision.txt`) and shipped as `libfoxhole_native.so`.
|
||
|
||
- License: GPL-3.0-or-later, © 2026 FOXHOLE TEAM
|
||
- The runtime's 503-component SBOM includes the workspace and resolved Rust
|
||
crates. The full list with versions and upstream-declared licence expressions
|
||
is the SBOM named above. FoxHole Core CI regenerates both supported dependency
|
||
graphs and gates their licence policy with `cargo deny check`.
|
||
|
||
Notable components inside it:
|
||
|
||
### Arti — the Tor client
|
||
|
||
- Upstream: https://gitlab.torproject.org/tpo/core/arti
|
||
- License: **MIT OR Apache-2.0**, © The Tor Project, Inc. and contributors
|
||
- This is the Rust Tor implementation FoxHole Core links, **not** the C `tor` daemon.
|
||
No standalone Tor binary is packaged.
|
||
|
||
---
|
||
|
||
## Tor pluggable transports (built from source)
|
||
|
||
Built from source staged under
|
||
`app/src/main/assets/tor/<abi>/tor/pluggable_transports/`, then packaged as
|
||
`lib/<abi>/liblyrebird.so` and `lib/<abi>/libconjure_client.so` so Android can
|
||
execute them from the app's native-library directory. Both are compiled from
|
||
pinned upstream source by `scripts/build-tor-transports.sh` with a pinned Go
|
||
toolchain; no prebuilt transport executable is taken from a third-party bundle.
|
||
|
||
### lyrebird (obfs4proxy successor)
|
||
|
||
- Upstream: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird
|
||
(pinned at `lyrebird-0.8.1`)
|
||
- Licenses: **GPL-3.0-or-later AND BSD-3-Clause**, © Yawning Angel and
|
||
contributors. The pinned source includes GPL-3.0-or-later implementation in
|
||
`transports/meeklite` and `internal/x25519ell2`; both packages are compiled
|
||
into the shipped executable. Exact upstream texts are `LICENSE-GPL3.txt` and
|
||
`LICENSE` in the pinned checkout.
|
||
- Statically links 61 Go modules. The generated `tor/GO-MODULES.json` records
|
||
the exact list obtained from the shipped binary, and `tor/go-modules/` carries
|
||
every root or nested `LICENSE`, `COPYING` and `NOTICE` file from those pinned
|
||
module-cache entries, including the AWS SDK and smithy-go notices.
|
||
|
||
### conjure-client
|
||
|
||
- Upstream: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/conjure
|
||
(the Tor Project packaging of https://github.com/refraction-networking/conjure,
|
||
pinned by commit in `scripts/build-tor-transports.sh`)
|
||
- License: **BSD-3-Clause**, © Refraction Networking
|
||
- Statically links 33 Go modules; its complete dependency license set is
|
||
generated from the shipped binary by the same process. The two transports
|
||
use 78 distinct resolved modules in total.
|
||
- The public beta APK packages both transports for `arm64-v8a` only. Other ABI
|
||
outputs are development build targets and are not part of the distributed APK.
|
||
|
||
### Tor Project integration configuration
|
||
|
||
- `torrc-defaults`, `pt_config.json` and `README.CONJURE.md` are unmodified
|
||
members of the official Tor Project Expert Bundle 15.0.9 for Android aarch64.
|
||
- The source archive URL, its SHA-256 and the accepted member hashes are recorded
|
||
in `third_party/tor-config/`. The release generator verifies the equivalent
|
||
files in every bundled ABI directory and copies the evidence into
|
||
`assets/licenses/tor-config/`.
|
||
- FoxHole Guard does not package the archive's `libTor.so`, GeoIP databases or
|
||
prebuilt transport executables. The archive supplies only these integration
|
||
files; FoxHole Core supplies Tor and the two transports are rebuilt from the
|
||
pinned source described above.
|
||
|
||
---
|
||
|
||
## i2pd — the I2P router
|
||
|
||
- Upstream: https://github.com/PurpleI2P/i2pd (pinned at `2.61.0`, see
|
||
`third_party/i2pd.version`)
|
||
- License: **BSD-3-Clause**, © The PurpleI2P Project
|
||
- Pinned as the `third_party/i2pd/` git submodule at the exact commit recorded
|
||
in `third_party/i2pd.version`, and built by `scripts/build-i2pd.sh` into
|
||
`libi2pd.so`. The upstream license text is provided by the submodule at
|
||
`third_party/i2pd/LICENSE`.
|
||
- The binary statically links pinned **OpenSSL 3.5.8** (Apache-2.0),
|
||
**Boost 1.84.0** (BSL-1.0) and Android NDK **libc++** (Apache-2.0 WITH
|
||
LLVM-exception). Their exact archive licenses and the NDK 29 notices are in
|
||
`assets/licenses/i2pd/`.
|
||
|
||
---
|
||
|
||
## AdGuard DNS filter
|
||
|
||
- Upstream: https://github.com/AdguardTeam/AdGuardSDNSFilter
|
||
- License: **GPL-3.0**, © AdGuard Software Ltd
|
||
- Compiled into FoxHole Core's own FST format and downloaded on demand from the
|
||
signed FoxHole DB feed. The application package contains no production DNS
|
||
filtering dataset; the verified artifact and its provenance live in the
|
||
`foxhole-db` repository.
|
||
|
||
---
|
||
|
||
## Fonts
|
||
|
||
- **Tiny5** — © 2022-2024 The Tiny5 Project Authors —
|
||
https://github.com/Gissio/font_Tiny5
|
||
- License: **SIL Open Font License, Version 1.1**. Upstream `OFL.txt` is
|
||
vendored as `third_party/fonts/Tiny5-OFL.txt`.
|
||
- **JetBrains Mono**, release `v2.304` — © 2020 The JetBrains Mono Project
|
||
Authors — https://github.com/JetBrains/JetBrainsMono
|
||
- License: **SIL Open Font License, Version 1.1**. Upstream `OFL.txt` is
|
||
vendored as `third_party/fonts/JetBrainsMono-OFL.txt`.
|
||
|
||
---
|
||
|
||
## Icons — Tabler Icons Outline
|
||
|
||
- Upstream: https://github.com/tabler/tabler-icons, pinned commit
|
||
`5a0fe38e97784d94279ce4eb1bf85f9a91bf027e`, author **Paweł Kuna and
|
||
contributors**.
|
||
- License: **MIT**. The exact upstream notice is vendored at
|
||
`third_party/icons/Tabler-MIT.txt`.
|
||
- Shipped as 40 Android Vector conversions whose path data matches the pinned
|
||
24x24 outline SVGs. The Tor half-onion is the single FoxHole-owned exception.
|
||
|
||
---
|
||
|
||
## Country flags — rendered from flag-icons
|
||
|
||
- Source SVGs: https://github.com/lipis/flag-icons at commit
|
||
`086f7e97d657358203916dbe84f61c2bccaa81eb`, © Panayiotis Lipiridis,
|
||
**MIT**.
|
||
- The 270 shipped `app/src/main/assets/flags/*.png` files are exact 256×192
|
||
renders of that commit's 4×3 SVG tree using `@resvg/resvg-wasm` `2.6.2`;
|
||
only upstream `sh-ac.svg` is not shipped. `third_party/flags/app-assets.sha256`
|
||
pins every PNG, and `scripts/generate-app-flag-assets.sh` reproduces and
|
||
verifies the complete set without rewriting accepted output.
|
||
- The exact upstream MIT text is stored as
|
||
`third_party/flags/flag-icons-LICENSE.txt`. The earlier R74n asset pack is not
|
||
present in the APK.
|
||
- MIT license of the source set:
|
||
|
||
```
|
||
The MIT License (MIT)
|
||
|
||
Copyright (c) 2013 Panayiotis Lipiridis
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||
this software and associated documentation files (the "Software"), to deal in
|
||
the Software without restriction, including without limitation the rights to
|
||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||
subject to the following conditions:
|
||
|
||
The above copyright notice and this permission notice shall be included in all
|
||
copies or substantial portions of the Software.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||
SOFTWARE.
|
||
```
|
||
|
||
---
|
||
|
||
## Stalkerware indicators — SENTINEL threat intel
|
||
|
||
- Upstream: https://github.com/AssoEchap/stalkerware-indicators (`ioc.yaml`)
|
||
- License: **CC-BY-4.0** — © Echap (https://echap.eu.org) and contributors
|
||
- The bundled detector seed `app/src/main/assets/sentinel/threat-intel.json` is
|
||
built from that file by `scripts/build-sentinel-threat-intel.py`; the upstream
|
||
revision and its SHA-256 are recorded in `threat-intel.source.json` next to it.
|
||
- Imported: Android package identifiers, signing-certificate fingerprints
|
||
(SHA-256 and SHA-1, kept in separate fields), and the C2/distribution domains
|
||
and IP addresses used by the FoxHole Sentinel network IOC matcher. Not imported: YARA
|
||
rules, APK digests, iOS bundle identifiers and X.509 subject matchers.
|
||
|
||
---
|
||
|
||
## Map data — Natural Earth
|
||
|
||
- Upstream: https://www.naturalearthdata.com/
|
||
- License: **public domain** (Natural Earth terms of use: "no permission needed").
|
||
- The connection map's country outlines are generated from this data by
|
||
`scripts/generate-traffic-map-shapes.py`.
|
||
|
||
---
|
||
|
||
## Android libraries
|
||
|
||
Resolved by Gradle and listed with exact versions and package URLs in the
|
||
release dependency inventory. The current Gradle CycloneDX output does not carry
|
||
licence fields. Exact texts for the bundled native Android dependencies are
|
||
therefore copied independently to `assets/licenses/android/`:
|
||
|
||
- **SQLCipher Android 4.17.0** — BSD-3-Clause —
|
||
https://github.com/sqlcipher/sqlcipher-android
|
||
- **lazysodium-android** — MPL-2.0 — https://github.com/terl/lazysodium-android
|
||
- **libsodium 1.0.20** — ISC — https://github.com/jedisct1/libsodium
|
||
- **JNA** — Apache-2.0 OR LGPL-2.1-or-later —
|
||
https://github.com/java-native-access/jna. The bundle includes JNA's license
|
||
selector and both complete alternative license texts.
|
||
- AndroidX / Jetpack Compose / Kotlin / kotlinx — Apache-2.0 — © The Android Open
|
||
Source Project, JetBrains s.r.o. and contributors
|
||
- OkHttp, Okio — Apache-2.0 — © Square, Inc.
|
||
|
||
## Reviewed Conjure STUN migration
|
||
|
||
The pinned Conjure v0.9.1 dependency uses STUN v3.1.5 for both client import sites.
|
||
`scripts/prepare-tor-dependency.py` copies verified module sources into a build
|
||
folder and checks the original file hashes before applying this import migration.
|
||
The original module identity and licenses remain in the delivery inventory;
|
||
the patch script and input hashes are included in the bundled notices.
|