Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@webblackbox/protocol

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webblackbox/protocol - npm Package Compare versions

Comparing version
0.4.4
to
0.4.5
+31
-4
dist/index.js

@@ -132,6 +132,33 @@ // src/blob.ts

redaction: {
redactHeaders: ["authorization", "cookie", "set-cookie"],
redactCookieNames: ["token", "session", "auth"],
redactBodyPatterns: ["password", "token", "secret", "otp"],
blockedSelectors: [".secret", "[data-sensitive]", "input[type='password']"],
redactHeaders: [
"authorization",
"cookie",
"set-cookie",
"proxy-authorization",
"x-api-key",
"x-auth-token",
"x-csrf-token",
"x-xsrf-token"
],
redactCookieNames: ["token", "session", "auth", "jwt", "refresh_token", "csrf", "xsrf"],
redactBodyPatterns: [
"password",
"token",
"secret",
"otp",
"credential",
"api_key",
"apikey",
"private_key",
"refresh_token"
],
blockedSelectors: [
".secret",
"[data-sensitive]",
"[data-webblackbox-redact]",
"input[type='password']",
"input[name*='token']",
"input[name*='secret']",
"input[autocomplete='cc-number']"
],
hashSensitiveValues: true

@@ -138,0 +165,0 @@ },

+1
-1
{
"name": "@webblackbox/protocol",
"description": "Shared event types, schemas, IDs, and configuration defaults for the WebBlackbox ecosystem.",
"version": "0.4.4",
"version": "0.4.5",
"type": "module",

@@ -6,0 +6,0 @@ "main": "./dist/index.js",

@@ -251,4 +251,5 @@ <p align="center">

// - bodyCaptureMaxBytes: 262144 (256 KiB base profile)
// - Redacts: authorization, cookie, set-cookie headers
// - Blocks: .secret, [data-sensitive], input[type='password']
// - Redacts: authorization, cookie, set-cookie, proxy auth, API key, auth token, CSRF/XSRF headers
// - Redacts cookie names such as token, session, auth, jwt, refresh_token, csrf, xsrf
// - Blocks: .secret, [data-sensitive], [data-webblackbox-redact], password/token/secret inputs, card-number autocomplete
//

@@ -255,0 +256,0 @@ // Export policy defaults: