Skip to content

Artificer 0.1.1

Choose a tag to compare

@itm-tactcode itm-tactcode released this 19 Nov 03:57
· 1 commit to main since this release

Artificer 0.1.1

0.1.1 is a security update for the local server (artificer serve and the server the desktop app starts). It addresses the DNS-rebinding issue listed under Known issues in 0.1.0 and adds optional API-key authentication. If you run artificer serve or the desktop app, please update. Some changes can break existing setups; read Changes that may affect you before you upgrade.

Please report bugs at https://github.com/itm-tactcode/artificer/issues. To report a security problem privately, use GitHub's private vulnerability reporting on the repository (see SECURITY.md).

What's new

  • Host and Origin checks. The server now answers only requests whose Host header is a loopback name (127.0.0.1, localhost or [::1], with its own port or no port) or the --host you gave, and whose Origin header, if any, is a loopback origin on its own port. Other requests get 403. This is designed to keep web pages you visit from using the server, including through DNS rebinding.
  • JSON required on POST. Every POST must send Content-Type: application/json (otherwise 415). This is designed to stop browser requests that skip the cross-origin preflight check.
  • Optional API key. With --api-key <KEY> or ARTIFICER_API_KEY, every route except GET /health needs Authorization: Bearer <KEY> (otherwise 401). Prefer the environment variable, since other local users can see command-line arguments. An empty key, or a key with spaces at either end, is an error. There is still no TLS: the key is sent in plain text, so put the server behind a reverse proxy that adds TLS before exposing it beyond your own machine.
  • New options. --allowed-hosts / ARTIFICER_ALLOWED_HOSTS and --allowed-origins / ARTIFICER_ALLOWED_ORIGINS add comma-separated values to the allowed lists. * turns that check off (for example behind a reverse proxy that checks these headers itself). Turning it off removes the DNS-rebinding protection. --allow-insecure-bind allows a non-loopback bind without a key (see below).
  • Model load errors say less. Errors from POST /v1/models/load no longer include file paths or content from the model file. Missing or wrong files get one message ("model file not found or not a .gguf file"), and other failures get a general message. The full detail is written to the server log only. Error messages in the CLI (artificer run and the others) and in the desktop app are unchanged.
  • MCP. MCP chat and complete calls now stop on POST /v1/chat/cancel and when the client disconnects, and the prompt length limit for chat counts all messages together.

Changes that may affect you

  • A non-loopback --host no longer starts without a key. artificer serve --host 0.0.0.0 (or [::], a LAN address or a hostname) now refuses to start unless you set --api-key / ARTIFICER_API_KEY or pass --allow-insecure-bind. LAN clients also need their address in --allowed-hosts (for example --allowed-hosts 192.168.1.20).
  • Browser clients on other origins need --allowed-origins. A web page or browser-based client served from anywhere other than the server's own loopback address and port now gets 403 unless you add its origin, for example --allowed-origins http://localhost:3000. This includes a page served from another loopback address such as http://127.0.0.2:<port>.
  • Non-JSON POSTs get 415. Scripts must send Content-Type: application/json. That includes a cancel with no body: in 0.1.0, curl -X POST http://127.0.0.1:8080/v1/chat/cancel worked; in 0.1.1 use curl -X POST -H 'Content-Type: application/json' -d '{}' http://127.0.0.1:8080/v1/chat/cancel. The desktop app and the bundled clients already send JSON.
  • scripts/demo-serve.sh with ARTIFICER_HOST. If you set ARTIFICER_HOST to a non-loopback address, the demo script's server now refuses to start. Set ARTIFICER_API_KEY (and add the address with ARTIFICER_ALLOWED_HOSTS) or keep the default 127.0.0.1.

Downloads

This release includes six archives and a SHA256SUMS file. Check each download against the hash below before you run it.

