diff --git a/.changeset/datadog-obfuscator-redos.md b/.changeset/datadog-obfuscator-redos.md deleted file mode 100644 index a6c0cf3..0000000 --- a/.changeset/datadog-obfuscator-redos.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@platform-sec/sensitive-string-datadog': patch ---- - -Re-take the reproduced query obfuscator from `dd-trace` 6.24.0, because the 6.14.0 copy put a fixed -ReDoS back into a patched agent. - -`composeQueryObfuscation()` installs `DD_QUERY_OBFUSCATION_DEFAULT` in place of the agent's own -default. The copy was the 6.14.0 pattern, which GHSA-x94g-w73q-hpcw fixed in 6.20.1: its JWT -branch could start at every `eyJ` in a run of them, so the work grew with the square of the query's -length (40 KB took 1.1 s). On 6.20.1 or later the package replaced the fixed default with the -vulnerable one. The new copy is linear on the same input and also carries the agent's widenings: -`old`/`new` password prefixes, `-` as a separator, `app_key` and `application_key`, JWTs that do -not start mid-word, and `ssh-dss` and `ecdsa` keys. diff --git a/.changeset/republish-first-release.md b/.changeset/republish-first-release.md deleted file mode 100644 index 9b91628..0000000 --- a/.changeset/republish-first-release.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@platform-sec/sensitive-string-core': patch -'@platform-sec/sensitive-string-zod': patch -'@platform-sec/sensitive-string-testing': patch -'@platform-sec/eslint-plugin-sensitive-string': patch ---- - -Republish the first release with its code. The packages published as core 0.6.0 and zod, testing -and the ESLint plugin 0.2.0 contain no `dist`, only their README, licence and manifest, so nothing -in them can be imported. Those versions are deprecated. This release carries the same source, built. - -The release workflow signed the right tarballs, but its publish tool repacked each package directory -in a job that never builds, and nothing compared what reached npm with what was signed. Publishing -now uploads the signed tarball itself and fails unless the registry then holds those exact bytes. diff --git a/packages/sensitive-core/CHANGELOG.md b/packages/sensitive-core/CHANGELOG.md index d68f6a0..bb31391 100644 --- a/packages/sensitive-core/CHANGELOG.md +++ b/packages/sensitive-core/CHANGELOG.md @@ -1,5 +1,17 @@ # @platform-sec/sensitive-string-core +## 0.6.1 + +### Patch Changes + +- 1052e82: Republish the first release with its code. The packages published as core 0.6.0 and zod, testing + and the ESLint plugin 0.2.0 contain no `dist`, only their README, licence and manifest, so nothing + in them can be imported. Those versions are deprecated. This release carries the same source, built. + + The release workflow signed the right tarballs, but its publish tool repacked each package directory + in a job that never builds, and nothing compared what reached npm with what was signed. Publishing + now uploads the signed tarball itself and fails unless the registry then holds those exact bytes. + ## 0.6.0 ### Minor Changes diff --git a/packages/sensitive-core/package.json b/packages/sensitive-core/package.json index 78e8cbc..7fdc7f1 100644 --- a/packages/sensitive-core/package.json +++ b/packages/sensitive-core/package.json @@ -1,6 +1,6 @@ { "name": "@platform-sec/sensitive-string-core", - "version": "0.6.0", + "version": "0.6.1", "description": "Core library for handling sensitive string data with automatic redaction", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/sensitive-datadog/CHANGELOG.md b/packages/sensitive-datadog/CHANGELOG.md index d3c7b7b..8fb1267 100644 --- a/packages/sensitive-datadog/CHANGELOG.md +++ b/packages/sensitive-datadog/CHANGELOG.md @@ -1,5 +1,20 @@ # @platform-sec/sensitive-string-datadog +## 0.2.1 + +### Patch Changes + +- 1294bbf: Re-take the reproduced query obfuscator from `dd-trace` 6.24.0, because the 6.14.0 copy put a fixed + ReDoS back into a patched agent. + + `composeQueryObfuscation()` installs `DD_QUERY_OBFUSCATION_DEFAULT` in place of the agent's own + default. The copy was the 6.14.0 pattern, which GHSA-x94g-w73q-hpcw fixed in 6.20.1: its JWT + branch could start at every `eyJ` in a run of them, so the work grew with the square of the query's + length (40 KB took 1.1 s). On 6.20.1 or later the package replaced the fixed default with the + vulnerable one. The new copy is linear on the same input and also carries the agent's widenings: + `old`/`new` password prefixes, `-` as a separator, `app_key` and `application_key`, JWTs that do + not start mid-word, and `ssh-dss` and `ecdsa` keys. + ## 0.2.0 ### Minor Changes diff --git a/packages/sensitive-datadog/package.json b/packages/sensitive-datadog/package.json index cb300d8..ae09e4d 100644 --- a/packages/sensitive-datadog/package.json +++ b/packages/sensitive-datadog/package.json @@ -1,6 +1,6 @@ { "name": "@platform-sec/sensitive-string-datadog", - "version": "0.2.0", + "version": "0.2.1", "description": "Datadog APM integration for SensitiveString - scrubs span tags through dd-trace plugin hooks and generates the header capture and query obfuscator configuration", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/sensitive-eslint-plugin/CHANGELOG.md b/packages/sensitive-eslint-plugin/CHANGELOG.md index aaa6548..b99943c 100644 --- a/packages/sensitive-eslint-plugin/CHANGELOG.md +++ b/packages/sensitive-eslint-plugin/CHANGELOG.md @@ -1,5 +1,17 @@ # @platform-sec/eslint-plugin-sensitive-string +## 0.2.1 + +### Patch Changes + +- 1052e82: Republish the first release with its code. The packages published as core 0.6.0 and zod, testing + and the ESLint plugin 0.2.0 contain no `dist`, only their README, licence and manifest, so nothing + in them can be imported. Those versions are deprecated. This release carries the same source, built. + + The release workflow signed the right tarballs, but its publish tool repacked each package directory + in a job that never builds, and nothing compared what reached npm with what was signed. Publishing + now uploads the signed tarball itself and fails unless the registry then holds those exact bytes. + ## 0.2.0 ### Minor Changes diff --git a/packages/sensitive-eslint-plugin/package.json b/packages/sensitive-eslint-plugin/package.json index 279ebe3..2c75a60 100644 --- a/packages/sensitive-eslint-plugin/package.json +++ b/packages/sensitive-eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@platform-sec/eslint-plugin-sensitive-string", - "version": "0.2.0", + "version": "0.2.1", "description": "ESLint rules that catch the mistakes SensitiveString's type system cannot: logged reveals, timing-unsafe comparisons, and unaudited transmission", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/sensitive-eslint-plugin/src/index.ts b/packages/sensitive-eslint-plugin/src/index.ts index cf5ad14..6541f6f 100644 --- a/packages/sensitive-eslint-plugin/src/index.ts +++ b/packages/sensitive-eslint-plugin/src/index.ts @@ -80,7 +80,7 @@ export const rules: Readonly> = { */ export const meta = { name: '@platform-sec/eslint-plugin-sensitive-string', - version: '0.2.0', + version: '0.2.1', } as const; /** diff --git a/packages/sensitive-testing/CHANGELOG.md b/packages/sensitive-testing/CHANGELOG.md index 3d511f2..c75d10f 100644 --- a/packages/sensitive-testing/CHANGELOG.md +++ b/packages/sensitive-testing/CHANGELOG.md @@ -1,5 +1,17 @@ # @platform-sec/sensitive-string-testing +## 0.2.1 + +### Patch Changes + +- 1052e82: Republish the first release with its code. The packages published as core 0.6.0 and zod, testing + and the ESLint plugin 0.2.0 contain no `dist`, only their README, licence and manifest, so nothing + in them can be imported. Those versions are deprecated. This release carries the same source, built. + + The release workflow signed the right tarballs, but its publish tool repacked each package directory + in a job that never builds, and nothing compared what reached npm with what was signed. Publishing + now uploads the signed tarball itself and fails unless the registry then holds those exact bytes. + ## 0.2.0 ### Minor Changes diff --git a/packages/sensitive-testing/package.json b/packages/sensitive-testing/package.json index 02e5d2e..5cec69f 100644 --- a/packages/sensitive-testing/package.json +++ b/packages/sensitive-testing/package.json @@ -1,6 +1,6 @@ { "name": "@platform-sec/sensitive-string-testing", - "version": "0.2.0", + "version": "0.2.1", "description": "Test secrets, leak assertions, matchers, and audit mocks for SensitiveString", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/sensitive-zod/CHANGELOG.md b/packages/sensitive-zod/CHANGELOG.md index 8544e08..755abf4 100644 --- a/packages/sensitive-zod/CHANGELOG.md +++ b/packages/sensitive-zod/CHANGELOG.md @@ -1,5 +1,17 @@ # @platform-sec/sensitive-string-zod +## 0.2.1 + +### Patch Changes + +- 1052e82: Republish the first release with its code. The packages published as core 0.6.0 and zod, testing + and the ESLint plugin 0.2.0 contain no `dist`, only their README, licence and manifest, so nothing + in them can be imported. Those versions are deprecated. This release carries the same source, built. + + The release workflow signed the right tarballs, but its publish tool repacked each package directory + in a job that never builds, and nothing compared what reached npm with what was signed. Publishing + now uploads the signed tarball itself and fails unless the registry then holds those exact bytes. + ## 0.2.0 ### Minor Changes diff --git a/packages/sensitive-zod/package.json b/packages/sensitive-zod/package.json index 92d5491..04f0d35 100644 --- a/packages/sensitive-zod/package.json +++ b/packages/sensitive-zod/package.json @@ -1,6 +1,6 @@ { "name": "@platform-sec/sensitive-string-zod", - "version": "0.2.0", + "version": "0.2.1", "description": "Zod integration for SensitiveString - parse input directly into sensitive types", "main": "./dist/index.js", "module": "./dist/index.js",