Harden dual release metadata and CI verification

This commit is contained in:
Sucukdeluxe
2026-08-13 21:40:17 +02:00
parent 1dd0e32709
commit 47bceebe15
9 changed files with 46 additions and 9 deletions
+2 -1
View File
@@ -194,8 +194,9 @@ test('serverHealth assembles the one-shot hub without leaking secrets', () => {
test('redactResponse scrubs configured secrets and absolute paths from arbitrary nested output', () => {
const { collectors, fixtureAlpha } = makeFixture();
const privatePath = ['C:', 'Users', 'PrivateProfile', 'secret.log'].join('\\');
const value = {
error: `token ${fixtureAlpha} at C:\\Users\\PrivateProfile\\secret.log`,
error: `token ${fixtureAlpha} at ${privatePath}`,
nested: [{ source: '\\\\?\\UNC\\private-server\\secret-share\\secret.log' }]
};
const out = collectors.redactResponse(value);