MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / isSensitiveData

Function isSensitiveData

packages/baseai/src/dev/utils/dlog.ts:36–37  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

34};
35
36const isSensitiveData = (key: string): boolean =>
37 SENSITIVE_WORDS.some(word => key.toLowerCase().includes(word));
38
39const redactSensitiveData = (value: unknown, isSensitive: boolean): string =>
40 isSensitive && !LOG_SENSITIVE_DATA

Callers 1

logKeyValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected