Security fixes
Every security fix that has shipped in SketchCraft, listed by release and by the part of the app it protects.
SketchCraft has been through repeated outside security reviews. Everything below has already shipped: update the app (it offers the update when you open it) and you have it. Found something? Please report it privately, as SECURITY.md describes, rather than in a public issue.
By release
SketchCraft 0.3.9
15 fixes from 5 review rounds, all shipped in this release.
-
UV and texture commands refuse numbers that aren’t real numbers, so a model you save always opens again.
-
The texture, UV and vertex colour data on each face counts toward the model’s size, growth and undo limits.
-
Each stroke has a work budget, and painting keeps to the 4,096-pixel picture limit; starting a paint texture no longer decodes every picture in the model.
-
Packing UVs, painting across faces, vertex paint and joining many points in one spot all have limits, so a very big model or a hostile command can’t freeze the app.
-
Soften and edge style on a list of faces no longer slow down sharply on big models.
-
Texture files written beside an export can’t overwrite each other after their names are cleaned.
SketchCraft 0.3.8
10 fixes from one review, all shipped in this release.
-
A table made by an agent or a plugin keeps to the same size limits as one you draw, sheet data in a model file is checked when the file opens, and the number of viewports on a sheet is limited.
-
Text that comes from an opened file, such as names and labels, is marked as data in an agent’s replies, so a hostile file can’t pass itself off as instructions.
-
Picture and drawing sizes are checked before memory is set aside for them.
-
DXF and SVG files keep imported text as plain text.
-
Batches of commands stop cleanly at their limits.
SketchCraft 0.3.6
100+ fixes from 8 review rounds, all shipped in this release.
-
The plugin install preview shows the same kind (JavaScript or Ruby) and Ruby menu items that the installer uses, and a plugin that is both is refused.
-
Plugins (JavaScript and SketchUp Ruby) and AI agents are held to modeling commands, the plugin sandbox is tighter, installing a plugin shows what it is first, MCP agents work inside one folder, and the dev bridge needs a token.
-
A plugin run is now one Undo step.
-
Plugin messages say which plugin they come from, and saved CSVs can’t carry spreadsheet formulas.
-
A plugin run is never re-pointed at someone else’s model mid-run, and a run that is never closed is saved after a couple of minutes.
-
AI agents can’t write into Backups or Plugins through the library, and can’t replace library or export files that already exist.
-
The report CSV can’t carry formulas, plugin tool previews can’t crash the window, and a long Ruby script has a time limit.
-
A plugin run is closed on time even if the app is idle, and your own edits during a run are saved at once.
-
A plugin tool that can’t start now says so, and one that sends too many commands is stopped.
-
Escape closes the Learn, Themes, Plugins and every other dialog, and the File and right-click menus.
-
Agents can no longer start programs (animate, IFC and DWG are yours alone), every helper program has a time limit and is stopped with everything it started,
--any-pathkeeps the Backups, Plugins and hidden-file rules, and long or odd names in an agent’s replies are cut and marked as data. -
AI agents write only the right kind of file with a new name (never over yours) and can’t be steered out of their folder by an OBJ file.
-
AI agents can no longer start the map and terrain download (Add location…); it stays yours.
-
A model with a very long text pool (hundreds of thousands of named placements) opens for cutting down instead of being refused, and an AI agent can no longer use up the room your own names, notes and colours need.
-
A plugin run that changes your model now says so (“Plugin X changed 3 things”, with an Undo button), the Undo and Redo buttons say when the step is from a plugin, and when you open SketchCraft after an AI agent saved changes you’re told.
-
It’s saved atomically with rolling backups, a file that can’t be read is kept aside instead of replaced, and a bad command can no longer corrupt it.
-
Undo no longer steps back over work another client (Claude, a second window) saved, and a burst of New/Open can’t push your last good backup out (backups are thinned instead of dropped, blank ones are skipped).
-
Only SketchCraft’s own backups are counted, the newest of each time slot is kept, the copy taken just before a New, Open or big delete is kept for a day, and another model in the same folder can’t thin yours.
-
If another program saves while a plugin runs, or while your own save was failing, your changes are set aside in a
.unsaved-file next to the model (with a warning that stays until you deal with it) instead of being lost. -
Backups can no longer be pushed out: forced backups are paced, your backups, an agent’s and a plugin’s each have their own small quota (with a byte limit too), a plugin run that wipes the model is backed up first, and the files set aside next to your model are only removed with a notice.
-
Folder names such as
BackupſorBACKUP~1can’t reach Backups or Plugins (they are compared by what they are on disk, not by spelling), and a name an agent has made is only “its own” while the file is still exactly what it wrote. -
Undo after another program saved now works on ordinary models (it used to refuse most of the time once you had rotated, scaled or imported anything), carries your history across a save without a pause even on huge models, and keeps a step it had to refuse so it can be tried again (press Undo again to skip it).
-
It also refuses an undo that would leave another program’s work pointing at a colour, group or part that the undo removed.
-
Restore no longer reuses part numbers and refuses a damaged backup.
-
Backups keep one copy per hour for a day and per day for a month however many deletes you make, a few huge backups can’t push out all the others, and Restore lists only the set-aside files SketchCraft itself made.
-
Models over the limits (made before this, or restored from a backup) now open for cutting down instead of being refused with a message you can’t act on, and Restore is never blocked by the limit.
-
If your model file can’t be read when SketchCraft starts, nothing is saved over it until you restore a copy or start a new model.
-
Undo no longer lets a few millimetres of another program’s edit be overwritten at survey-sized coordinates, and a Redo step survives a second save by another program.
-
A recovery file whose note was lost is still listed in Restore (“not verified”).
-
The file-size estimate counts escaped text, so a model SketchCraft saved always reopens.
-
If SketchCraft can’t read your file at start, saving comes back by itself when the file can be read again or is moved, or when you choose New or Open.
-
A SketchUp file (or a saved model, or a library part) whose components contain themselves, nest more than 64 levels deep or multiply into millions of faces (a part placed 10 times inside a part placed 10 times, and so on) used to crash the app, and could crash it again on every start.
-
They are now refused with a message, and a saved model like that is set aside like any damaged file instead of crashing the program on launch.
-
A saved setting that has gone bad can no longer stop the app starting.
-
Placing a component while you are editing one says “Close the component you’re editing first” and leaves Place mode.
-
Another program that opens your model while you are editing a group no longer draws into that group, which could make Undo refuse to take back your own step.
-
File > New while editing a component now really starts a new model.
-
A model no longer records the folder a library part came from (older files lose it when opened), built-in doors, windows and figures can’t be swapped by a component with the same name, and a library part is reused only if it is the same file contents.
-
Opening a huge or booby-trapped DXF is refused quickly instead of freezing the app, and very long point lists or absurd stair/array counts are refused.
-
DXF wall layers and hatches, and 3D text, now stop at their time limit.
-
Images, photos and scans count against a size limit (256 MB in a model), so a runaway tool can’t make the model unopenable or push your backups out; your own big imports (a 215,000-triangle OBJ, a 354,000-line DXF, a 300 x 300 terrain) work again.
-
A model SketchCraft saved always opens again (the open limit is 768 MB).
-
Opening a file (or a library part) whose part numbers were wrong no longer overwrites your drawing, and components are checked as thoroughly as the model.
-
Huge pictures hidden in a small file are measured before they are opened, library thumbnails check the file size, and a face squashed to nothing can no longer stop the model drawing.
-
Models with parts inside parts (most SketchUp imports and library parts) open, restore and reload again: the sixth review’s consistency check wrongly refused them.
-
An agent’s
openand library reads have their own smaller size limits, and a large import now shows the big-model notice straight away. -
Components can’t be made, and SketchUp files can’t be imported, while you are editing a component (close it first); that also fixes a bug where such an import could make a component contain itself.
-
Opening a SketchUp 2021+ file is held to limits (archive size, pictures and time, at most 30 seconds for any file), so a tiny booby-trapped file can’t use up the computer’s memory or freeze the app.
-
Double-click now works everywhere (it did nothing in Windows and in browser builds): double-click finishes a wall, opens a group or component, selects a face with its edges (triple-click: everything connected), and repeats your last Push/Pull distance.
-
A damaged classic SketchUp file (2020 and earlier) is now refused in well under a second instead of freezing the app for up to 30 seconds.
-
Pictures in a SketchUp file that can’t be read, or are over 64 MB, are named in the import notice.
-
Huge copies and arrays, dense DXF drawings, text with many outlines and grouping part of a big mesh are bounded or fast instead of freezing the app.
-
A model can hold about 2 million points, edges and faces (was 8 million); a bigger one opens for viewing and cutting down instead of being refused.
-
One size limit now counts everything in a model (images, scans, names, notes, component attributes): about 512 MB of file, of which an AI agent or a plugin can take a model up to 160 MB, and no more than 32 MB at a time, so a runaway tool can no longer make your model unopenable.
-
Very large models (over a million points, edges and faces) say so: each change takes a second or more.
-
Formulas in Dynamic Components are worked out once each (a long chain no longer hangs the app), and an id counter at the top of its range is refused instead of overwriting your drawing.
-
The Rust version is pinned (CI is green again on newer Rust), each platform’s installers are checked for their own names and file types before signing, only the Tauri CLI is installed next to the signing key, release files get build-provenance attestations, and a vendored Opal’s unused network loader is removed.
-
CI also checks that dependencies come from public registries only and that what ships has no high npm advisory.
-
Updates and releases are checked more strictly, and releases publish SHA-256 checksums.
-
The release workflow keeps the Apple secrets out of the job that compiles, and checks the file names it signs.
-
Plugins can no longer use Undo and Redo; the release workflow asks the
releasereviewer before the Apple signing secrets can be read. -
The plugin warning banner stays readable under any theme, a remembered Save path must end in
.sketchcraft, the dev bridge deletes its token file when it stops, and the committed MCP setup holds no personal folder.
SketchCraft 0.3.0
-
The dev bridge refuses other websites and DNS rebinding; a strict content security policy; importers fuzzed (no crashes in 20,000-file runs); dependencies updated (
cargo audit: no vulnerabilities). -
See docs/SECURITY.md.
No security changes in 0.3.7, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1 or 0.2.0.
By part of the app
Plugins
JavaScript and SketchUp Ruby plugins, the sandbox they run in, and what installing one shows you.
-
A table made by an agent or a plugin keeps to the same size limits as one you draw, sheet data in a model file is checked when the file opens, and the number of viewports on a sheet is limited.
-
The plugin install preview shows the same kind (JavaScript or Ruby) and Ruby menu items that the installer uses, and a plugin that is both is refused.
-
Plugins (JavaScript and SketchUp Ruby) and AI agents are held to modeling commands, the plugin sandbox is tighter, installing a plugin shows what it is first, MCP agents work inside one folder, and the dev bridge needs a token.
-
A plugin run is now one Undo step.
-
Plugin messages say which plugin they come from, and saved CSVs can’t carry spreadsheet formulas.
-
A plugin run is never re-pointed at someone else’s model mid-run, and a run that is never closed is saved after a couple of minutes.
-
AI agents can’t write into Backups or Plugins through the library, and can’t replace library or export files that already exist.
-
The report CSV can’t carry formulas, plugin tool previews can’t crash the window, and a long Ruby script has a time limit.
-
A plugin run is closed on time even if the app is idle, and your own edits during a run are saved at once.
-
A plugin tool that can’t start now says so, and one that sends too many commands is stopped.
-
Escape closes the Learn, Themes, Plugins and every other dialog, and the File and right-click menus.
AI agents and MCP
What an AI agent connected over MCP can and can't do to your models and your computer.
-
Text that comes from an opened file, such as names and labels, is marked as data in an agent’s replies, so a hostile file can’t pass itself off as instructions.
-
Agents can no longer start programs (animate, IFC and DWG are yours alone), every helper program has a time limit and is stopped with everything it started,
--any-pathkeeps the Backups, Plugins and hidden-file rules, and long or odd names in an agent’s replies are cut and marked as data. -
AI agents write only the right kind of file with a new name (never over yours) and can’t be steered out of their folder by an OBJ file.
-
AI agents can no longer start the map and terrain download (Add location…); it stays yours.
-
A model with a very long text pool (hundreds of thousands of named placements) opens for cutting down instead of being refused, and an AI agent can no longer use up the room your own names, notes and colours need.
Saving, backups and undo
Keeping your model safe: atomic saves, backups, recovery files, and undo when another program saved.
-
UV and texture commands refuse numbers that aren’t real numbers, so a model you save always opens again.
-
The texture, UV and vertex colour data on each face counts toward the model’s size, growth and undo limits.
-
Picture and drawing sizes are checked before memory is set aside for them.
-
A plugin run that changes your model now says so (“Plugin X changed 3 things”, with an Undo button), the Undo and Redo buttons say when the step is from a plugin, and when you open SketchCraft after an AI agent saved changes you’re told.
-
It’s saved atomically with rolling backups, a file that can’t be read is kept aside instead of replaced, and a bad command can no longer corrupt it.
-
Undo no longer steps back over work another client (Claude, a second window) saved, and a burst of New/Open can’t push your last good backup out (backups are thinned instead of dropped, blank ones are skipped).
-
Only SketchCraft’s own backups are counted, the newest of each time slot is kept, the copy taken just before a New, Open or big delete is kept for a day, and another model in the same folder can’t thin yours.
-
If another program saves while a plugin runs, or while your own save was failing, your changes are set aside in a
.unsaved-file next to the model (with a warning that stays until you deal with it) instead of being lost. -
Backups can no longer be pushed out: forced backups are paced, your backups, an agent’s and a plugin’s each have their own small quota (with a byte limit too), a plugin run that wipes the model is backed up first, and the files set aside next to your model are only removed with a notice.
-
Folder names such as
BackupſorBACKUP~1can’t reach Backups or Plugins (they are compared by what they are on disk, not by spelling), and a name an agent has made is only “its own” while the file is still exactly what it wrote. -
Undo after another program saved now works on ordinary models (it used to refuse most of the time once you had rotated, scaled or imported anything), carries your history across a save without a pause even on huge models, and keeps a step it had to refuse so it can be tried again (press Undo again to skip it).
-
It also refuses an undo that would leave another program’s work pointing at a colour, group or part that the undo removed.
-
Restore no longer reuses part numbers and refuses a damaged backup.
-
Backups keep one copy per hour for a day and per day for a month however many deletes you make, a few huge backups can’t push out all the others, and Restore lists only the set-aside files SketchCraft itself made.
-
Models over the limits (made before this, or restored from a backup) now open for cutting down instead of being refused with a message you can’t act on, and Restore is never blocked by the limit.
-
If your model file can’t be read when SketchCraft starts, nothing is saved over it until you restore a copy or start a new model.
-
Undo no longer lets a few millimetres of another program’s edit be overwritten at survey-sized coordinates, and a Redo step survives a second save by another program.
-
A recovery file whose note was lost is still listed in Restore (“not verified”).
-
The file-size estimate counts escaped text, so a model SketchCraft saved always reopens.
-
If SketchCraft can’t read your file at start, saving comes back by itself when the file can be read again or is moved, or when you choose New or Open.
-
A SketchUp file (or a saved model, or a library part) whose components contain themselves, nest more than 64 levels deep or multiply into millions of faces (a part placed 10 times inside a part placed 10 times, and so on) used to crash the app, and could crash it again on every start.
-
They are now refused with a message, and a saved model like that is set aside like any damaged file instead of crashing the program on launch.
-
A saved setting that has gone bad can no longer stop the app starting.
-
Placing a component while you are editing one says “Close the component you’re editing first” and leaves Place mode.
-
Another program that opens your model while you are editing a group no longer draws into that group, which could make Undo refuse to take back your own step.
-
File > New while editing a component now really starts a new model.
Opening and importing files
SketchUp, DXF, DWG, IFC, OBJ and image files that are damaged, huge or built to cause trouble.
-
Each stroke has a work budget, and painting keeps to the 4,096-pixel picture limit; starting a paint texture no longer decodes every picture in the model.
-
DXF and SVG files keep imported text as plain text.
-
A model no longer records the folder a library part came from (older files lose it when opened), built-in doors, windows and figures can’t be swapped by a component with the same name, and a library part is reused only if it is the same file contents.
-
Opening a huge or booby-trapped DXF is refused quickly instead of freezing the app, and very long point lists or absurd stair/array counts are refused.
-
DXF wall layers and hatches, and 3D text, now stop at their time limit.
-
Images, photos and scans count against a size limit (256 MB in a model), so a runaway tool can’t make the model unopenable or push your backups out; your own big imports (a 215,000-triangle OBJ, a 354,000-line DXF, a 300 x 300 terrain) work again.
-
A model SketchCraft saved always opens again (the open limit is 768 MB).
-
Opening a file (or a library part) whose part numbers were wrong no longer overwrites your drawing, and components are checked as thoroughly as the model.
-
Huge pictures hidden in a small file are measured before they are opened, library thumbnails check the file size, and a face squashed to nothing can no longer stop the model drawing.
-
Models with parts inside parts (most SketchUp imports and library parts) open, restore and reload again: the sixth review’s consistency check wrongly refused them.
-
An agent’s
openand library reads have their own smaller size limits, and a large import now shows the big-model notice straight away. -
Components can’t be made, and SketchUp files can’t be imported, while you are editing a component (close it first); that also fixes a bug where such an import could make a component contain itself.
-
Opening a SketchUp 2021+ file is held to limits (archive size, pictures and time, at most 30 seconds for any file), so a tiny booby-trapped file can’t use up the computer’s memory or freeze the app.
-
Double-click now works everywhere (it did nothing in Windows and in browser builds): double-click finishes a wall, opens a group or component, selects a face with its edges (triple-click: everything connected), and repeats your last Push/Pull distance.
-
A damaged classic SketchUp file (2020 and earlier) is now refused in well under a second instead of freezing the app for up to 30 seconds.
-
Pictures in a SketchUp file that can’t be read, or are over 64 MB, are named in the import notice.
Size and time limits
Limits that stop a runaway model, tool or file from freezing the app or filling your disk.
-
Packing UVs, painting across faces, vertex paint and joining many points in one spot all have limits, so a very big model or a hostile command can’t freeze the app.
-
Soften and edge style on a list of faces no longer slow down sharply on big models.
-
Batches of commands stop cleanly at their limits.
-
Huge copies and arrays, dense DXF drawings, text with many outlines and grouping part of a big mesh are bounded or fast instead of freezing the app.
-
A model can hold about 2 million points, edges and faces (was 8 million); a bigger one opens for viewing and cutting down instead of being refused.
-
One size limit now counts everything in a model (images, scans, names, notes, component attributes): about 512 MB of file, of which an AI agent or a plugin can take a model up to 160 MB, and no more than 32 MB at a time, so a runaway tool can no longer make your model unopenable.
-
Very large models (over a million points, edges and faces) say so: each change takes a second or more.
-
Formulas in Dynamic Components are worked out once each (a long chain no longer hangs the app), and an id counter at the top of its range is refused instead of overwriting your drawing.
Exports and reports
Files SketchCraft writes for other programs, such as CSV reports.
-
Texture files written beside an export can’t overwrite each other after their names are cleaned.
Updates and releases
How releases are built, signed and checked, and how the app updates itself.
-
The Rust version is pinned (CI is green again on newer Rust), each platform’s installers are checked for their own names and file types before signing, only the Tauri CLI is installed next to the signing key, release files get build-provenance attestations, and a vendored Opal’s unused network loader is removed.
-
CI also checks that dependencies come from public registries only and that what ships has no high npm advisory.
-
Updates and releases are checked more strictly, and releases publish SHA-256 checksums.
-
The release workflow keeps the Apple secrets out of the job that compiles, and checks the file names it signs.
-
Plugins can no longer use Undo and Redo; the release workflow asks the
releasereviewer before the Apple signing secrets can be read.
Dev bridge
The local server that lets the app's interface run in a browser during development.
-
The plugin warning banner stays readable under any theme, a remembered Save path must end in
.sketchcraft, the dev bridge deletes its token file when it stops, and the committed MCP setup holds no personal folder. -
The dev bridge refuses other websites and DNS rebinding; a strict content security policy; importers fuzzed (no crashes in 20,000-file runs); dependencies updated (
cargo audit: no vulnerabilities). -
See docs/SECURITY.md.