File SHA-256 What it contains
artificer-0.1.1-linux-x86_64.tar.gz d556620e0f3cd28bfb4a05b77f630394041d3aee383921d3e7c6779b0815fda6 Linux x86_64 CLI (artificer). CUDA-enabled build. Also includes README, licenses and third-party notices.
artificer-0.1.1-macos-aarch64.tar.gz aa0bcc63c0cfb9b2eb2e183ee1b7fa3b34586e309aeca672b124fec8528bed8d macOS Apple Silicon CLI (artificer). CPU only. Also includes README, licenses and third-party notices.
artificer-0.1.1-windows-x86_64.zip 7e35642a6fa65edacb1f779548eb6b5a3578899baeb2387f5438b9fb1116ab37 Windows x86_64 CLI (artificer.exe). CPU only. Also includes README, licenses and third-party notices.
artificer-0.1.1-linux-x86_64-desktop.tar.gz 2ea8da71298a636bf7156aee500f685d6faa28a3c2fa1427c3bc0c0289285c67 Linux x86_64 desktop app (bin/artificer-desktop), with install.sh / uninstall.sh, a launcher entry, icons, README, licenses and notices.
artificer-0.1.1-macos-aarch64-desktop.zip b366e0432edc19441d4baac77f45415a7c0a4930baf3851cdddfa4a5cd34f813 Unsigned macOS Apple Silicon Artificer.app (ad-hoc signature only), plus licenses and third-party notices. CPU only.
artificer-0.1.1-windows-x86_64-desktop.zip a1ab2bb518c386971fd01bef6858055a367aa51cf1eff38b7612bbb96e5c95bf Windows x86_64 desktop app (artificer-desktop.exe). CPU only. Also includes README, licenses and notices.
SHA256SUMS ebd6bac312277905a35319dd648d7ef47e41c2797ac2ecdd54ee42460b55f23a SHA-256 checksums of the six archives.

Verify the archives in the folder you downloaded them to. --ignore-missing skips the archives you didn't download; if your shasum doesn't accept it, download all six archives or compare the single hash by hand.

Linux (fish):

sha256sum -c --ignore-missing SHA256SUMS

macOS (fish):

shasum -a 256 -c --ignore-missing SHA256SUMS

Windows (PowerShell):

Get-FileHash .\SHA256SUMS -Algorithm SHA256
Get-FileHash .\artificer-0.1.1-windows-x86_64.zip -Algorithm SHA256

Compare the PowerShell Hash value with the table above (case does not matter). Repeat Get-FileHash for the desktop zip.

To check SHA256SUMS itself on Linux or macOS, run sha256sum SHA256SUMS or shasum -a 256 SHA256SUMS and compare with the hash in the table.

Windows (unsigned binaries)

The Windows binaries are unsigned, so Microsoft Defender SmartScreen may warn the first time you open them. On the "Windows protected your PC" screen, click More info, then Run anyway. Check the file's SHA-256 against the table above before you do that.

macOS (unsigned, not notarized)

The macOS CLI and Artificer.app are unsigned and not notarized, so Gatekeeper will block them. After you have checked the hash:

  • Try to open the file or app once, then go to System Settings → Privacy & Security, click Open Anyway, and confirm.
  • (On macOS 14 and earlier you can also Control-click the app and choose Open.)

As an advanced option, after the hash check, you can remove the quarantine flag:

xattr -dr com.apple.quarantine <path>

Use <path> for the CLI binary or for Artificer.app. Do this only for files you downloaded from this release page and checked against SHA256SUMS.

These macOS downloads were smoke-tested automatically on a GitHub-hosted Apple Silicon Mac. They have not yet been tested by hand on a Mac.

Desktop app (Tauri development-mode build)

The 0.1.1 desktop app is a Tauri development-mode build. It is shipped as a plain archive (and, on macOS, an unsigned .app) rather than a Tauri-bundled installer: there is no AppImage, .deb or MSI.

Known issues

  • --host :: fails to start the server. Use --host '[::]' instead.
  • If a value passed as --api-key <KEY> starts with -, the command-line parser rejects it and its error shows the first characters of the key. Use --api-key=<KEY> or ARTIFICER_API_KEY.
  • A cancelled MCP call returns the text produced so far without marking it as cancelled.
  • The desktop app reuses a server already running on 127.0.0.1:8080 only if that server has no API key. If it was started with --api-key or ARTIFICER_API_KEY, the app starts its own CPU server instead, without telling you.
  • The 0.1.0 known issues about the desktop app (no Markdown rendering, the view after a context reset, the history cap) and about reasoning text in the CLI and HTTP API still apply.

Coming in 0.1.x

Planned, not promised: plans, scope and timing may change, and there are no dates.

  • Fix for --host :: and for --api-key values starting with -.
  • The items listed under Coming in 0.1.x in the 0.1.0 notes.

License

Licensed under either the Apache License, Version 2.0, or the MIT license, at your option. Artificer includes third-party components under their own licenses; see THIRD-PARTY-NOTICES.md in each download. Artificer is provided "as is", without warranty of any kind; see the licenses.