Skip to content

v0.5.2 — 10-iteration audit remediation

Choose a tag to compare

@celstnblacc celstnblacc released this 24 Jun 16:42
· 10 commits to main since this release
c417f3a

v0.5.2 — Audit Remediation (10 TDD iterations)

Security fixes

  • SSRF guard on apiBaseUrl: warn on non-HTTPS and localhost/private-IP targets
  • Symlink traversal guard in state-store.ts collectFiles() via resolve()+startsWith()
  • ShipGuard SAST: corrected disable_rules field; suppressed JS-002 (Array.prototype.join false positive) and JS-004 (array dedup false positive)

Bug fixes

  • pen-snapshot: diffPenSnapshots detects added/cleared props, whole-node deletions, and removed tokens
  • pen-to-code: hexToRgbChannels parses rgb()/rgba() and rejects invalid-length hex
  • pen-to-code: applyFillChanges single-pass keyed replacement prevents chained-diff corruption
  • pencil-mcp-client: batchGet/batchDesign throw on isError and non-JSON responses
  • code-to-pen: syncCodeToPenDirect returns failure on unreadable .pen or no-op
  • provider: honors settings.provider in runner creation and env-key resolution
  • ai-runners: claude-haiku-4-5 alias in pricing table; systemInstruction for Google; warn on OpenAI finish_reason:length
  • config: Zod v4 migration (message/error params); mcp-server null→undefined coercion

CI / tooling

  • .npmrc legacy-peer-deps=true resolves openai peerOptional zod v3 conflict on Node 22