Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tangy-meteors-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

---


This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,13 @@
"zx": "^8.2.4"
},
"resolutions": {
"@fluentui/react-native-icons/@types/react-native": "ignore:",
"@nevware21/ts-utils": "0.14.0",
"@react-native-windows/cli": "patch:@react-native-windows/cli@npm%3A0.81.8#~/.yarn/patches/@react-native-windows-cli-npm-0.81.8-9ffb7042e8.patch",
"@storybook/addon-ondevice-controls": "10.7.1",
"@storybook/react-native-theming": "10.7.1",
"@storybook/react-native-ui-common": "10.7.1",
"@storybook/react-native-ui-lite": "10.7.1",
"@types/react": "19.1.17",
"basic-ftp@npm:^5.3.1": "6.2.3",
"basic-ftp@npm:^5.3.1": "6.2.6",
"body-parser@npm:^1.20.3": "1.20.9",
"body-parser@npm:^2.2.2": "2.4.0",
"brace-expansion@npm:^1.1.7": "1.1.21",
Expand All @@ -87,7 +85,7 @@
"deepmerge@npm:^4.3.1": "patch:deepmerge@npm%3A4.3.1#~/.yarn/patches/deepmerge-npm-4.3.1-4f751a0844.patch",
"esbuild@npm:~0.25.0": "^0.28.0",
"fast-uri@npm:^3.0.1": "3.1.9",
"fast-xml-parser@npm:^4.4.1": "5.11.0",
"fast-xml-parser@npm:^4.4.1": "5.12.0",
"glob@npm:^10.2.2 || ^11.0.3 || ^12.0.0 || ^13.0.0": "patch:glob@npm%3A13.0.6#~/.yarn/patches/glob-npm-13.0.6-864eb0cece.patch",
"glob@npm:^13.0.0": "patch:glob@npm%3A13.0.6#~/.yarn/patches/glob-npm-13.0.6-864eb0cece.patch",
"glob@npm:^13.0.6": "patch:glob@npm%3A13.0.6#~/.yarn/patches/glob-npm-13.0.6-864eb0cece.patch",
Expand All @@ -101,7 +99,7 @@
"moment@npm:^2.29.4": "2.31.0",
"path-to-regexp@npm:8.3.0": "^8.4.2",
"react-native-macos": "patch:react-native-macos@npm%3A0.81.9#~/.yarn/patches/react-native-macos-npm-0.81.9-aa583a0648.patch&~/.yarn/patches/react-native-macos-npm-0.81.9-native-props.patch",
"react-native-windows": "0.81.35",
"react-native-windows": "0.81.38",
"shell-quote": "1.11.0",
"smol-toml@npm:^1.6.1": "1.9.0",
"socks@npm:^2.8.3": "2.8.9",
Expand Down
25 changes: 25 additions & 0 deletions references/agents/repository/dependency-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,31 @@ confirm their normal modules load without extraction, resolve `extract-zip` to
`ignore:`, regenerate and deduplicate the lockfile, then prove the browser
archive path fails closed and the native tooling still works.

## Published security fixes

The November 16, 2026 refresh fixes nine advisories with published releases:

- `@hono/node-server` 2.1.6 and `hono` 4.13.17 replace the vulnerable MCP SDK
transitive dependencies. This repository's MCP adapter uses stdio, not the
SDK's Hono HTTP transport; retain the fixed lockfile selections anyway.
- `basic-ftp` 6.2.6 fixes inherited MLSD fact-handler lookups. Its path is
Markdown link checking through `proxy-agent`, `pac-proxy-agent`, and
`get-uri`; keep the existing narrow resolution rather than restoring 5.x.
- `fast-xml-parser` 5.12.0 fixes unterminated stop-node scanning in React Native
CLI and test-app tooling. Update both the older CLI's narrow resolution and
the compatible 5.x lockfile paths.

The scripts security suite checks FTP metadata parsing, bounded XML parsing,
and Hono hyperlink-auditing CSRF protection against the installed releases.
It also verifies that the published Windows CLI loads on non-Windows hosts:
CLI 0.81.11 supersedes the local 0.81.8 PowerShell-discovery patch.

The seven-day gate was unchanged. All 19 newly selected npm versions predate
the session cutoff of November 9, 2026 at 17:51:33.340 UTC. React Native Windows
0.81.38 is the newest eligible 0.81 patch at that cutoff; 0.81.40 and 0.85.2
were published on November 13 and are too young. The 0.85 platform migration
is intentionally outside this compatible-update scope.

## Carried security backports

The root resolutions carry the following focused Yarn patches. Run
Expand Down
42 changes: 42 additions & 0 deletions scripts/src/utils/securityPatches.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,48 @@ function installedPackage(name: string, version: string, patched = true) {
return { root, manifest, require, module: require(root) };
}

it('Windows CLI configuration loads without probing PowerShell on other hosts', { skip: process.platform === 'win32' }, () => {
const require = createRequire(new URL('../../../apps/storybook/package.json', import.meta.url));
assert.doesNotThrow(() => require('@react-native-windows/cli'));
const { getHealthChecks } = require('@react-native-windows/cli/lib-commonjs/commands/healthCheck/healthChecks.js');
assert.equal(getHealthChecks(), undefined);
});

it('basic-ftp ignores inherited MLSD fact names without losing file metadata', () => {
const { module: ftp } = installedPackage('basic-ftp', '6.2.6', false);
for (const fact of ['__proto__', 'constructor', 'toString']) {
const [file] = ftp.parseList(`${fact}=x;type=file;size=10; example.txt`);
assert.equal(file.name, 'example.txt');
assert.equal(file.size, 10);
assert.equal(file.isFile, true);
}
});

it('fast-xml-parser rejects unterminated stop-node tags without repeated scanning', () => {
const { module: xml } = installedPackage('fast-xml-parser', '5.12.0', false);
const parser = new xml.XMLParser({ stopNodes: ['stop'] });
const start = performance.now();
assert.throws(() => parser.parse('<stop>' + '<a '.repeat(30_000)), /Unexpected end/);
assert.ok(performance.now() - start < 1000, 'Unterminated stop-node tags must not block for seconds');
assert.deepEqual(parser.parse('<stop>literal <a /></stop>'), { stop: 'literal <a />' });
});

it('Hono applies CSRF protection to cross-origin hyperlink auditing requests', async () => {
const { module: hono, require } = installedPackage('hono', '4.13.17', false);
const { csrf } = require('hono/csrf');
const app = new hono.Hono();
app.use('*', csrf());
app.post('/', (context: { text: (value: string) => Response }) => context.text('updated'));
for (const origin of ['https://other.example', 'https://service.example']) {
const response = await app.request('https://service.example/', {
method: 'POST',
headers: { 'Content-Type': 'text/ping', Origin: origin },
body: 'PING',
});
assert.equal(response.status, origin === 'https://service.example' ? 200 : 403);
}
});

it('deepmerge cannot poison a result through either input or nested placeholders', () => {
const { root, require } = installedPackage('deepmerge', '4.3.1');
for (const entry of ['dist/cjs.js', 'dist/umd.js']) {
Expand Down
Loading
Loading