From 990cc0cd713e1854631cc30137a9a298903049aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dovil=C4=97=20Sli=C5=BEyt=C4=97?= Date: Wed, 11 Nov 2026 18:51:49 +0100 Subject: [PATCH 1/2] Say that a doubled slash in a universal-module path is not a defect Make collapses consecutive slashes in the request path before sending, so a fixed prefix ending in / joined with a user path starting with / is sent with one slash. Reviewers probing the provider directly were reporting it as a broken request and adding slash-stripping expressions to working modules. Co-Authored-By: Claude Fable 5.2 --- .../current-knowledge/guides/universal-modules-and-scopes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md b/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md index e789c8f..406bb8c 100644 --- a/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md +++ b/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md @@ -13,6 +13,7 @@ For a REST universal module the documented shape is: a clear relative URL input ## Keep the destination inside the service * A fixed `baseUrl` (with or without a path prefix) is compatible with a relative user input. Formatting of a fixed prefix does not by itself prove the user can replace the host. +* Repeated slashes in the path are not a defect. Make normalizes the request URL before it sends it and collapses consecutive slashes in the path, so a fixed prefix that ends with `/` joined with a user path that starts with `/` (`https://api.example.com/` + `/v1/items`) goes out as `https://api.example.com/v1/items`. A provider that answers `//v1/items` with an error when it is called directly, outside Make, therefore shows nothing about the module. Do not raise a finding for it, and do not add a slash-stripping expression to a working `url` (**observed in the runtime**; if a finding would depend on the opposite, confirm it in a run first). * An absolute URL typed by the user would be the boundary violation; relative-only is the documented rule. A module that accepts one is hardened (add a fixed prefix or validation), not rejected. * Inheritance must keep working when users add headers: Base authorisation stays in place when the module's `headers` collection uses the spread ([headers-merge](headers-merge.md)). For REST universal modules, assess whether an optional header input (any equivalent mapped input) exists and reaches the request, whatever the provider; a missing one is at least a documented-convention recommendation, and a concrete defect when a required provider header cannot be sent. It is not proof that authentication fails, and absence of a Headers input is not by itself a REST-convention finding for GraphQL universal modules, whose documented shape is query/variables; independently check that any provider-required headers can still be sent ([headers-merge](headers-merge.md)). Empty customisation fields must not remove inherited authorisation either; test the effective request with empty and populated fields. @@ -38,6 +39,7 @@ A universal module is the only place where a user, not the author, decides the r ## Pitfalls * Accepting an absolute URL. +* Reporting a doubled slash between the fixed prefix and the user's path as a broken request, or "fixing" it by stripping slashes. * Treating a fixed prefix format as a host-replacement vulnerability. * A header input that, when empty, wipes inherited authorisation, or a `{{...}}` mistake that does the same. * Treating missing header customisation as broken authentication. @@ -50,7 +52,7 @@ A universal module is the only place where a user, not the author, decides the r * Apps without a universal module need none of this. * The versioned-path guidance depends on the provider's API versioning. * Provider restrictions on allowed destinations or content still apply. -* **Approval impact** ([Approval gating](../../../references/review-and-qa.md#2a-approval-gating)). A universal module input that untrusted scenario data could use to steer the connection's credential to another host is hardening: add a fixed prefix or validation and approve with adjustments. A credential placement the provider accepts (header, query string, body, Basic auth) is correct, and a host, subdomain or instance URL entered by the connection owner is a Make feature; neither is a defect. Only the app author's own code sending credentials or user data to a party other than the provider, without the user choosing it, is a scam and rejects. Path normalization effects such as an unverified double slash, and scope or header conventions without a shown failure, are advisory, or `needs_evidence` only if the open question could hide a scam (unsettled, it rejects and names the missing fact). A header input that can wipe inherited authorisation makes calls fail (class (a)): fix it with a guard; it is a class (b) finding, fixed by the guard or the binding, when protected data or actions would be exposed without authentication. +* **Approval impact** ([Approval gating](../../../references/review-and-qa.md#2a-approval-gating)). A universal module input that untrusted scenario data could use to steer the connection's credential to another host is hardening: add a fixed prefix or validation and approve with adjustments. A credential placement the provider accepts (header, query string, body, Basic auth) is correct, and a host, subdomain or instance URL entered by the connection owner is a Make feature; neither is a defect. Only the app author's own code sending credentials or user data to a party other than the provider, without the user choosing it, is a scam and rejects. A doubled slash between the fixed prefix and the user's path is not a finding at all, because Make collapses it before sending (see above). Other path normalization effects, and scope or header conventions without a shown failure, are advisory, or `needs_evidence` only if the open question could hide a scam (unsettled, it rejects and names the missing fact). A header input that can wipe inherited authorisation makes calls fail (class (a)): fix it with a guard; it is a class (b) finding, fixed by the guard or the binding, when protected data or actions would be exposed without authentication. ## Evidence and limits From 73165cbc107f06e2eba7f0e82e1c4cd24eedfbf6 Mon Sep 17 00:00:00 2001 From: Sebastian Mertens Make Date: Thu, 12 Nov 2026 11:15:19 +0100 Subject: [PATCH 2/2] Prevent unnecessary edits to documented universal-module URLs Ground the extra-slash rule in Make REST documentation and restrict it to the fixed-prefix/input boundary that the source actually covers. Confidence: high Scope-risk: narrow Tested: Static current-knowledge checks and four portability tests Not-tested: Live Make or provider execution --- .../current-knowledge/guides/universal-modules-and-scopes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md b/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md index 406bb8c..7f2ddd5 100644 --- a/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md +++ b/skills/make-custom-apps/examples/current-knowledge/guides/universal-modules-and-scopes.md @@ -13,7 +13,7 @@ For a REST universal module the documented shape is: a clear relative URL input ## Keep the destination inside the service * A fixed `baseUrl` (with or without a path prefix) is compatible with a relative user input. Formatting of a fixed prefix does not by itself prove the user can replace the host. -* Repeated slashes in the path are not a defect. Make normalizes the request URL before it sends it and collapses consecutive slashes in the path, so a fixed prefix that ends with `/` joined with a user path that starts with `/` (`https://api.example.com/` + `/v1/items`) goes out as `https://api.example.com/v1/items`. A provider that answers `//v1/items` with an error when it is called directly, outside Make, therefore shows nothing about the module. Do not raise a finding for it, and do not add a slash-stripping expression to a working `url` (**observed in the runtime**; if a finding would depend on the opposite, confirm it in a run first). +* A doubled slash at the boundary between a REST universal module's fixed prefix and the user's relative path is not a defect. The [REST universal-module documentation](https://developers.make.com/custom-apps-documentation/app-components/modules/universal-module/rest) explicitly permits a prefix ending with `/` and input starting with `/`, and says the extra slash is removed. Thus `https://api.example.com/` + `/v1/items` becomes `https://api.example.com/v1/items`. A direct provider call to `//v1/items` does not reproduce that Make request. Do not raise a finding or add a slash-stripping expression for this boundary alone. This documented rule does not establish normalization of repeated slashes elsewhere in the path. * An absolute URL typed by the user would be the boundary violation; relative-only is the documented rule. A module that accepts one is hardened (add a fixed prefix or validation), not rejected. * Inheritance must keep working when users add headers: Base authorisation stays in place when the module's `headers` collection uses the spread ([headers-merge](headers-merge.md)). For REST universal modules, assess whether an optional header input (any equivalent mapped input) exists and reaches the request, whatever the provider; a missing one is at least a documented-convention recommendation, and a concrete defect when a required provider header cannot be sent. It is not proof that authentication fails, and absence of a Headers input is not by itself a REST-convention finding for GraphQL universal modules, whose documented shape is query/variables; independently check that any provider-required headers can still be sent ([headers-merge](headers-merge.md)). Empty customisation fields must not remove inherited authorisation either; test the effective request with empty and populated fields. @@ -57,7 +57,7 @@ A universal module is the only place where a user, not the author, decides the r ## Evidence and limits * Relative path, single module and security rationale: **documented requirement** (universal module page). -* REST and GraphQL conventions and the conditional scope extension: **documented guidance**. +* REST and GraphQL conventions, the conditional scope extension and extra-slash removal at the REST fixed-prefix/input boundary: **documented guidance**. * Which scopes cover which endpoint groups: **provider contract**; the static checker never evaluates scopes. ## Sources