Skip to content

feat(sculptforge): add SculptForge, digital sculpting (org.sculptforge.SculptForge) - #930

Merged
jing2uo merged 2 commits into
flatpark:mainfrom
3ddruck12:add/org.sculptforge.SculptForge
Nov 1, 2026
Merged

jing2uo merged 2 commits into
flatpark:mainfrom
3ddruck12:add/org.sculptforge.SculptForge

Conversation

@3ddruck12

Copy link
Copy Markdown
Contributor

Summary

  • Adds SculptForge 0.10.1 (org.sculptforge.SculptForge), a digital sculpting application.
  • The payload is the official SculptForge-0.10.1-linux-x86_64.tar.gz, unpacked with bsdtar --no-same-owner. It runs on org.freedesktop.Platform//26.08. The Linux build is not rebuilt.
  • The release also ships SculptForge-linux-x86_64.flatpak. That file is an OSTree bundle, and the runtime FlatPark uses to unpack extra-data has no ostree. The package pins the tarball of the same release instead. The app id is the one that bundle uses.
  • The resolver takes only SculptForge-<version>-linux-x86_64.tar.gz. Installers, the AppImage, the VFX-platform tarballs and the single-file Flatpak on the same release are skipped.

Sandbox

  • Shared: IPC, Wayland with X11 fallback, GPU, and network for the AI tools, the phone link and Unreal Live Link.
  • SF_NO_UPDATE_CHECK=1 turns off the daily banner. That banner would point at a download page. Updates come through FlatPark.
  • --filesystem=home is declared under policy.dangerous_permissions. A model names textures and other files beside it, which a file-chooser grant does not cover. The Blender bridge folder is also granted.
  • Pen tablets use the display connection. A SpaceMouse is opt-in: flatpak override --user --device=input org.sculptforge.SculptForge.
  • The headless runner is flatpak run --command=sculptforge-cli org.sculptforge.SculptForge --help.

Tested

  • Descriptor audit, appstreamcli validate --no-net, and the resolver (0.10.1, the x86_64 Linux tarball). check-apply-extra unpacked the archive as root with no capabilities.
  • publish.sh --verify built the app and installed it from the local signed repo. ldd on both binaries reported no missing libraries.
  • The installed app has SF_NO_UPDATE_CHECK=1. Network is granted. There is no device=all.
  • sculptforge --run 'new_sphere' --render sphere.png created a sphere of 81920 triangles and wrote an 800×600 PNG.
  • The window opened, title Untitled - SculptForge, WM_CLASS sculptforge. The sculpting UI was on screen and no update banner appeared.

Flathub

Not published on Flathub. org.sculptforge.SculptForge returns 404 from the Flathub appstream API.

Made with Cursor

@jing2uo

jing2uo commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Review: org.sculptforge.SculptForge (new app)

Verdict: PASS. The one NEEDS-HUMAN item, --filesystem=home, was granted by a maintainer (see 3.2). The resolver was fixed in 2bad2c23 (see 4.2). Merging.

Legend: ✅ pass · ❌ fail · ⚠️ warn · 👤 needs-human · ➖ N/A. Tier: 1 = open source · ★ = all.

