fix-security-issues
Skill1.4k starsChanged 6 months agoMITView on GitHub
Audit and remediate dependency security advisories while respecting package age policy, removing unused vulnerable capabilities, deduplicating Yarn resolutions, and validating affected tooling.
Trending
Quiet since March.about the whole repository
Who's talking about microsoft/fluentui-react-native
- microsoft/rushstack“[rush] Why does many Microsoft open-source projects not use rush.”GitHub · Oct 31, 2021 · 3 reactions
- microsoft/react-native-macos“chore: migrate to changesets”GitHub · Feb 25, 2026 · 1 reactions
- @migueldv90.bsky.social“Microsoft is developing a UI library, but it’s still in Alpha.”Bluesky · Dec 21, 2024 · 1 likes
- microsoft/react-native-macos“docs: add explainer for gotchas with NSView based native components”GitHub · Aug 11, 2023 · 1 reactions
- microsoft/.github“ci: Add 2 bots to CLA policies”GitHub · Mar 5, 2026
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub and Bluesky (24 times).
On GitHub · 23
- Oct 31, 2021[rush] Why does many Microsoft open-source projects not use rush. — microsoft/rushstack3 reactions · 6 comments
- Feb 25, 2026chore: migrate to changesets — microsoft/react-native-macos1 reaction · 1 comment
- Aug 11, 2023docs: add explainer for gotchas with NSView based native components — microsoft/react-native-macos1 reaction · 1 comment
- Mar 5, 2026ci: Add 2 bots to CLA policies — microsoft/.github0 reactions · 1 comment
- Sep 16, 2025Update Fabric branch to main — chrisglein/artificial-chat0 reactions
18 more on GitHub
- Dec 18, 2024Update to 0.76 — chrisglein/artificial-chat0 reactions
- Apr 24, 2024Add FURN (fluent-ui-react-native) to Gallery — microsoft/react-native-gallery0 reactions · 2 comments
- Aug 11, 2023bug: Cannot install drivers when using workspace:* with yarn 3 — appium/appium0 reactions · 5 comments
- Aug 8, 2023Files are generated under the wrong folder if no `node_modules` folder exists — microsoft/react-native-test-app0 reactions
- May 9, 2023Retarget Community Module's TargetPlatformMinVersion — microsoft/react-native-gallery0 reactions · 1 comment
- May 3, 2023Change the UI library to TUI or another — ZOPH3/WhatsThat_TS0 reactions
- May 2, 2023Move react-native-svg from dependencies to peerDependencies — microsoft/fluentui-system-icons0 reactions · 3 comments
- Apr 3, 2023Add fluent-ui-react-native controls and update various visual styles — chrisglein/artificial-chat0 reactions · 2 comments
- Mar 31, 2023Use fluent-ui-react-native controls — chrisglein/artificial-chat0 reactions · 2 comments
- Dec 31, 2022keyUpEvents/keyDownEvents check `code`, not `key` — microsoft/react-native-windows0 reactions · 8 comments
- Dec 14, 2022Setting the testID on the view does not prevent it from being removed from the view hierarchy — microsoft/react-native-windows0 reactions
- Dec 14, 2022Setting the testID on the view does not prevent it from being removed from the view hierarchy — microsoft/react-native-macos0 reactions · 1 comment
- Nov 15, 2022Remove faulty logic in ScrollView — microsoft/react-native-macos0 reactions · 2 comments
- Oct 31, 2022Aligning Avatar color hash color algorithm with web — microsoft/fluentui-apple0 reactions · 6 comments
- Oct 25, 2022fix(jest-preset): `@office-iss/react-native-win32` needs to be transformed — microsoft/rnx-kit0 reactions
- Oct 14, 2022Pressable unnecessarily re-renders if `disabled` prop is true — react/react-native0 reactions · 4 comments
- Aug 5, 2021Bumping Lage from 0.31.0 to 0.32.0 broke our monorepo's pipeline — microsoft/lage0 reactions · 3 comments
- May 14, 2020Setup E2ETest for React Native Win32/NetUI — microsoft/react-native-windows0 reactions · 4 comments
On Bluesky · 1
- Dec 21, 2024Microsoft is developing a UI library, but it’s still in Alpha. — @migueldv90.bsky.social1 likes and repost
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/storybook/AGENTS.mdAGENTS.md
- packages/agentic/components/AGENTS.mdAGENTS.md
- packages/agentic/components/src/AGENTS.mdAGENTS.md
- packages/agentic/components/src/components/AGENTS.mdAGENTS.md
- packages/agentic/components/src/primitives/AGENTS.mdAGENTS.md
- packages/agentic/desktop-driver/AGENTS.mdAGENTS.md
- packages/deprecated/foundation-compose/AGENTS.mdAGENTS.md
- packages/framework-base/AGENTS.mdAGENTS.md
- packages/framework-base/src/accessibility/AGENTS.mdAGENTS.md
- packages/framework/framework/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agentic-component-authoringSkill
- agentic-component-contract-authoringSkill
- agentic-component-optimizationSkill
- agentic-storybook-developmentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 24 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill for dependency vulnerability remediation, Dependabot alerts, Yarn audit findings, or security-driven package upgrades.
- Distinctive: line 14
Read the repository AGENTS.md and the owning workspaces' instructions.
- Very specific: line 22
Do not edit yarn.lock manually.
- Distinctive: line 27
Start with the full recursive audit rather than a partial summary:
- Distinctive: line 36
Read the advisory and identify the first patched version, affected functions, exploit preconditions, and whether a patch exists.
- Very specific: line 38
Run yarn why <package> to find every path.
- Distinctive: line 40
Search repository source and installed dependent source to determine whether the vulnerable capability is used at runtime, only used by …
- Distinctive: line 46
Treat critical and high findings as required fixes.
- Distinctive: line 51
Before resolving versions, inspect the effective Yarn policy:
- Distinctive: line 62
Do not disable or reduce the age gate to obtain a security fix.
- Very specific: line 63
Do not assume latest is eligible.
- Distinctive: line 64
Check preapproved-package exceptions explicitly.
- Distinctive: line 66
Prefer the newest eligible fixed patch within the existing compatible range, not the newest package release overall.
- Distinctive: line 73
Upgrade the direct dependency: Prefer a patched version within the current major and update the shared catalog when it is the source of …
- Distinctive: line 77
Add a narrow root resolution: Use the exact vulnerable descriptor when possible.
- Very specific: line 80
Remove an unused vulnerable capability with
ignore:: Use the installed @rnx-kit/yarn-plugin-ignore only after proving the package is not … - Distinctive: line 88
Do not add a broad catch, audit exclusion, or warning suppression in place of a runtime fix.
- Distinctive: line 98
Before adding a resolution such as:
- Distinctive: line 110
no repository source imports or invokes the package.
- Very specific: line 116
After installation, verify the npm package is absent from yarn.lock, the ignore: locator is present, dependent modules still load, and an …
- Distinctive: line 123
After each coherent manifest change:
- Distinctive: line 145
Keep related package families aligned.
- Distinctive: line 151
Use declared workspace scripts and validate in increasing scope:
- Distinctive: line 154
Run lockfile and repository structural lint.
- Distinctive: line 155
Run affected workspace lint, build, and tests.
- Distinctive: line 158
Run the root build and repository test graph when shared manifests, catalogs, resolutions, or the lockfile change broadly.
- Distinctive: line 160
Add a normal or empty changeset as required by repository policy.
- Distinctive: line 165
every critical/high advisory is fixed, removed, or blocked fail-closed.
- Distinctive: line 173
If a required package has no eligible patched release, cannot be safely ignored, and cannot be patched with a focused regression test, …
- Very specific: line 181
If extract-zip is present only through optional browser installation code while the repository runs native Appium automation, inspect both …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fix security issues
Use this skill for dependency vulnerability remediation, Dependabot alerts, Yarn audit findings, or security-driven package upgrades.
Read first
- Read the repository
AGENTS.mdand the owning workspaces' instructions. - Inspect
package.json,.yarnrc.yml,yarn.lock, package catalogs, resolutions, package extensions, and dynamic package extensions. - Inspect
.github/dependabot.ymland any repository-specific package age, cooldown, registry, or release policy. - Inspect the declared scripts for every affected workspace before choosing validation commands.
Do not edit yarn.lock manually. Change the owning manifest, catalog,
resolution, preset, or extension and let Yarn regenerate the graph.
Inventory the complete problem
Start with the full recursive audit rather than a partial summary:
yarn npm audit --all --recursive --json --no-deprecationsNormalize the output by severity, package, installed version, advisory, and dependent. For every finding:
- Read the advisory and identify the first patched version, affected functions, exploit preconditions, and whether a patch exists.
- Run
yarn why <package>to find every path. A fixed direct path does not help if a stale compatible transitive path remains. - Search repository source and installed dependent source to determine whether the vulnerable capability is used at runtime, only used by tooling, or unused.
- Group duplicate advisories for the same package, but do not omit findings because one report calls them low priority.
Treat critical and high findings as required fixes. Address moderate and low findings whenever a compatible, policy-eligible remediation exists.
Enforce the package age policy
Before resolving versions, inspect the effective Yarn policy:
yarn config get npmMinimalAgeGate
yarn config get npmPreapprovedPackagesCalculate the exact cutoff from the session time. Verify publication timestamps for proposed versions and, after lockfile generation, every newly selected npm version in the lockfile diff.
- Do not disable or reduce the age gate to obtain a security fix.
- Do not assume
latestis eligible. - Check preapproved-package exceptions explicitly; an exception does not prove that a newly selected release meets the requested age policy.
- Prefer the newest eligible fixed patch within the existing compatible range, not the newest package release overall.
Choose the least risky complete remediation
Use this order:
- Upgrade the direct dependency. Prefer a patched version within the current major and update the shared catalog when it is the source of truth.
- Upgrade the transitive parent. This is preferable when the parent has already adopted the fixed dependency.
- Add a narrow root resolution. Use the exact vulnerable descriptor when possible. Review API and module-format compatibility before forcing a new major, and exercise the dependent package's real code path.
- Remove an unused vulnerable capability with
ignore:. Use the installed@rnx-kit/yarn-plugin-ignoreonly after proving the package is not required by repository workflows. - Carry a local Yarn patch. Reserve this for required packages with no eligible published fix. Base it on authoritative upstream work, add a focused regression check, and document that version-based scanners may still report the patched version.
Do not add a broad catch, audit exclusion, or warning suppression in place of a runtime fix.
Safely use the ignore plugin
The repository's ignore: protocol replaces a package with an empty module.
It is appropriate when a transitive dependency implements an optional
capability that this repository intentionally does not support, such as a
browser downloader in a native-only test path.
Before adding a resolution such as:
{
"resolutions": {
"unused-vulnerable-package": "ignore:"
}
}prove all of the following:
- no repository source imports or invokes the package;
- each dependent imports it lazily or can load with an empty module;
- the unsupported capability fails closed if invoked;
- declared builds, tests, bundles, and CLIs do not require it;
yarn whyshows only the understood optional paths.
After installation, verify the npm package is absent from yarn.lock, the
ignore: locator is present, dependent modules still load, and an attempted
call cannot silently succeed. Never ignore a package merely to make the audit
output clean.
Resolve, audit, and deduplicate iteratively
After each coherent manifest change:
yarn install
yarn npm audit --all --recursive --json --no-deprecations
yarn why <remaining-vulnerable-package>Yarn may retain an older resolution that still satisfies a transitive range, even when a fixed version is also installed. Once the remediation set is complete, run:
yarn dedupe --strategy highest
yarn dedupe --check
yarn install --immutable --mode=skip-buildRe-run the audit after dedupe. If stale vulnerable paths remain, update their owning range or add a narrow compatible resolution; do not assume another dedupe pass will update a package with only one descriptor.
Keep related package families aligned. If repository lint expects an older vulnerable version, update the shared alignment preset or catalog rather than scattering exceptions or reverting the security floor.
Validate the affected behavior
Use declared workspace scripts and validate in increasing scope:
- Format changed manifests and configuration.
- Run lockfile and repository structural lint.
- Run affected workspace lint, build, and tests.
- Exercise the runtime path affected by every major-version resolution.
- Bundle each affected Metro/native target when bundler dependencies change.
- Run the root build and repository test graph when shared manifests, catalogs, resolutions, or the lockfile change broadly.
- Add a normal or empty changeset as required by repository policy.
Finish by confirming:
- the recursive audit has no unexplained findings;
- every critical/high advisory is fixed, removed, or blocked fail-closed;
- newly selected npm versions satisfy the exact package age cutoff;
yarn dedupe --checkreports no candidates;- immutable install succeeds;
- the diff contains no unrelated manifest or generated-file changes.
Failure behavior
If a required package has no eligible patched release, cannot be safely ignored, and cannot be patched with a focused regression test, report the remaining advisory and its exposure plainly. Do not claim completion, weaken the age policy, force an unvalidated incompatible major, or suppress the warning.
Example
If extract-zip is present only through optional browser installation code
while the repository runs native Appium automation, inspect both dependents,
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

