@sagentlab/navarch-runtime 0.1.124 → 0.1.125
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/dist/redact.cjs +1 -0
- package/package.json +1 -1
package/dist/redact.cjs
CHANGED
|
@@ -13,6 +13,7 @@ exports.redactText = redactText;
|
|
|
13
13
|
const SECRET_PATTERNS = [
|
|
14
14
|
/gh[pousr]_[A-Za-z0-9]{20,}/g, // GitHub PAT / OAuth / user-to-server / refresh tokens
|
|
15
15
|
/github_pat_[A-Za-z0-9_]{20,}/g, // GitHub fine-grained PAT
|
|
16
|
+
/nvg_[A-Za-z0-9_-]{20,}(?:\.[A-Za-z0-9_-]{20,})?/g, // Navarch git grant: nvg_<payload>.<sig>
|
|
16
17
|
/sk-[A-Za-z0-9-]{20,}/g, // OpenAI-compatible secret keys, incl. DeepSeek `sk-…` (hosted Pi provider)
|
|
17
18
|
/\/\/[^/\s:@]+:[^/\s@]+@/g, // basic-auth userinfo in URLs (e.g. x-access-token:…@github.com clones)
|
|
18
19
|
/-----BEGIN [A-Z0-9 ]*PRIVATE KEY-----[\s\S]+?-----END [A-Z0-9 ]*PRIVATE KEY-----/g,
|
package/package.json
CHANGED