shroud-privacy 2.2.13 → 2.2.15
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/obfuscator.js +2 -2
- package/package.json +1 -1
package/dist/obfuscator.js
CHANGED
|
@@ -376,8 +376,8 @@ export class Obfuscator {
|
|
|
376
376
|
// two different real IPs with identical host bits in different subnets.
|
|
377
377
|
let collisionAttempt = 0;
|
|
378
378
|
let existingReal = this._store.getReal(newFake);
|
|
379
|
-
while (
|
|
380
|
-
existingReal !== entity.value &&
|
|
379
|
+
while ((newFake === entity.value ||
|
|
380
|
+
(existingReal !== undefined && existingReal !== entity.value)) &&
|
|
381
381
|
collisionAttempt < 50) {
|
|
382
382
|
collisionAttempt++;
|
|
383
383
|
// For IPs: offset the last octet; for others: append suffix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shroud-privacy",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
4
4
|
"description": "Privacy and infrastructure protection for AI agents — detects sensitive data (PII, network topology, credentials, OT/SCADA) and replaces with deterministic fakes before anything reaches the LLM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|