Repository navigation
feat(bimcraft): add BIMCraft (io.github.ipedrax.bimcraft) - #793
Merged
Merged
Conversation
Repackage the official x86_64 tarball, the same archive upstream's own Flatpak bundle is built from. aarch64 is not published. Co-authored-by: Cursor <[email protected]>
Collaborator
Review — BIMCraft (
|
| # | Check | Verdict | Evidence |
|---|---|---|---|
| 0 | Static-only, isolated dir | ✅ | Tarball downloaded as bytes into a scratch dir, listed before extraction, extracted --no-same-owner --no-same-permissions. None of apply_extra.sh, the wrappers, resolve-update.sh or the binaries was run. |
| 1.1 | Scope | ✅ | New app: 10 files, all under registry/io.github.ipedrax.bimcraft/ |
| 1.2 | High-scrutiny surface | ✅ | No .github/, scripts/ or config/ changes. The resolver is in a brand-new app dir. |
| 2.1 | Submitter | ✅ | @3ddruck12: account since 2021-05, 34 repos, 4 merged FlatPark app PRs (#581, #582, #629, #634) |
| 2.2 | Upstream repo | ✅ | IPedrax/BIMCraft: owner account since 2020-04, repo since 2026-10-15, 49★, 7 forks, 74 commits, 6 releases (v0.1.0–v0.6.0). Every v0.6.0 asset was uploaded by github-actions[bot]. |
| 2.3 | Commit identity | ✅ | 1 commit, 3ddruck <[email protected]>, co-authored by Cursor |
| 2.4 | Timeline | ✅ | Repo 10-15, v0.6.0 10-20, PR 10-21. A young repo, but its owner account and history check out, and the submitter is established. |
| 2.5 | Trust tier | ✅ | established |
| 2.6 | Provenance tier | ✅ | Tier 1: LICENSE-MIT + LICENSE-APACHE, Cargo.toml license = "MIT OR Apache-2.0" |
| 3.1 | Pinning | ✅ | 1 × extra-data with sha256 and size 15871009. Otherwise only local file sources. |
| 3.1b | Nothing remote in /app |
✅ | The one simple module only installs the 7 in-repo files |
| 3.2 | finish-args | ✅ | wayland, fallback-x11, ipc, dri, xdg-documents. Identical to upstream's packaging/linux/flatpak/io.github.ipedrax.bimcraft.bundle.yml. No escape perms, no network, no home. |
| 3.3 | policy: |
✅ | proprietary: false is accurate. dangerous_permissions: [] matches the finish-args. Metainfo MIT OR Apache-2.0 matches upstream. |
| 3.4 | build-commands / no payload change | ✅ | Install-only. apply_extra untars, renames the version-stamped top dir to bimcraft/ and removes the archive. The wrappers just exec the two vendor binaries. |
| 3.4b | packaging: |
✅ | Nothing to declare: no LD_PRELOAD, host commands or sandbox-off in the scripts |
| 3.5 | Source URLs genuine | ✅ | github.com/IPedrax/BIMCraft/releases/download/v0.6.0/bimcraft-0.6.0-linux-x86_64.tar.gz |
| 3.6 | App id | ✅ | io.github.ipedrax.bimcraft is upstream's own id (its manifest, desktop file and metainfo all use it) |
| 3.7 | update.command |
✅ | ./resolve-update.sh |
| 3.8 | Download host | ✅ | Upstream's GitHub releases, not the submitter's account |
| 3.9 | Optional caps opt-in | ✅ | --filesystem=home withheld; the metainfo documents the flatpak override command and how to reset it. Network withheld (MCP is stdio). |
| 3.10 | Local-test attestation | ✅ | Built, installed from a local remote, launched (window title and class recorded). The CLI drew a wall and saved .bimcraft + IFC, then read it back. aarch64 is not published and is named as such. |
| 4.1 | No runtime fetch-and-exec | ✅ | None in the manifest or scripts. The vendor's self-updater (api.github.com/repos/IPedrax/BIMCraft/releases/latest, SHA-256-checked) can only replace an AppImage, a macOS .app or the Windows install, and crates/update/src/detect.rs in_flatpak() skips the update check inside Flatpak. |
| 4.2 | Resolver as code | ✅ | One GitHub API call (optional GITHUB_TOKEN header). jq selects the exact asset name bimcraft-$version-linux-x86_64.tar.gz, fails if the version or URL is empty, and builds the output with jq --arg. Nothing is eval'd and nothing is written. |
| 4.3 | Network endpoints | ✅ | No network grant, so no filesystem×network combination |
| 5.1 | sha256 == pin | ✅ | 5058e321…91a7, 15871009 bytes. Matches upstream SHA256SUMS and the GitHub asset digest. |
| 5.2 | Inspected, clean | ✅ | 46 entries (29 dirs, 15 files, 2 executables), all under bimcraft-0.6.0-linux-x86_64/. No symlinks, hardlinks, setuid/setgid, absolute paths or ... |
| 5.3 | Tier 1: nothing injected | ✅ | No vendor file is touched. The PR's .desktop, mime.xml and .svg are byte-identical to upstream's share/ copies. The metainfo is upstream's plus the community-package note, permissions and override text, and two more screenshots (all 3 URLs return 200). |
| 5.4 | Shipped == official | ✅ | Re-fetched and hashed (5.1). apply_extra only unpacks the archive. |
| 5.5 | Bundled runtimes | ➖ | None: two static-Rust ELFs (NEEDED: libc, libm, libgcc_s, ld-linux only) |
| 5.6 | IOC scan | ✅ | No xmrig/stratum+//dev/tcp/nc -e, autostart, cron or systemd. No RPATH/RUNPATH. The second \x7fELF hit in each binary is an instruction operand (cmp against the ELF magic), not an embedded ELF. URLs are crate docs/issue links plus upstream's own GitHub. |
| 6.1 | Purpose / legality | ✅ | Open-source BIM modeler under its own name and branding. Not on Flathub (appstream API 404). |
| 6.2 | Non-FOSS not a reason | ➖ | FOSS |
No hard-fail triggers. Thanks, @3ddruck12. A clean submission.
This was referenced Oct 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
BIMCraft (
io.github.ipedrax.bimcraft), the MIT OR Apache-2.0 building modeler from IPedrax/BIMCraft v0.6.0.Why this fills a gap
Not on Flathub. Upstream attaches a single-file
.flatpakto each GitHub release, built from the same Linux tarball. That bundle is not a remoteflatpak updatecan follow.Packaging
org.freedesktop.Platform//26.08. extra-data is the official x86_64 tarballbimcraft-0.6.0-linux-x86_64.tar.gz(15871009 bytes, sha256 matches upstreamSHA256SUMS), unpacked withtar --no-same-owner. The archive records uid 1001. The payload is not patched.packaging/linux/flatpak/io.github.ipedrax.bimcraft.bundle.yml). The binaries need only glibc; Wayland, X11, xkbcommon and EGL are loaded at run time.Sandbox
Granted, matching upstream: Wayland, fallback-x11, ipc, dri,
xdg-documents.Withheld:
--share=network. MCP is a stdio server (bimcraft-cli mcp), not a socket.--filesystem=home. The metainfo documentsflatpak override --user --filesystem=home io.github.ipedrax.bimcraftfor opening a project by path outside Documents.Verification
read-descriptor.mjsandaudit-descriptor.mjsexit 0appstreamcli validate --no-netsucceededappstreamcli composeprinted Success0.6.0and the x86_64.tar.gzURLcheck-apply-extra.shunpacked as root with no capabilitiesbimcraft-cli --versionprintedbimcraft-cli 0.6.0, andcommandsreturned JSON starting withnewandopenLD_TRACE_LOADED_OBJECTSonbimcraftandbimcraft-cli: no missing librariesProject · Floor Plan: Level 1 · BIMCraft, classio.github.ipedrax.bimcraft(0,0)to(4000,0)withbimcraft-cli, savedwall-test.bimcraftandwall-test.ifc. Reading the IFC back reportedwall: 1. Test files removed with the installMade with Cursor