# Phase Check Tier Verdict Evidence
0 Safety Static only; artifacts handled in an isolated dir ★ ✅ The tarball was downloaded as bytes into a scratch dir, listed, then extracted with --no-same-owner --no-same-permissions. Nothing was run. Upstream source was read from a --depth 1 clone of tag v0.10.1
1.1 Scope Classified ★ ✅ New app. All 9 files are under registry/org.sculptforge.SculptForge/
1.2 Scope High-scrutiny surface ★ ✅ Nothing touched in .github/, scripts/ or config/. The resolver is in a new app dir, so it is routine
2.1 Provenance Submitter ★ ✅ 3ddruck12 joined 2021-05-17 and has 34 repos. 7 earlier FlatPark PRs were merged (euro-office, solidcraft, ingecad, ingetrazo, bimcraft, cline, openwork, constructcad)
2.2 Provenance Source repo ★ ✅ islandmed/SculptForge was created 2026-10-21 and is not a fork. GPL-3.0, 287★, 35 forks, 453 commits by the owner, issues from outside users (#26–#36 fixed in 0.10.1). The owner account dates from 2025-09-17. sculptforge.app is served by GitHub Pages, the repo's homepage
2.3 Provenance Commit identity ★ ✅ [email protected] with a [email protected] co-author. Upstream commits use the GitHub noreply address
2.4 Provenance Timeline ★ ⚠️ The repo is 11 days old with 20 releases. That is fast, but backed by a long commit history, a public site and outside issues. The submitter is unrelated to the repo and has a long record here
2.5 Provenance Trust tier ★ ✅ Established
2.6 Provenance Artifact tier ★ ✅ Tier 1 (GPL-3.0, official release build)
3.1 Manifest Source types ★ ✅ One extra-data with sha256 and size: 19334043. The rest are local file sources. No git or archive
3.1b Manifest Bytes in /app ★ ✅ build-commands only install local files. The payload is extra-data
3.2 Manifest finish-args ★ 👤→✅ No escape permissions. --filesystem=home is declared in policy.dangerous_permissions with a reason. A maintainer accepted it: opening an .obj or .gltf through the portal grants only that file, so the .mtl, .bin and textures beside it can't be read. Saving through the document portal's FUSE mount also breaks the app's write-temp-then-rename saves. Model files can live anywhere, so a fixed xdg-* dir wouldn't cover them. xdg-data/SculptForge/SculptForge/blender:create is for the out-of-sandbox Blender add-on. --share=network is for the AI tools, phone link and Live Link. No --device=all
3.3 Manifest policy: block ★ ✅ proprietary: false matches GPL-3.0. dangerous_permissions lists the one broad grant
3.4 Manifest build-commands ★ ✅ org.sculptforge.SculptForge.yml:31-36: install only. apply_extra.sh unpacks the tarball with bsdtar --no-same-owner, checks for one top-level dir and both binaries, and removes the tarball. The wrappers just exec /app/extra/sculptforge/bin/{sculptforge,sculptforge-cli}. No patch, sed or preload
3.4b Manifest packaging: declared ★ ➖ Nothing to declare: no injected code, file change, host command or sandbox-off. node scripts/audit-descriptor.mjs registry/org.sculptforge.SculptForge/flatpark.yml passes
3.5 Manifest Source URLs ★ ✅ github.com/islandmed/SculptForge/releases/download/v0.10.1/…
3.6 Manifest app-id ★ ✅ org.sculptforge.SculptForge is the id in upstream's own Flatpak bundle and its shipped metainfo, and it matches sculptforge.app
3.7 Manifest update.command ★ ✅ ./resolve-update.sh
3.8 Manifest Download host ★ ✅ The upstream repo's GitHub releases
3.9 Manifest Optional capabilities ★ ✅ SpaceMouse access (--device=input) is documented as a flatpak override in the metainfo, not granted by default. The kept broad grant is justified in the PR body
3.10 Manifest What was tested ★ ✅ The PR body covers the audit, appstreamcli, the resolver, check-apply-extra as root without capabilities, publish.sh --verify with install, ldd, a headless render, and the GUI window with no update banner
4.1 Runtime No fetch-and-exec ★ ✅ Text that suggests curl … | sh (App.cpp:2319 for Ollama, and the install hint) is shown to the user and never run. The one tool the app downloads is Brush v0.3.0 for Gaussian splats. It is optional and fetched only when the user asks, pinned to sha256 4f0f9a87… with a fixed size (src/ai/SplatTrainer.cpp:138-140), checked before use (:207), and stored in the app's data dir
4.2 Runtime Resolver reviewed as code ★ ✅ curl + jq only, no eval. The original picked the newest published_at, so a later patch to an older line would have downgraded the pin. releases/latest has the same problem because new releases become "latest" by default. Fixed in 2bad2c23: it now takes the highest stable version among the last 30 releases (tested with 0.10.1, 0.9.8 and an 0.11.0 prerelease → 0.10.1) and adds releaseUrl. Current output: 0.10.1, SculptForge-0.10.1-linux-x86_64.tar.gz
4.3 Runtime Network endpoints ★ ⚠️ sculptforge.app/latest.json and islandmed.github.io/latest.json (update feed, off via SF_NO_UPDATE_CHECK=1), link.sculptforge.app/relay/ and ntfy.sh (phone link, AES-256-GCM), api.anthropic.com, api.meshy.ai, queue.fal.run, microsoft-trellis-2.hf.space (opt-in cloud AI), raw.githubusercontent.com/islandmed/sculptforge-brushes (brush data), localhost / LAN (Ollama, ComfyUI). Home access plus network is accepted, see 3.2
5.1 Artifact sha256 matches the pin ★ ✅ ba4ce72d2ad73575d1658943a66e3dea1cdaac4844cc7796090d1d0290ea9a9c, 19334043 bytes. This matches the manifest and upstream's SHA256SUMS.txt
5.2 Artifact Inspected by type ★ ✅ tar.gz: 37 entries (19 files, 18 dirs) under one top-level SculptForge-0.10.1-linux-x86_64/. No absolute or .. paths, no symlinks or hardlinks, no setuid or setgid
5.3 Artifact Nothing injected 1 ✅ The packaging adds only wrappers next to the payload. Nothing in the payload is changed
5.4 Artifact Shipped == official ★ ✅ Downloaded again from the official URL and the hash matched (5.1). apply_extra moves the files without changing them
5.5 Artifact Bundled runtimes ★ ➖ Nothing bundled. Both ELFs link only libcurl, libstdc++, libm, libgcc_s, libc and ld-linux, all from the runtime. SDL3 and ImGui are linked statically
5.6 Artifact IOC scan ★ ✅ No RPATH or RUNPATH. One ELF header per binary, so no embedded second ELF. No xmrig, stratum+, /dev/tcp, nc -e, .bashrc, cron or autostart strings. LD_PRELOAD appears only as an SDL process-spawn env string. The only IPs are private, loopback or multicast defaults (LAN AI hosts)
6.1 Compliance Purpose ★ ✅ A digital sculpting tool
6.2 Compliance Non-FOSS not a reason ★ ➖ It is GPL-3.0
7.1 Verdict Overall ★ PASS
7.2 Verdict Hard-fail triggers ★ none
7.3 Verdict Record ★ ✅ This comment. A maintainer merges

Files read

flatpark.yml, org.sculptforge.SculptForge.yml, apply_extra.sh, sculptforge-wrapper, sculptforge-cli-wrapper, resolve-update.sh, .desktop, .metainfo.xml, and the icon (512×512 RGBA PNG).

Notes, not blocking

  • x86_64 only. Upstream also ships linux-arm64.tar.gz, so aarch64 can be added later.
  • SF_NO_UPDATE_CHECK turns off only the automatic daily check. The manual "check for updates" still runs.
  • MimeType=application/x-sculptforge-brush has no shared-mime-info XML in the package, so that association does nothing.

Reproduce

curl -fsSLO https://github.com/islandmed/SculptForge/releases/download/v0.10.1/SculptForge-0.10.1-linux-x86_64.tar.gz
sha256sum SculptForge-0.10.1-linux-x86_64.tar.gz      # ba4ce72d…a9c
tar -tvzf SculptForge-0.10.1-linux-x86_64.tar.gz       # 37 entries, no links / setuid / ..
readelf -d SculptForge-0.10.1-linux-x86_64/bin/sculptforge | grep -E 'RPATH|RUNPATH|NEEDED'
bash registry/org.sculptforge.SculptForge/resolve-update.sh
node scripts/audit-descriptor.mjs registry/org.sculptforge.SculptForge/flatpark.yml

Not covered

The app was not run by the reviewer: it is static review only, and running it is the packager's part, recorded above. The C++ source was not audited. Only the paths flagged by the binary scan were read (the update check, splat tool download, phone link and Ollama hint).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants