# ADR : Protect Status: proposed — template; decision and owner acceptance are not recorded. Date / source revision / owner / supersedes: ## Context and decision trigger Draw the caller → application → n8n → downstream path. Identify authenticated actors, tenant/data scope, public ingress, outbound destinations, credential owners, execution-history/log contents and operational administrators. Distinguish application authorization from access to the workflow editor or a secret-looking URL. ## Alternatives and tradeoffs Compare existing application-mediated automation, a supported authenticated n8n ingress, provider-signed event verification at an appropriate boundary, and private network exposure with application-level checks. Pick mechanisms supported by the exact target/node version. Random paths, CORS or an IP filter alone do not satisfy a requirement for authentication/tenant authorization. Do not invent a signature-verification node or parameter. ## Decision to complete Specify ingress auth/signature/replay checks and authorization owner; tenant binding; least-privilege credential storage/provisioning/rotation/revocation; outbound destination restrictions; payload minimization/validation; retention/redaction; who may edit/publish/test; audit/incident ownership. Consider SSRF or credential exfiltration when untrusted payloads influence an HTTP destination. Code/community/command/file nodes need explicit scope/source review and authorization before execution/installation. ## Validation and acceptance Test missing/invalid identity, wrong tenant/role, replayed or tampered signed data where supported, forbidden destinations, oversized/malformed payloads, revoked credentials and safe error/log redaction. Inspect exported JSON and pinned data for embedded headers/secrets/PII before sharing. Do not paste credentials into fixtures, ADRs or prompts. Observe actual behavior on an authorized test target; a configured checkbox is not proof of enforcement. ## Consequences, rollout and rollback Describe operational/key rotation costs, reduced data retention, break-glass scope and alerting. Separate test/production endpoints and credential bindings. Rollback may disable triggers/revoke bindings but must preserve audit and pending-work recovery without exposing secrets. Record actual owner approval for residual risks; a proposed ADR cannot waive a security requirement.