Repository navigation
fix(deps): update dependency flare-redact to v1.10.2 - #943
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
renovate
Bot
force-pushed
the
renovate/flare-redact-1.x
branch
from
November 18, 2026 14:26
9221b37 to
a49d44c
Compare
renovate
Bot
force-pushed
the
renovate/flare-redact-1.x
branch
from
November 19, 2026 12:06
a49d44c to
f4f681d
Compare
renovate
Bot
force-pushed
the
renovate/flare-redact-1.x
branch
from
November 20, 2026 11:02
f4f681d to
8404570
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.9.0→1.10.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
flare-collection/flare-redact (flare-redact)
v1.10.2Compare Source
Fixed: a value redacted from JSON text comes back escaped once
redacted input was itself JSON text and the captured value held an escape,
such as
p\"ssin{"url":"https://user:p\"ss@db.example.com/x"}, thevault stored the escaped form and the restore escaped it a second time, so a
round trip added a backslash (#34).
decoded form, when it is valid JSON string content. Restored into JSON it is
escaped exactly once; restored into other text it reads as the value itself.
Anything else is still stored as captured, so restored JSON stays valid.
maskfunction now also receives
text, the whole string the match was found in.describes the rule and three new conformance cases cover it.
v1.10.1Compare Source
Fixed: the IPv6 detector
12:30:45are no longer masked as IPv6 addresses. Theold pattern accepted any three to eight colon-separated hex groups, so clock
times in logs and FIX messages were redacted when
ipv6was enabled (it ispart of the
gdprandstrictpresets).2001:db8::8a2e:370:7334used tocome out as
2001:db8::[REDACTED IPv6], leaving the network prefix visible.The pattern now knows every
::form,fe80::1,::1, a trailing::andan embedded IPv4 address (
::ffff:192.168.1.10,64:ff9b::192.0.2.33).dead::beeforFoo::abcare not matched.cases cover compressed addresses, clock times and letter-only matches.
v1.10.0Compare Source
Security: restored values keep the structure of JSON (GHSA-4c5j-9f3p-p7mh)
arguments, Anthropicpartial_json, JSON-mode output, and any string thatis a JSON object or array passed to
vault.restore()orrestore(). Before,a value containing
"broke the JSON, and a value containing","key":couldadd a field to tool-call arguments or replace an earlier one, since JSON
parsers keep the last duplicate key. Text that is not JSON is restored exactly
as before.
wrapOpenAIandwrapAnthropic(buffered and streamed), the toolboundaries,
authorizeForSink, the CLI's--restore, and the gateway. Thegateway now restores streamed responses event by event and field by field, so
a placeholder split across two events is put back and tool arguments that are
JSON inside a JSON event are escaped at both levels.
response.streamEscape: 'none'keeps the old byte-level behaviour.json_object/json_schemaand Anthropicoutput_config.formatrequests have their streamed text restored escaped too.
section 11 and checked by new conformance cases. Python's
wrap_openaiandwrap_anthropicnow restore streamed tool arguments (they were left asplaceholders) and no longer drop text held back at the end of a field. Go and
Rust add a JSON stream restorer (
StreamJSON,stream_json) for callers thatrestore tool arguments themselves.
escaping, and the deprecated streaming
function_callis not restored.Security: url_credentials in linear time (GHSA-x2x8-c4pf-r947)
url_credentialsis limited to 64 characters. Unbounded, along run of scheme characters such as
a-b.a-b.…made matching take timequadratic in its length: about 7 s for 80 kB through the default
redact(),and the same in the Python engine. 1 MB now takes about 130 ms.
_, so passwords in SQLAlchemy URLs such asoracle+cx_oracle://scott:tiger@dbandredshift+redshift_connector://…are masked. They were not masked before.
cases and a new case in
npm run benchmark:adversarial.Vercel AI SDK
flare-redact/ai-sdk.wrapLanguageModel({ model, middleware: flareRedactMiddleware() })keeps secrets and personal data out of prompts forevery provider the AI SDK supports (OpenAI, Anthropic, Google, Bedrock,
Mistral, Groq and the rest). System, user and assistant text, reasoning,
tool-call inputs and tool results become placeholders before the call; text,
reasoning, tool calls and structured output are restored after it, streamed or
not, including placeholders split across chunks. Files and images pass through
unchanged.
wrapOpenAI, plussessionto keep placeholdersstable across calls, and works with AI SDK 5, 6 and 7 without depending on
ai.flare-redact initrecognises theaipackage and prints the line.39 more detectors (90 to 129)
aws_bedrock_key,langsmith_key,pinecone_key,tavily_key,pypi_token,rubygems_key,dockerhub_token,jfrog_token,google_oauth_secret,alibaba_access_key,heroku_api_key,flyio_token,terraform_cloud_token,pulumi_token,planetscale_token,onepassword_token,age_secret_key,sentry_auth_token,grafana_token,dynatrace_token,atlassian_token,slack_webhook,mailchimp_key,brevo_keyandresend_key.gitlab_tokencatches GitLab 17's longer personal access tokens and thedeploy, runner, trigger, CI job and other GitLab token types.
digitalocean_tokencatches OAuth (doo_v1_) and refresh (dor_v1_) tokens.enableor thellm,gdprandstrictpresets, each validated by its check digit and, where thenumber carries one, its birth date:
ro_cnp,se_personnummer,fi_hetu,no_fodselsnummer,be_national_number,pt_nif,za_id,mx_curp,cl_rut,ar_cuit,sg_nric,il_teudat_zehut,gr_amkaanduk_nino(prefix and suffix rules; it has no check digit). With
zaorroenabled, aSouth African ID or Romanian CNP is masked whole instead of as a card number.
and near-miss tests and hostile-input cases in the adversarial benchmark.
Where people already look
.pre-commit-hooks.yaml:id: flare-redactstops a commit for the linesit adds, and
id: flare-redact-filesscans whole files forpre-commit run --all-filesand pre-commit.ci. The package now builds inprepack, so installing it from a git checkout works.uses: flare-collection/flare-redact@v1scans thecheckout, annotates each finding on the pull request, writes a job summary,
can upload SARIF to code scanning, and never prints a value. Each release
moves the
v1tag.release on, and the Go module gets
sdk/go/vX.Y.Ztags sogo getsees realversions. Both packages now include the licence file.
Platforms
--scanreports file paths withforward slashes on every platform; on Windows they used backslashes, which also
made SARIF URIs invalid there.
v1.9.1Compare Source
Documentation
plugs in (logs, LLM prompts, Sentry, commits), how it compares with logger
path redaction, Sentry scrubbing, gitleaks and Presidio, and an FAQ.
docs/guide.md, which also ships in the npm package socoding assistants reading
node_modulesfind it.that every detector count matches the code.
No code changes.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.