High-risk tools in Pixmith
10 of the 59 tools in Pixmith are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
doc_newExecuteCreate a new blank sprite (one transparent layer "Layer 1", one 100 ms frame) and return its document id. Optionally fill it with a background color, pick the color mode, or loa...
-
draw_curveExecuteThe Curve tool: draw a cubic Bezier curve: `points` = [start, control1, control2, end], each [x, y].
-
draw_textExecuteThe Text tool: write text with the built-in 5x8 pixel font, top-left at (x, y); each font pixel becomes scale x scale pixels. Returns the text's size. With measure_only=true not...
-
free_transformExecuteThe Free Transform tool (Edit menu) for the selection (or cel): begin, then set any of x, y, width, height, angle (degrees), skew_x, skew_y (the preview updates; `anchor` picks ...
-
renderExecuteRender the sprite as a PNG image you can look at (MCP image content). Defaults: the active frame, all visible layers composited, scaled up so the long side is about 512 px, on a...
-
run_luaExecuteRun a Lua 5.4 script against a document (sandboxed: io / os / app.fs / file loading and saving only inside `allow_paths`, everything else is denied; 128 MB memory, 10 s by defau...
-
sprite_sizeExecuteSprite > Canvas Size and sprite scaling: resize the whole sprite (all layers and frames): `scale` resamples the pixels (nearest neighbour) to width x height (or by `factor`); `c...
-
transactionExecutebegin: start a transaction so every following tool call on this document becomes part of ONE undo step named `label` (e.g. a whole character drawn with many calls); end: close i...
-
transformExecuteEdit > Flip Horizontal / Flip Vertical / Rotate 90: flip or rotate the selected pixels, or the whole cel when nothing is selected: flip_horizontal, flip_vertical, rotate_cw / ro...
-
tweenExecuteAnimate a layer (or group) by keyframes instead of redrawing it: properties x, y (offset in pixels), rotation (degrees, clockwise), scale_x, scale_y (1 = 100%), opacity (0-1). B...
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.