Skip to content

v0.1.1 — marketplace review remediation

Choose a tag to compare

@KenLP KenLP released this 17 Jul 01:23
· 70 commits to main since this release

Closes every finding from both marketplace review passes. The tag, the manifest and the code all describe this same commit — the v0.1.0 tag predated the security work, which is why this release exists.

Verified by building the executable and driving it over stdio, not by reading the code: serverInfo reports 0.1.1, tools/list returns 43 tools, no tool description carries workflow instructions, and all 7 mutating tools still expose dry_run.

Security

Fix Why it mattered
5xx retried for GET only (or an explicit retryOn5xx opt-in) Every 5xx used to be retried, so a POST that Autodesk had already applied before failing could be duplicated — a second issue, comment or review.
ApsIndeterminateError + outcome_unknown audit stage A mutation that times out has an unknown outcome, not a failed one. The audit log now says so instead of recording a clean failure.
md_trigger_translation refused while an allow-list is active It takes a URN that cannot be mapped to a project, so it silently bypassed the allow-list the manifest promises. Now fails closed.
Positive-integer validation on FORMA_APPROVAL_TOKEN_TTL / FORMA_AUDIT_RETENTION_DAYS A non-numeric value produced NaN, making every expiry comparison false — approval tokens would never expire.
0700/0600 on audit + state directories (POSIX) The privacy policy claimed only you could read them; nothing enforced it.
rate_counters purged at startup Only tokens and idempotency records expired; this table grew without bound.

Declarations match the binary

  • Six tool descriptions carried step-by-step workflow instructions. Autodesk requires plain-language descriptions — the dry-run/approval mechanics are documented on the dry_run and approval_token fields, which are unchanged.
  • The version is now written in one place (src/version.ts); a test fails if it drifts from package.json or the manifest. It had already drifted once: the first build of this release announced 0.1.0.
  • PRIVACY.md: SQLite idempotency records cache tool results (which can contain project data); rate counters expire by hour, not by token TTL; file permissions stated.
  • SAFETY.md showed a live approval token in its example audit entry, contradicting the fingerprinting implementation.
  • .env.example claimed audit retention needed manual cleanup; it is pruned at startup.

Packaged executable

Memory persistence only. better-sqlite3 is a native addon that cannot load from a single-file binary, so FORMA_PERSISTENCE_MODE=sqlite under pkg now fails at startup with the reason instead of "Could not locate bindings" later. Durable state requires running from Node (npx acc-forma-mcp-server). For a Node install, pnpm.onlyBuiltDependencies now permits the better-sqlite3 build that pnpm 10 skips by default.

Verification

43 tools · 7 mutating · 200 tests · typecheck/lint/build clean · pnpm audit --prod: no known vulnerabilities · manifest cross-checked against the tool registry · exe driven over the MCP protocol.

mcp-manifest.json.sha256 is attached so the manifest can be verified against this release.