redac---n 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/formats.js +3 -0
  2. package/package.json +1 -1
package/dist/formats.js CHANGED
@@ -163,6 +163,9 @@ export const CORE_FORMATS = [
163
163
  /\b(LLM(?:\|\d{15,16}\||_\d{15,16}_)[A-Za-z0-9_-]{20,255})(?![A-Za-z0-9_-])/,
164
164
  ["llm|", "llm_"],
165
165
  ],
166
+ // Baseten's keys since October 2026: `b10_`, the key's visible ID, a dot and the secret. (Older keys have no prefix; the
167
+ // random layer hides their secret half.)
168
+ ["Baseten API key", /\b(b10_[A-Za-z0-9]{8}\.[A-Za-z0-9]{32})\b/, ["b10_"]],
166
169
  ["Tavily API key", /\b(tvly-(?:dev-|prod-)?[A-Za-z0-9]{24,48})\b/, ["tvly-"]],
167
170
  ["Fireworks API key", /\b(fw_[A-Za-z0-9]{24,48})\b/, ["fw_"]],
168
171
  ["NVIDIA API key", /\b(nvapi-[A-Za-z0-9_-]{60,72})/, ["nvapi-"]],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redac---n",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Redact secrets from text and agent transcripts before they reach an untrusted model provider",
5
5
  "keywords": [
6
6
  "secrets",