nofax 0.2.46 → 0.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -42,6 +42,18 @@ Local Nofax `0.2.x` behavior is unchanged by these removals.
42
42
  - The capability-path form is normalized to `/mcp` before MCP protocol handling.
43
43
  - Remote read operations perform no external messaging/provider calls; only explicit `nofax_notify` invokes ntfy.
44
44
 
45
+ ## 0.2.48 - 2026-10-30
46
+
47
+ ### Security
48
+
49
+ - Redact legacy AWS S3 V2 and Google Cloud Storage V2 signed-URL `Signature` query tokens from agent approval summaries; synthetic regression verifies protection without changing explicit human consent.
50
+
51
+ ## 0.2.47 - 2026-10-30
52
+
53
+ ### Security
54
+
55
+ - Redact credential-bearing URL query parameters in agent approval summaries, including dotted API keys and AWS/Google signed URL signature values. Synthetic regression covers the leak; explicit human consent remains mandatory.
56
+
45
57
  ## 0.2.46 - 2026-10-29
46
58
 
47
59
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nofax",
3
- "version": "0.2.46",
3
+ "version": "0.2.48",
4
4
  "mcpName": "io.github.AKzar1el/nofax",
5
5
  "description": "Human-in-the-loop approvals and notifications for AI coding agents via CLI, MCP, and agent hooks.",
6
6
  "type": "module",
package/src/protocol.mjs CHANGED
@@ -58,7 +58,8 @@ function isSecretKey(key) {
58
58
  || lower === 'pass_phrase'
59
59
  || lower.endsWith('_passphrase')
60
60
  || lower.endsWith('_pass_phrase');
61
- return lower === 'auth' || isAuthHeader || isAuthHeaderValue || isPassphrase || SECRET_KEY.test(normalized);
61
+ const isSignedUrlSignature = lower === 'x_amz_signature' || lower === 'x_goog_signature';
62
+ return lower === 'auth' || isSignedUrlSignature || isAuthHeader || isAuthHeaderValue || isPassphrase || SECRET_KEY.test(normalized);
62
63
  }
63
64
 
64
65
  function redactSecretText(value) {
@@ -110,8 +111,8 @@ function redactSecretText(value) {
110
111
  );
111
112
 
112
113
  redacted = redacted.replace(
113
- /([?&#])([A-Za-z][A-Za-z0-9_-]{0,63})=([^&\s"'`,;]+)/g,
114
- (match, prefix, key) => isSecretKey(key)
114
+ /([?&#])([A-Za-z][A-Za-z0-9._-]{0,63})=([^&\s"'`,;]+)/g,
115
+ (match, prefix, key) => (isSecretKey(key) || key.toLowerCase() === 'signature')
115
116
  ? `${prefix}${key}=[REDACTED]`
116
117
  : match
117
118
  );