nofax 0.2.46 → 0.2.47
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 +6 -0
- package/package.json +1 -1
- package/src/protocol.mjs +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -42,6 +42,12 @@ 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.47 - 2026-10-30
|
|
46
|
+
|
|
47
|
+
### Security
|
|
48
|
+
|
|
49
|
+
- 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.
|
|
50
|
+
|
|
45
51
|
## 0.2.46 - 2026-10-29
|
|
46
52
|
|
|
47
53
|
### Fixed
|
package/package.json
CHANGED
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
|
-
|
|
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,7 +111,7 @@ function redactSecretText(value) {
|
|
|
110
111
|
);
|
|
111
112
|
|
|
112
113
|
redacted = redacted.replace(
|
|
113
|
-
/([?&#])([A-Za-z][A-Za-z0-
|
|
114
|
+
/([?&#])([A-Za-z][A-Za-z0-9._-]{0,63})=([^&\s"'`,;]+)/g,
|
|
114
115
|
(match, prefix, key) => isSecretKey(key)
|
|
115
116
|
? `${prefix}${key}=[REDACTED]`
|
|
116
117
|
: match
|