You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: guidance on sandboxing signed webhooks contradicts itself #586
ai-firstReduces friction for AI agents authoring URLCode projectsbugSomething isn't workingexamplesRecipes, starters, init templates and worked examples
main at 645239b; core 0.5.9 packed with npm pack and installed into scratch projects, run as llms.txt instructs (npx --no --package @jimhoyd/urlcode urlcode …); MCP driven over stdio. Node 26, macOS. Found in a hands-on usability audit (agent and human perspectives).
Minimal reproduction
AGENTS.md, the skill and docs/AI-AUTHORING.md correctly say untrusted input alone is not a reason to sandbox. But:
recipes/webhook-receiver declares sandbox: true because the payload is third-party, cites that same AI-AUTHORING section, and says signed webhooks need an operator extension or trusted host;
the audit advisory on a trusted POST route says "If it isolates untrusted input, add sandbox: true" — following it makes HMAC verification impossible (no crypto in the guest);
Task: "verify an HMAC-signed webhook"; followed each surface in turn.
Suggested fix
Make the recipe a trusted function using node:crypto with a secret binding (and header parameter + body schema, per #555); reword the audit advisory to the documented criteria; have plan-feature mention secrets and trusted crypto for signature verification.
ai-firstReduces friction for AI agents authoring URLCode projectsbugSomething isn't workingexamplesRecipes, starters, init templates and worked examples
Activity
Declarative-first recipes, review signals and planner ranking (#605)