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

@bulkhead-ai/core

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bulkhead-ai/core - npm Package Compare versions

Comparing version
0.6.0
to
0.7.0
+18
-0
dist/index.d.mts

@@ -48,2 +48,10 @@ import { G as GuardMode, S as Synthesizer, E as EngineConfig, a as Guard, R as RedactContext, b as GuardResult, c as RedactionEntry, C as CascadeConfig, d as CascadeClassifier, O as ObjectScanResult, e as GuardConfig, D as Detection, f as DetectionSource, g as Disposition, P as PiiPattern } from './index-BzdAKl9y.mjs';

secretTypes?: string[];
/**
* Entity types to exclude from remediation (redaction/synthesis).
* Excluded entities are still detected and reported in results,
* but are NOT redacted or synthesized — original text is preserved.
* Useful for preserving technical identifiers (GUIDs, timestamps)
* while sanitizing personal PII.
*/
excludeEntities?: string[];
}

@@ -158,2 +166,3 @@ /** Score thresholds that map aggregate scores to risk levels */

private temporalPolicy;
private _excludeEntities;
constructor(config?: Partial<EngineConfig>);

@@ -185,2 +194,11 @@ /**

get temporalPolicyConfig(): TemporalPolicy | undefined;
/**
* Set entity types to exclude from remediation. Excluded entities are
* still detected and reported in results, but their original text is
* preserved (not redacted or synthesized). Detections for excluded
* entities are omitted from the aggregate redactionMap.
*/
setExcludeEntities(entityTypes: string[]): this;
/** Read the set of excluded entity types. */
get excludeEntities(): ReadonlySet<string>;
/** Register a guard with the engine */

@@ -187,0 +205,0 @@ addGuard(guard: Guard): this;

@@ -48,2 +48,10 @@ import { G as GuardMode, S as Synthesizer, E as EngineConfig, a as Guard, R as RedactContext, b as GuardResult, c as RedactionEntry, C as CascadeConfig, d as CascadeClassifier, O as ObjectScanResult, e as GuardConfig, D as Detection, f as DetectionSource, g as Disposition, P as PiiPattern } from './index-BzdAKl9y.js';

secretTypes?: string[];
/**
* Entity types to exclude from remediation (redaction/synthesis).
* Excluded entities are still detected and reported in results,
* but are NOT redacted or synthesized — original text is preserved.
* Useful for preserving technical identifiers (GUIDs, timestamps)
* while sanitizing personal PII.
*/
excludeEntities?: string[];
}

@@ -158,2 +166,3 @@ /** Score thresholds that map aggregate scores to risk levels */

private temporalPolicy;
private _excludeEntities;
constructor(config?: Partial<EngineConfig>);

@@ -185,2 +194,11 @@ /**

get temporalPolicyConfig(): TemporalPolicy | undefined;
/**
* Set entity types to exclude from remediation. Excluded entities are
* still detected and reported in results, but their original text is
* preserved (not redacted or synthesized). Detections for excluded
* entities are omitted from the aggregate redactionMap.
*/
setExcludeEntities(entityTypes: string[]): this;
/** Read the set of excluded entity types. */
get excludeEntities(): ReadonlySet<string>;
/** Register a guard with the engine */

@@ -187,0 +205,0 @@ addGuard(guard: Guard): this;

+1
-1
{
"name": "@bulkhead-ai/core",
"version": "0.6.0",
"version": "0.7.0",
"description": "Cascading content protection engine — PII detection, secret scanning, prompt injection defense",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display