flare-redact 1.6.0 → 1.6.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.1 — 2026-08-09
4
+
5
+ ### NeMo Guardrails interoperability
6
+
7
+ - Add a deterministic, no-network NeMo Guardrails IORails + FlareFlow example.
8
+ It consumes the OpenAI-shaped tool-call boundary that the application executes,
9
+ resolves the tool through a trusted local registry, and authorizes protected
10
+ values immediately before execution.
11
+ - Prove both sides with runtime assertions: a structurally valid HTTP call cannot
12
+ receive a protected database credential, while the approved database sink can
13
+ restore it only at the configured JSON Pointer path and within its budget.
14
+ - Publish an original integration guide, add it to the guide hub, homepage,
15
+ sitemap, README, and LLM-readable documentation, and run the example in CI.
16
+ - Document the exact division of responsibility: NeMo validates tool
17
+ allowlists/schemas and FlareFlow enforces provenance-aware declassification.
18
+ No NVIDIA logo or endorsement claim is used; the compatibility references are
19
+ nominative and carry an explicit independence notice.
20
+
21
+ No runtime API changed. Existing FlareFlow policies remain fully compatible.
22
+
3
23
  ## 1.6.0 — 2026-08-09
4
24
 
5
25
  ### FlareFlow: deterministic information-flow control for agents
package/README.md CHANGED
@@ -156,6 +156,7 @@ Clone the repository and run these small applications locally:
156
156
  | [`express-pino`](examples/express-pino) | Express keeps the original request while Pino receives a safe snapshot | `npm --prefix examples/express-pino run smoke` |
157
157
  | [`universal-boundaries`](examples/universal-boundaries) | Any SDK method is sanitized and cross-tool placeholder exfiltration is blocked | `npm --prefix examples/universal-boundaries start` |
158
158
  | [`flareflow-agent`](examples/flareflow-agent) | An injected model can carry an opaque secret token but cannot restore it at an unauthorized sink or path | `npm --prefix examples/flareflow-agent start` |
159
+ | [`nemo-guardrails-flareflow`](examples/nemo-guardrails-flareflow) | A NeMo-validated tool call still cannot move a protected database value into an unauthorized HTTP sink | `npm --prefix examples/nemo-guardrails-flareflow start` |
159
160
  | [`github-secret-scan`](examples/github-secret-scan) | Pull requests fail when tracked source or configuration files contain detected secrets or PII | Copy the workflow into your repository |
160
161
 
161
162
  Run `npm run build` and install an example's dependencies before its first run.
@@ -175,8 +176,8 @@ dependencies of any kind.
175
176
  | | Install | Docs |
176
177
  |---|---|---|
177
178
  | **Go** | `go get github.com/flare-collection/flare-redact/sdk/go` | [`sdk/go`](sdk/go) |
178
- | **Python** | `pip install "flare-redact @ git+https://github.com/flare-collection/flare-redact@v1.6.0#subdirectory=sdk/python"` | [`sdk/python`](sdk/python) |
179
- | **Rust** | `flare-redact = { git = "https://github.com/flare-collection/flare-redact", tag = "v1.6.0" }` | [`sdk/rust`](sdk/rust) |
179
+ | **Python** | `pip install "flare-redact @ git+https://github.com/flare-collection/flare-redact@v1.6.1#subdirectory=sdk/python"` | [`sdk/python`](sdk/python) |
180
+ | **Rust** | `flare-redact = { git = "https://github.com/flare-collection/flare-redact", tag = "v1.6.1" }` | [`sdk/rust`](sdk/rust) |
180
181
 
181
182
  The Python and Rust engines are not published to PyPI and crates.io yet, so they
182
183
  install from this repository. The commands above are the ones that work today.
@@ -624,6 +625,24 @@ The same operator-owned policy is available through the sidecar's `/v1/flows`
624
625
  API, with standard-library clients for Python and Go. That makes FlareFlow usable
625
626
  from any language that can send JSON over HTTP.
626
627
 
628
+ ### NeMo Guardrails interoperability
629
+
630
+ NeMo Guardrails IORails validates model-produced tool names and arguments; the
631
+ application remains responsible for execution. Resolve the validated name
632
+ through an application-owned registry and call `authorizeForSink()` immediately
633
+ before execution. FlareFlow then adds source, detector, sink, exact JSON path,
634
+ and cumulative-budget checks to the existing tool allowlist and schema checks.
635
+
636
+ The [tested, no-network example](examples/nemo-guardrails-flareflow) proves both
637
+ an unauthorized HTTP exfiltration denial and an approved database restoration.
638
+ The [integration guide](https://flare-collection.github.io/flare-redact/guides/nemo-guardrails-flareflow/)
639
+ documents the live application boundary and limitations.
640
+
641
+ NVIDIA and the NVIDIA logo are trademarks and/or registered trademarks of
642
+ NVIDIA Corporation. NeMo Guardrails is referenced only for interoperability.
643
+ Flare Redact is independent and is not affiliated with, sponsored by, or
644
+ endorsed by NVIDIA.
645
+
627
646
  ## Protect tool calls and MCP loops
628
647
 
629
648
  An agent loop has two directions: model-produced arguments need their local
@@ -848,7 +867,7 @@ machine-readable JSON and SARIF reports never echo the matched secret value:
848
867
  with:
849
868
  node-version: 24
850
869
  - name: Scan project text files
851
- run: npx --yes --package flare-redact@1.6.0 flare-redact --scan . --exclude package-lock.json
870
+ run: npx --yes --package flare-redact@1.6.1 flare-redact --scan . --exclude package-lock.json
852
871
  ```
853
872
 
854
873
  The scan runs on the GitHub runner, reports safe file and source locations, and
package/dist/help.js CHANGED
@@ -332,10 +332,10 @@ else, and it pulls no dependencies of any kind.
332
332
  Go go get github.com/flare-collection/flare-redact/sdk/go
333
333
 
334
334
  Python pip install "flare-redact @ \\
335
- git+https://github.com/flare-collection/flare-redact@v1.6.0#subdirectory=sdk/python"
335
+ git+https://github.com/flare-collection/flare-redact@v1.6.1#subdirectory=sdk/python"
336
336
 
337
337
  Rust flare-redact = { git = "https://github.com/flare-collection/flare-redact", \\
338
- tag = "v1.6.0" }
338
+ tag = "v1.6.1" }
339
339
 
340
340
  The Python and Rust engines are not on PyPI or crates.io yet, so they install
341
341
  from the repository. The commands above are the ones that work today.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flare-redact",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Zero-dependency secret and PII redaction for logs, prompts, and agent tools — with FlareFlow information-flow control and a polyglot sidecar.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -181,7 +181,8 @@
181
181
  "sdk",
182
182
  "information-flow-control",
183
183
  "agent-security",
184
- "prompt-injection"
184
+ "prompt-injection",
185
+ "nemo-guardrails"
185
186
  ],
186
187
  "author": "Umud Hasanli (https://github.com/umudhasanli)",
187
188
  "license": "MIT",