@mmerterden/multi-agent-pipeline 24.4.0 → 24.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/README.md +2 -2
- package/README.tr.md +2 -2
- package/docs/architecture.md +1 -1
- package/docs/ecosystem.md +7 -1
- package/docs/facts.json +2 -1
- package/install/_common.mjs +21 -1
- package/install/_dev-only-files.mjs +3 -0
- package/install/_external-source.mjs +174 -0
- package/install/_platform-filter.mjs +18 -17
- package/install/_plugin-skills.mjs +8 -21
- package/install/_rewrite-tree.mjs +5 -1
- package/install/claude.mjs +18 -15
- package/install/codex.mjs +96 -37
- package/install/copilot.mjs +35 -13
- package/install/index.mjs +82 -14
- package/manifest.json +39 -825
- package/package.json +4 -2
- package/pipeline/commands/multi-agent/update/SKILL.md +20 -13
- package/pipeline/lib/low-disk.mjs +33 -1
- package/pipeline/lib/plugins-source.mjs +206 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +12 -5
- package/pipeline/multi-agent-refs/sync/repo.md +1 -1
- package/pipeline/multi-agent-refs/sync/stack-plugins.md +12 -0
- package/pipeline/office/index.html +196 -11
- package/pipeline/schemas/plugins-pin.json +204 -0
- package/pipeline/schemas/plugins-pin.schema.json +38 -0
- package/pipeline/schemas/prefs.schema.json +134 -48
- package/pipeline/scripts/_active-run.mjs +31 -14
- package/pipeline/scripts/disk-cleaner.mjs +1 -1
- package/pipeline/scripts/gen-facts.mjs +9 -4
- package/pipeline/scripts/gen-plugins-pin.mjs +172 -0
- package/pipeline/scripts/pre-push-check.sh +6 -5
- package/pipeline/scripts/smoke-cross-cli-behavior.sh +9 -0
- package/pipeline/scripts/task-mirror.mjs +16 -2
- package/pipeline/skills/.skill-manifest.json +2 -2
- package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/SKILL.md +0 -147
- package/pipeline/skills/shared/external/accessibility-compliance-accessibility-audit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/agent-introspection-debugging/SKILL.md +0 -66
- package/pipeline/skills/shared/external/agent-introspection-debugging/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/alarmkit/SKILL.md +0 -341
- package/pipeline/skills/shared/external/alarmkit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/alarmkit/references/alarmkit-code.md +0 -257
- package/pipeline/skills/shared/external/alarmkit/references/alarmkit-patterns.md +0 -555
- package/pipeline/skills/shared/external/android-architecture/SKILL.md +0 -438
- package/pipeline/skills/shared/external/android-architecture/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-architecture/references/code-examples.md +0 -68
- package/pipeline/skills/shared/external/android-architecture/references/patterns.md +0 -148
- package/pipeline/skills/shared/external/android-build-quality-gates/SKILL.md +0 -362
- package/pipeline/skills/shared/external/android-build-quality-gates/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-build-quality-gates/references/patterns.md +0 -451
- package/pipeline/skills/shared/external/android-datastore/SKILL.md +0 -237
- package/pipeline/skills/shared/external/android-datastore/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-datastore/references/patterns.md +0 -308
- package/pipeline/skills/shared/external/android-design-tokens-codegen/SKILL.md +0 -250
- package/pipeline/skills/shared/external/android-design-tokens-codegen/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/android-design-tokens-codegen/references/patterns.md +0 -278
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/SKILL.md +0 -140
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/android-jetpack-compose-expert/references/patterns.md +0 -153
- package/pipeline/skills/shared/external/android-mvi-viewmodel/SKILL.md +0 -296
- package/pipeline/skills/shared/external/android-mvi-viewmodel/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-mvi-viewmodel/references/patterns.md +0 -267
- package/pipeline/skills/shared/external/android-performance/SKILL.md +0 -247
- package/pipeline/skills/shared/external/android-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/android-performance/references/patterns.md +0 -672
- package/pipeline/skills/shared/external/android-security/SKILL.md +0 -266
- package/pipeline/skills/shared/external/android-security/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/android-security/references/patterns.md +0 -706
- package/pipeline/skills/shared/external/api-patterns/SKILL.md +0 -117
- package/pipeline/skills/shared/external/api-patterns/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/api-patterns/references/contract-details.md +0 -137
- package/pipeline/skills/shared/external/api-security-best-practices/SKILL.md +0 -162
- package/pipeline/skills/shared/external/api-security-best-practices/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/api-security-best-practices/references/abuse-controls.md +0 -152
- package/pipeline/skills/shared/external/api-security-best-practices/references/identity-and-access.md +0 -220
- package/pipeline/skills/shared/external/api-security-best-practices/references/operations.md +0 -66
- package/pipeline/skills/shared/external/api-security-best-practices/references/request-handling.md +0 -187
- package/pipeline/skills/shared/external/app-clips/SKILL.md +0 -269
- package/pipeline/skills/shared/external/app-clips/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/app-clips/references/data-handoff-notifications-location.md +0 -211
- package/pipeline/skills/shared/external/app-clips/references/routing-and-experiences.md +0 -185
- package/pipeline/skills/shared/external/app-clips/references/size-capabilities-and-promotion.md +0 -181
- package/pipeline/skills/shared/external/app-intents/SKILL.md +0 -405
- package/pipeline/skills/shared/external/app-intents/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/app-intents/references/appintents-advanced.md +0 -1018
- package/pipeline/skills/shared/external/app-intents/references/code-examples.md +0 -54
- package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +0 -317
- package/pipeline/skills/shared/external/app-store-optimization/evals/evals.json +0 -63
- package/pipeline/skills/shared/external/app-store-optimization/references/engagement-and-localization.md +0 -96
- package/pipeline/skills/shared/external/app-store-optimization/references/keyword-research-methodology.md +0 -169
- package/pipeline/skills/shared/external/app-store-optimization/references/product-page-variants.md +0 -178
- package/pipeline/skills/shared/external/app-store-release-notes/SKILL.md +0 -92
- package/pipeline/skills/shared/external/app-store-release-notes/evals/evals.json +0 -40
- package/pipeline/skills/shared/external/app-store-release-notes/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/app-store-release-notes/references/release-notes-guidelines.md +0 -64
- package/pipeline/skills/shared/external/app-store-release-notes/scripts/collect_release_changes.sh +0 -31
- package/pipeline/skills/shared/external/app-store-review/SKILL.md +0 -311
- package/pipeline/skills/shared/external/app-store-review/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/app-store-review/references/monetization-and-submission.md +0 -138
- package/pipeline/skills/shared/external/app-store-review/references/privacy-manifest.md +0 -161
- package/pipeline/skills/shared/external/app-store-review/references/review-checklists.md +0 -151
- package/pipeline/skills/shared/external/apple-on-device-ai/SKILL.md +0 -361
- package/pipeline/skills/shared/external/apple-on-device-ai/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/apple-on-device-ai/references/coreml-conversion.md +0 -346
- package/pipeline/skills/shared/external/apple-on-device-ai/references/coreml-optimization.md +0 -269
- package/pipeline/skills/shared/external/apple-on-device-ai/references/foundation-models-code.md +0 -186
- package/pipeline/skills/shared/external/apple-on-device-ai/references/foundation-models.md +0 -440
- package/pipeline/skills/shared/external/apple-on-device-ai/references/mlx-swift.md +0 -292
- package/pipeline/skills/shared/external/architecture/SKILL.md +0 -125
- package/pipeline/skills/shared/external/architecture/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/architecture/references/adr-and-review.md +0 -76
- package/pipeline/skills/shared/external/authentication/SKILL.md +0 -343
- package/pipeline/skills/shared/external/authentication/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/authentication/references/code-examples.md +0 -59
- package/pipeline/skills/shared/external/authentication/references/keychain-biometric.md +0 -204
- package/pipeline/skills/shared/external/authentication/references/passkeys.md +0 -158
- package/pipeline/skills/shared/external/avkit/SKILL.md +0 -402
- package/pipeline/skills/shared/external/avkit/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/avkit/references/avkit-patterns.md +0 -563
- package/pipeline/skills/shared/external/background-processing/SKILL.md +0 -390
- package/pipeline/skills/shared/external/background-processing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/background-processing/references/background-task-patterns.md +0 -276
- package/pipeline/skills/shared/external/backlog/BACKLOG.md +0 -32
- package/pipeline/skills/shared/external/backlog/SKILL.md +0 -77
- package/pipeline/skills/shared/external/backlog/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/build-settings-audit/SKILL.md +0 -81
- package/pipeline/skills/shared/external/build-settings-audit/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-settings-audit/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/build-settings-audit/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-settings-audit/references/project-audit-checks.md +0 -146
- package/pipeline/skills/shared/external/build-settings-audit/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-benchmark/SKILL.md +0 -97
- package/pipeline/skills/shared/external/build-time-benchmark/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/build-time-benchmark/references/benchmark-artifacts.md +0 -96
- package/pipeline/skills/shared/external/build-time-benchmark/references/benchmarking-workflow.md +0 -59
- package/pipeline/skills/shared/external/build-time-benchmark/schemas/build-benchmark.schema.json +0 -123
- package/pipeline/skills/shared/external/build-time-benchmark/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-fixes/SKILL.md +0 -227
- package/pipeline/skills/shared/external/build-time-fixes/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-time-fixes/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-time-fixes/references/fix-patterns.md +0 -342
- package/pipeline/skills/shared/external/build-time-fixes/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-fixes/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-optimizer/SKILL.md +0 -168
- package/pipeline/skills/shared/external/build-time-optimizer/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/build-time-optimizer/references/benchmark-artifacts.md +0 -96
- package/pipeline/skills/shared/external/build-time-optimizer/references/build-settings-best-practices.md +0 -131
- package/pipeline/skills/shared/external/build-time-optimizer/references/orchestration-report-template.md +0 -193
- package/pipeline/skills/shared/external/build-time-optimizer/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/benchmark_builds.py +0 -334
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/diagnose_compilation.py +0 -266
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/generate_optimization_report.py +0 -408
- package/pipeline/skills/shared/external/callkit-voip/SKILL.md +0 -341
- package/pipeline/skills/shared/external/callkit-voip/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/callkit-voip/references/callkit-patterns.md +0 -286
- package/pipeline/skills/shared/external/callkit-voip/references/code-examples.md +0 -93
- package/pipeline/skills/shared/external/ci-cd-pipelines/SKILL.md +0 -209
- package/pipeline/skills/shared/external/ci-cd-pipelines/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ci-cd-pipelines/references/pipeline-examples.md +0 -261
- package/pipeline/skills/shared/external/clean-code/SKILL.md +0 -163
- package/pipeline/skills/shared/external/clean-code/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/clean-code/references/code-examples.md +0 -56
- package/pipeline/skills/shared/external/cloudkit-sync/SKILL.md +0 -316
- package/pipeline/skills/shared/external/cloudkit-sync/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/cloudkit-sync/references/cloudkit-code.md +0 -214
- package/pipeline/skills/shared/external/cloudkit-sync/references/cloudkit-patterns.md +0 -351
- package/pipeline/skills/shared/external/compose-components/SKILL.md +0 -417
- package/pipeline/skills/shared/external/compose-components/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/compose-components/references/code-examples.md +0 -89
- package/pipeline/skills/shared/external/compose-components/references/patterns.md +0 -207
- package/pipeline/skills/shared/external/compose-navigation/SKILL.md +0 -441
- package/pipeline/skills/shared/external/compose-navigation/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/compose-navigation/references/code-examples.md +0 -70
- package/pipeline/skills/shared/external/compose-navigation/references/patterns.md +0 -198
- package/pipeline/skills/shared/external/compose-testing/SKILL.md +0 -246
- package/pipeline/skills/shared/external/compose-testing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/compose-testing/references/patterns.md +0 -646
- package/pipeline/skills/shared/external/contacts-framework/SKILL.md +0 -298
- package/pipeline/skills/shared/external/contacts-framework/evals/evals.json +0 -39
- package/pipeline/skills/shared/external/contacts-framework/references/contacts-patterns.md +0 -279
- package/pipeline/skills/shared/external/context-compression/SKILL.md +0 -134
- package/pipeline/skills/shared/external/context-compression/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/core-bluetooth/SKILL.md +0 -350
- package/pipeline/skills/shared/external/core-bluetooth/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-bluetooth/references/ble-patterns.md +0 -390
- package/pipeline/skills/shared/external/core-data/SKILL.md +0 -284
- package/pipeline/skills/shared/external/core-data/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-data/references/core-data-code.md +0 -221
- package/pipeline/skills/shared/external/core-motion/SKILL.md +0 -334
- package/pipeline/skills/shared/external/core-motion/evals/evals.json +0 -53
- package/pipeline/skills/shared/external/core-motion/references/motion-patterns.md +0 -346
- package/pipeline/skills/shared/external/core-nfc/SKILL.md +0 -357
- package/pipeline/skills/shared/external/core-nfc/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/core-nfc/references/code-examples.md +0 -98
- package/pipeline/skills/shared/external/core-nfc/references/nfc-patterns.md +0 -367
- package/pipeline/skills/shared/external/coreml/SKILL.md +0 -340
- package/pipeline/skills/shared/external/coreml/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/coreml/references/coreml-code.md +0 -208
- package/pipeline/skills/shared/external/coreml/references/coreml-swift-integration.md +0 -827
- package/pipeline/skills/shared/external/council/SKILL.md +0 -66
- package/pipeline/skills/shared/external/council/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/cryptokit/SKILL.md +0 -354
- package/pipeline/skills/shared/external/cryptokit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/cryptokit/references/cryptokit-patterns.md +0 -429
- package/pipeline/skills/shared/external/css-modern/SKILL.md +0 -347
- package/pipeline/skills/shared/external/css-modern/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/css-modern/references/code-examples.md +0 -149
- package/pipeline/skills/shared/external/database-patterns/SKILL.md +0 -241
- package/pipeline/skills/shared/external/database-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +0 -152
- package/pipeline/skills/shared/external/debugging-instruments/SKILL.md +0 -401
- package/pipeline/skills/shared/external/debugging-instruments/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/debugging-instruments/references/instruments-guide.md +0 -263
- package/pipeline/skills/shared/external/debugging-instruments/references/lldb-patterns.md +0 -259
- package/pipeline/skills/shared/external/debugging-strategies/SKILL.md +0 -151
- package/pipeline/skills/shared/external/debugging-strategies/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/debugging-strategies/references/hard-cases.md +0 -54
- package/pipeline/skills/shared/external/device-integrity/SKILL.md +0 -322
- package/pipeline/skills/shared/external/device-integrity/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/device-integrity/references/device-integrity-patterns.md +0 -215
- package/pipeline/skills/shared/external/disk-cleaner/SKILL.md +0 -124
- package/pipeline/skills/shared/external/disk-cleaner/evals/evals.json +0 -62
- package/pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs +0 -2018
- package/pipeline/skills/shared/external/docker-expert/SKILL.md +0 -169
- package/pipeline/skills/shared/external/docker-expert/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/docker-expert/references/patterns.md +0 -98
- package/pipeline/skills/shared/external/e2e-testing/SKILL.md +0 -148
- package/pipeline/skills/shared/external/e2e-testing/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +0 -65
- package/pipeline/skills/shared/external/energykit/SKILL.md +0 -333
- package/pipeline/skills/shared/external/energykit/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/energykit/references/energykit-patterns.md +0 -297
- package/pipeline/skills/shared/external/eventkit-calendar/SKILL.md +0 -377
- package/pipeline/skills/shared/external/eventkit-calendar/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/eventkit-calendar/references/eventkit-patterns.md +0 -283
- package/pipeline/skills/shared/external/evidence-github/SKILL.md +0 -47
- package/pipeline/skills/shared/external/evidence-github/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/evidence-registry/SKILL.md +0 -35
- package/pipeline/skills/shared/external/evidence-registry/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/fastapi-pro/SKILL.md +0 -120
- package/pipeline/skills/shared/external/fastapi-pro/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/fastapi-pro/references/app-structure.md +0 -245
- package/pipeline/skills/shared/external/fastapi-pro/references/testing-and-deployment.md +0 -69
- package/pipeline/skills/shared/external/firebase-integration/SKILL.md +0 -140
- package/pipeline/skills/shared/external/firebase-integration/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/firebase-integration/references/functions-and-products.md +0 -51
- package/pipeline/skills/shared/external/firebase-integration/references/security-rules.md +0 -59
- package/pipeline/skills/shared/external/fix-review-verdicts/SKILL.md +0 -136
- package/pipeline/skills/shared/external/fix-review-verdicts/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/free-llm-apis/SKILL.md +0 -70
- package/pipeline/skills/shared/external/free-llm-apis/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +0 -34
- package/pipeline/skills/shared/external/github-actions-templates/SKILL.md +0 -192
- package/pipeline/skills/shared/external/github-actions-templates/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/github-actions-templates/references/patterns.md +0 -96
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/SKILL.md +0 -226
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/evals/evals.json +0 -58
- package/pipeline/skills/shared/external/gradle-kotlin-dsl/references/patterns.md +0 -732
- package/pipeline/skills/shared/external/handle-request/SKILL.md +0 -97
- package/pipeline/skills/shared/external/handle-request/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/healthkit/SKILL.md +0 -382
- package/pipeline/skills/shared/external/healthkit/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/healthkit/references/healthkit-patterns.md +0 -541
- package/pipeline/skills/shared/external/hig-app-icons/SKILL.md +0 -159
- package/pipeline/skills/shared/external/hig-app-icons/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/hig-app-icons/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/hig-app-icons/references/icon-workflow.md +0 -125
- package/pipeline/skills/shared/external/hig-components-content/SKILL.md +0 -78
- package/pipeline/skills/shared/external/hig-components-content/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-content/references/content-views.md +0 -121
- package/pipeline/skills/shared/external/hig-components-layout/SKILL.md +0 -114
- package/pipeline/skills/shared/external/hig-components-layout/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/hig-components-layout/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/hig-components-layout/references/bars-and-tabs.md +0 -242
- package/pipeline/skills/shared/external/hig-components-layout/references/containers.md +0 -73
- package/pipeline/skills/shared/external/hig-components-status/SKILL.md +0 -154
- package/pipeline/skills/shared/external/hig-components-status/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-system/SKILL.md +0 -80
- package/pipeline/skills/shared/external/hig-components-system/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/hig-components-system/references/surfaces.md +0 -98
- package/pipeline/skills/shared/external/hig-foundations/SKILL.md +0 -85
- package/pipeline/skills/shared/external/hig-foundations/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/hig-foundations/evals/trigger-eval.json +0 -21
- package/pipeline/skills/shared/external/hig-foundations/references/foundations-detail.md +0 -153
- package/pipeline/skills/shared/external/hig-foundations/references/type-color-spacing.md +0 -232
- package/pipeline/skills/shared/external/hig-inputs/SKILL.md +0 -152
- package/pipeline/skills/shared/external/hig-inputs/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/hig-patterns/SKILL.md +0 -99
- package/pipeline/skills/shared/external/hig-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/hig-patterns/references/onboarding-and-states.md +0 -199
- package/pipeline/skills/shared/external/hig-patterns/references/patterns.md +0 -86
- package/pipeline/skills/shared/external/hig-platforms/SKILL.md +0 -163
- package/pipeline/skills/shared/external/hig-platforms/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/hig-platforms/references/ipad-layout.md +0 -230
- package/pipeline/skills/shared/external/hig-technologies/SKILL.md +0 -65
- package/pipeline/skills/shared/external/hig-technologies/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/hig-technologies/references/technologies.md +0 -124
- package/pipeline/skills/shared/external/homekit-matter/SKILL.md +0 -385
- package/pipeline/skills/shared/external/homekit-matter/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/homekit-matter/references/matter-commissioning.md +0 -363
- package/pipeline/skills/shared/external/html-semantic/SKILL.md +0 -263
- package/pipeline/skills/shared/external/html-semantic/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/html-semantic/references/code-examples.md +0 -54
- package/pipeline/skills/shared/external/humanizer/SKILL.md +0 -204
- package/pipeline/skills/shared/external/humanizer/evals/evals.json +0 -59
- package/pipeline/skills/shared/external/humanizer/references/turkish.md +0 -88
- package/pipeline/skills/shared/external/humanizer/references/voice.md +0 -24
- package/pipeline/skills/shared/external/ink-animation/SKILL.md +0 -230
- package/pipeline/skills/shared/external/ink-animation/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/ios-accessibility/SKILL.md +0 -333
- package/pipeline/skills/shared/external/ios-accessibility/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/ios-accessibility/references/a11y-patterns.md +0 -470
- package/pipeline/skills/shared/external/ios-accessibility/references/assistive-tech-review.md +0 -224
- package/pipeline/skills/shared/external/ios-accessibility/references/large-content-and-appearance.md +0 -144
- package/pipeline/skills/shared/external/ios-accessibility/references/media-accessibility.md +0 -156
- package/pipeline/skills/shared/external/ios-accessibility/references/nutrition-labels.md +0 -212
- package/pipeline/skills/shared/external/ios-coding-standard/SKILL.md +0 -119
- package/pipeline/skills/shared/external/ios-coding-standard/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ios-coding-standard/modules/_TEMPLATE.yml +0 -82
- package/pipeline/skills/shared/external/ios-coding-standard/references/STANDARD.md +0 -629
- package/pipeline/skills/shared/external/ios-coding-standard/references/lint-local.sh +0 -172
- package/pipeline/skills/shared/external/ios-coding-standard/references/rules.yml +0 -1959
- package/pipeline/skills/shared/external/ios-coding-standard/references/swiftlint.draft.yml +0 -370
- package/pipeline/skills/shared/external/ios-design-review/SKILL.md +0 -146
- package/pipeline/skills/shared/external/ios-design-review/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/ios-design-review/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-design-review/references/appearance-matrix.md +0 -144
- package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +0 -208
- package/pipeline/skills/shared/external/ios-haptics/SKILL.md +0 -191
- package/pipeline/skills/shared/external/ios-haptics/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-haptics/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-haptics/references/core-haptics.md +0 -226
- package/pipeline/skills/shared/external/ios-iphone-duo/SKILL.md +0 -178
- package/pipeline/skills/shared/external/ios-iphone-duo/evals/evals.json +0 -65
- package/pipeline/skills/shared/external/ios-iphone-duo/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-iphone-duo/references/api-map.md +0 -223
- package/pipeline/skills/shared/external/ios-iphone-duo/references/fixed-assumptions.md +0 -217
- package/pipeline/skills/shared/external/ios-iphone-duo/references/poses-and-panes.md +0 -133
- package/pipeline/skills/shared/external/ios-localization/SKILL.md +0 -343
- package/pipeline/skills/shared/external/ios-localization/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-localization/references/code-examples.md +0 -30
- package/pipeline/skills/shared/external/ios-localization/references/formatstyle-locale.md +0 -454
- package/pipeline/skills/shared/external/ios-localization/references/string-catalogs.md +0 -463
- package/pipeline/skills/shared/external/ios-module-structure/SKILL.md +0 -102
- package/pipeline/skills/shared/external/ios-module-structure/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/ios-module-structure/modules/_TEMPLATE.yml +0 -152
- package/pipeline/skills/shared/external/ios-module-structure/references/rules.yml +0 -673
- package/pipeline/skills/shared/external/ios-module-structure/scripts/check_structure.py +0 -827
- package/pipeline/skills/shared/external/ios-networking/SKILL.md +0 -359
- package/pipeline/skills/shared/external/ios-networking/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/ios-networking/references/background-websocket.md +0 -662
- package/pipeline/skills/shared/external/ios-networking/references/code-examples.md +0 -67
- package/pipeline/skills/shared/external/ios-networking/references/file-storage-patterns.md +0 -219
- package/pipeline/skills/shared/external/ios-networking/references/lightweight-clients.md +0 -141
- package/pipeline/skills/shared/external/ios-networking/references/network-framework.md +0 -375
- package/pipeline/skills/shared/external/ios-networking/references/urlsession-patterns.md +0 -832
- package/pipeline/skills/shared/external/ios-security/SKILL.md +0 -438
- package/pipeline/skills/shared/external/ios-security/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/ios-security/references/app-review-guidelines.md +0 -182
- package/pipeline/skills/shared/external/ios-security/references/code-examples.md +0 -84
- package/pipeline/skills/shared/external/ios-security/references/cryptokit-advanced.md +0 -311
- package/pipeline/skills/shared/external/ios-security/references/file-storage-patterns.md +0 -362
- package/pipeline/skills/shared/external/ios-security/references/privacy-manifest.md +0 -126
- package/pipeline/skills/shared/external/ios-sf-symbols/SKILL.md +0 -177
- package/pipeline/skills/shared/external/ios-sf-symbols/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/ios-sf-symbols/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/ios-sf-symbols/references/effects-and-custom-symbols.md +0 -144
- package/pipeline/skills/shared/external/ios-simulator/SKILL.md +0 -359
- package/pipeline/skills/shared/external/ios-simulator/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/ios-simulator/references/simctl-commands.md +0 -236
- package/pipeline/skills/shared/external/ios-simulator-debugging/SKILL.md +0 -99
- package/pipeline/skills/shared/external/ios-simulator-debugging/evals/evals.json +0 -41
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/SKILL.md +0 -153
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/kotlin-coroutines-expert/references/patterns.md +0 -111
- package/pipeline/skills/shared/external/live-activities/SKILL.md +0 -363
- package/pipeline/skills/shared/external/live-activities/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/live-activities/references/activitykit-patterns.md +0 -742
- package/pipeline/skills/shared/external/live-activities/references/code-examples.md +0 -108
- package/pipeline/skills/shared/external/localization-reuse-map/SKILL.md +0 -88
- package/pipeline/skills/shared/external/localization-reuse-map/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/localization-reuse-map/example-mapping.json +0 -188
- package/pipeline/skills/shared/external/localization-reuse-map/references/format-and-output.md +0 -135
- package/pipeline/skills/shared/external/localization-reuse-map/references/project-settings.md +0 -22
- package/pipeline/skills/shared/external/localization-reuse-map/references/publish-and-snapshot.md +0 -78
- package/pipeline/skills/shared/external/localization-reuse-map/references/sources-and-recipes.md +0 -154
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/_shared.py +0 -201
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/build-artifact.py +0 -838
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/build-spreadsheet.py +0 -298
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/fetch-annotations.py +0 -291
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/fetch-legacy-labels.py +0 -114
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/publish-confluence.py +0 -224
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/render-key-shots.py +0 -234
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/render-overlay.py +0 -551
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/resolve-legacy-values.py +0 -191
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/resolve-new-values.py +0 -160
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/scan-screen-keys.py +0 -166
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/snapshot-resources.sh +0 -29
- package/pipeline/skills/shared/external/localization-reuse-map/scripts/verify-map.py +0 -163
- package/pipeline/skills/shared/external/macos-app-distribution/SKILL.md +0 -149
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Package.swift +0 -17
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Sources/MyApp/MyApp.swift +0 -24
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/Sources/MyApp/Resources/.keep +0 -0
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/bootstrap/version.env +0 -4
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/build_icon.sh +0 -56
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/compile_and_run.sh +0 -84
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/launch.sh +0 -35
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/make_appcast.sh +0 -97
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/package_app.sh +0 -265
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/setup_dev_signing.sh +0 -63
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/sign-and-notarize.sh +0 -83
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/version.env +0 -4
- package/pipeline/skills/shared/external/macos-app-distribution/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/macos-app-distribution/evals/trigger-eval.json +0 -10
- package/pipeline/skills/shared/external/macos-app-distribution/references/packaging.md +0 -49
- package/pipeline/skills/shared/external/macos-app-distribution/references/release.md +0 -57
- package/pipeline/skills/shared/external/macos-app-distribution/references/scaffold.md +0 -109
- package/pipeline/skills/shared/external/macos-menubar-utility/SKILL.md +0 -206
- package/pipeline/skills/shared/external/macos-menubar-utility/evals/evals.json +0 -52
- package/pipeline/skills/shared/external/macos-menubar-utility/evals/trigger-eval.json +0 -10
- package/pipeline/skills/shared/external/mapkit-location/SKILL.md +0 -371
- package/pipeline/skills/shared/external/mapkit-location/evals/evals.json +0 -51
- package/pipeline/skills/shared/external/mapkit-location/references/code-examples.md +0 -117
- package/pipeline/skills/shared/external/mapkit-location/references/mapkit-corelocation-patterns.md +0 -639
- package/pipeline/skills/shared/external/mapkit-location/references/mapkit-patterns.md +0 -712
- package/pipeline/skills/shared/external/metrickit-diagnostics/SKILL.md +0 -255
- package/pipeline/skills/shared/external/metrickit-diagnostics/evals/evals.json +0 -49
- package/pipeline/skills/shared/external/metrickit-diagnostics/references/metrickit-patterns.md +0 -183
- package/pipeline/skills/shared/external/monorepo-architect/SKILL.md +0 -166
- package/pipeline/skills/shared/external/monorepo-architect/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/monorepo-architect/references/patterns.md +0 -70
- package/pipeline/skills/shared/external/musickit-audio/SKILL.md +0 -298
- package/pipeline/skills/shared/external/musickit-audio/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/musickit-audio/references/musickit-patterns.md +0 -303
- package/pipeline/skills/shared/external/natural-language/SKILL.md +0 -292
- package/pipeline/skills/shared/external/natural-language/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/natural-language/references/translation-patterns.md +0 -282
- package/pipeline/skills/shared/external/nextjs-routing/SKILL.md +0 -333
- package/pipeline/skills/shared/external/nextjs-routing/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/nextjs-routing/references/app-router-examples.md +0 -127
- package/pipeline/skills/shared/external/nodejs-backend-patterns/SKILL.md +0 -104
- package/pipeline/skills/shared/external/nodejs-backend-patterns/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/nodejs-backend-patterns/references/runtime-patterns.md +0 -258
- package/pipeline/skills/shared/external/nodejs-backend-patterns/references/testing-and-frameworks.md +0 -57
- package/pipeline/skills/shared/external/observability-engineer/SKILL.md +0 -158
- package/pipeline/skills/shared/external/observability-engineer/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/observability-engineer/references/patterns.md +0 -75
- package/pipeline/skills/shared/external/package-build-audit/SKILL.md +0 -114
- package/pipeline/skills/shared/external/package-build-audit/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/package-build-audit/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/package-build-audit/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/package-build-audit/references/spm-analysis-checks.md +0 -126
- package/pipeline/skills/shared/external/package-build-audit/scripts/check_spm_pins.py +0 -123
- package/pipeline/skills/shared/external/passkit-wallet/SKILL.md +0 -367
- package/pipeline/skills/shared/external/passkit-wallet/evals/evals.json +0 -52
- package/pipeline/skills/shared/external/passkit-wallet/references/wallet-passes.md +0 -249
- package/pipeline/skills/shared/external/pdfkit/SKILL.md +0 -468
- package/pipeline/skills/shared/external/pdfkit/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/pdfkit/references/pdfkit-patterns.md +0 -651
- package/pipeline/skills/shared/external/pencilkit-drawing/SKILL.md +0 -367
- package/pipeline/skills/shared/external/pencilkit-drawing/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/pencilkit-drawing/references/pencilkit-patterns.md +0 -279
- package/pipeline/skills/shared/external/permissionkit/SKILL.md +0 -359
- package/pipeline/skills/shared/external/permissionkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/permissionkit/references/code-examples.md +0 -37
- package/pipeline/skills/shared/external/permissionkit/references/permissionkit-patterns.md +0 -374
- package/pipeline/skills/shared/external/photos-camera-media/SKILL.md +0 -451
- package/pipeline/skills/shared/external/photos-camera-media/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/photos-camera-media/references/av-playback.md +0 -470
- package/pipeline/skills/shared/external/photos-camera-media/references/camera-capture.md +0 -544
- package/pipeline/skills/shared/external/photos-camera-media/references/image-loading-caching.md +0 -539
- package/pipeline/skills/shared/external/photos-camera-media/references/photokit-patterns.md +0 -465
- package/pipeline/skills/shared/external/play-store-review/SKILL.md +0 -284
- package/pipeline/skills/shared/external/play-store-review/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/play-store-review/references/signing-and-policies.md +0 -83
- package/pipeline/skills/shared/external/push-notifications/SKILL.md +0 -359
- package/pipeline/skills/shared/external/push-notifications/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/push-notifications/references/notification-code.md +0 -176
- package/pipeline/skills/shared/external/push-notifications/references/notification-patterns.md +0 -523
- package/pipeline/skills/shared/external/push-notifications/references/rich-notifications.md +0 -541
- package/pipeline/skills/shared/external/python-patterns/SKILL.md +0 -235
- package/pipeline/skills/shared/external/python-patterns/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/python-patterns/references/python-examples.md +0 -176
- package/pipeline/skills/shared/external/react-best-practices/SKILL.md +0 -293
- package/pipeline/skills/shared/external/react-best-practices/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/realitykit-ar/SKILL.md +0 -327
- package/pipeline/skills/shared/external/realitykit-ar/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/realitykit-ar/references/realitykit-patterns.md +0 -365
- package/pipeline/skills/shared/external/release-video/SKILL.md +0 -147
- package/pipeline/skills/shared/external/release-video/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/rest-api-design/SKILL.md +0 -239
- package/pipeline/skills/shared/external/rest-api-design/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/rest-api-design/references/api-examples.md +0 -233
- package/pipeline/skills/shared/external/retrofit-networking/SKILL.md +0 -219
- package/pipeline/skills/shared/external/retrofit-networking/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/retrofit-networking/references/patterns.md +0 -654
- package/pipeline/skills/shared/external/reverse-engineer-own-app/SKILL.md +0 -230
- package/pipeline/skills/shared/external/reverse-engineer-own-app/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/room-database/SKILL.md +0 -227
- package/pipeline/skills/shared/external/room-database/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/room-database/references/patterns.md +0 -630
- package/pipeline/skills/shared/external/scenario-gap-analysis/SKILL.md +0 -129
- package/pipeline/skills/shared/external/scenario-gap-analysis/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/scenario-gap-analysis/references/scenario-schema.md +0 -60
- package/pipeline/skills/shared/external/search-first/SKILL.md +0 -73
- package/pipeline/skills/shared/external/search-first/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/security-review/SKILL.md +0 -76
- package/pipeline/skills/shared/external/security-review/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/security-review/references/agentic-systems.md +0 -93
- package/pipeline/skills/shared/external/security-review/references/firebase-rules.md +0 -100
- package/pipeline/skills/shared/external/security-review/references/graphql.md +0 -82
- package/pipeline/skills/shared/external/security-review/references/llm-prompt-injection.md +0 -93
- package/pipeline/skills/shared/external/security-review/references/oauth-oidc.md +0 -100
- package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md +0 -53
- package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md +0 -56
- package/pipeline/skills/shared/external/security-review/references/supabase.md +0 -73
- package/pipeline/skills/shared/external/shareplay-activities/SKILL.md +0 -329
- package/pipeline/skills/shared/external/shareplay-activities/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/shareplay-activities/references/shareplay-patterns.md +0 -453
- package/pipeline/skills/shared/external/short-video-craft/SKILL.md +0 -177
- package/pipeline/skills/shared/external/short-video-craft/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/short-video-craft/references/generated-defaults.md +0 -24
- package/pipeline/skills/shared/external/signal-community/SKILL.md +0 -78
- package/pipeline/skills/shared/external/signal-community/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/skill-creator/SKILL.md +0 -88
- package/pipeline/skills/shared/external/skill-creator/audit.md +0 -63
- package/pipeline/skills/shared/external/skill-creator/checklist.md +0 -40
- package/pipeline/skills/shared/external/skill-creator/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/skill-creator/examples.md +0 -65
- package/pipeline/skills/shared/external/skill-creator/label-check.md +0 -55
- package/pipeline/skills/shared/external/skill-creator/scripts/audit-panel.js +0 -110
- package/pipeline/skills/shared/external/skill-creator/template.md +0 -83
- package/pipeline/skills/shared/external/spec-persona-walk/SKILL.md +0 -118
- package/pipeline/skills/shared/external/spec-persona-walk/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/spec-persona-walk/scripts/persona-walk-anchors.mjs +0 -443
- package/pipeline/skills/shared/external/speech-recognition/SKILL.md +0 -296
- package/pipeline/skills/shared/external/speech-recognition/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/speech-recognition/references/speechanalyzer-patterns.md +0 -189
- package/pipeline/skills/shared/external/store-screenshots/SKILL.md +0 -441
- package/pipeline/skills/shared/external/store-screenshots/evals/evals.json +0 -115
- package/pipeline/skills/shared/external/store-screenshots/references/frames.md +0 -141
- package/pipeline/skills/shared/external/storekit/SKILL.md +0 -296
- package/pipeline/skills/shared/external/storekit/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/storekit/references/app-review-guidelines.md +0 -98
- package/pipeline/skills/shared/external/storekit/references/core-patterns.md +0 -445
- package/pipeline/skills/shared/external/storekit/references/storekit-advanced.md +0 -542
- package/pipeline/skills/shared/external/swift-api-design-guidelines/SKILL.md +0 -326
- package/pipeline/skills/shared/external/swift-api-design-guidelines/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/argument-labels-and-parameters.md +0 -171
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/conventions-and-special-rules.md +0 -156
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/naming-and-clarity.md +0 -156
- package/pipeline/skills/shared/external/swift-api-design-guidelines/references/side-effects-and-mutating-pairs.md +0 -123
- package/pipeline/skills/shared/external/swift-architecture/SKILL.md +0 -269
- package/pipeline/skills/shared/external/swift-architecture/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/swift-architecture/references/pattern-examples.md +0 -295
- package/pipeline/skills/shared/external/swift-charts/SKILL.md +0 -314
- package/pipeline/skills/shared/external/swift-charts/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swift-charts/references/charts-patterns.md +0 -589
- package/pipeline/skills/shared/external/swift-codable/SKILL.md +0 -360
- package/pipeline/skills/shared/external/swift-codable/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swift-codable/references/codable-recipes.md +0 -207
- package/pipeline/skills/shared/external/swift-compile-hotspots/SKILL.md +0 -93
- package/pipeline/skills/shared/external/swift-compile-hotspots/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/build-optimization-sources.md +0 -119
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/code-compilation-checks.md +0 -126
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/recommendation-format.md +0 -95
- package/pipeline/skills/shared/external/swift-compile-hotspots/scripts/diagnose_compilation.py +0 -266
- package/pipeline/skills/shared/external/swift-concurrency/SKILL.md +0 -296
- package/pipeline/skills/shared/external/swift-concurrency/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swift-concurrency/references/approachable-concurrency.md +0 -72
- package/pipeline/skills/shared/external/swift-concurrency/references/async-algorithms.md +0 -77
- package/pipeline/skills/shared/external/swift-concurrency/references/bridging-interop.md +0 -213
- package/pipeline/skills/shared/external/swift-concurrency/references/code-examples.md +0 -100
- package/pipeline/skills/shared/external/swift-concurrency/references/concurrency-patterns.md +0 -236
- package/pipeline/skills/shared/external/swift-concurrency/references/diagnostics.md +0 -64
- package/pipeline/skills/shared/external/swift-concurrency/references/swift-6-2-additions.md +0 -18
- package/pipeline/skills/shared/external/swift-concurrency/references/swiftui-concurrency.md +0 -170
- package/pipeline/skills/shared/external/swift-concurrency/references/synchronization-primitives.md +0 -293
- package/pipeline/skills/shared/external/swift-concurrency-fix/SKILL.md +0 -123
- package/pipeline/skills/shared/external/swift-concurrency-fix/evals/evals.json +0 -54
- package/pipeline/skills/shared/external/swift-concurrency-fix/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/approachable-concurrency.md +0 -67
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/swift-6-2-concurrency.md +0 -214
- package/pipeline/skills/shared/external/swift-concurrency-fix/references/swiftui-concurrency-tour-wwdc.md +0 -79
- package/pipeline/skills/shared/external/swift-concurrency-review/SKILL.md +0 -148
- package/pipeline/skills/shared/external/swift-concurrency-review/evals/evals.json +0 -57
- package/pipeline/skills/shared/external/swift-concurrency-review/references/actors.md +0 -170
- package/pipeline/skills/shared/external/swift-concurrency-review/references/async-streams.md +0 -66
- package/pipeline/skills/shared/external/swift-concurrency-review/references/bridging.md +0 -100
- package/pipeline/skills/shared/external/swift-concurrency-review/references/bug-patterns.md +0 -138
- package/pipeline/skills/shared/external/swift-concurrency-review/references/cancellation.md +0 -114
- package/pipeline/skills/shared/external/swift-concurrency-review/references/diagnostics.md +0 -93
- package/pipeline/skills/shared/external/swift-concurrency-review/references/hotspots.md +0 -63
- package/pipeline/skills/shared/external/swift-concurrency-review/references/interop.md +0 -146
- package/pipeline/skills/shared/external/swift-concurrency-review/references/new-features.md +0 -256
- package/pipeline/skills/shared/external/swift-concurrency-review/references/structured.md +0 -113
- package/pipeline/skills/shared/external/swift-concurrency-review/references/testing.md +0 -244
- package/pipeline/skills/shared/external/swift-concurrency-review/references/unstructured.md +0 -69
- package/pipeline/skills/shared/external/swift-formatstyle/SKILL.md +0 -296
- package/pipeline/skills/shared/external/swift-formatstyle/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swift-formatstyle/references/formatstyle-examples.md +0 -113
- package/pipeline/skills/shared/external/swift-language/SKILL.md +0 -406
- package/pipeline/skills/shared/external/swift-language/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swift-language/references/code-examples.md +0 -65
- package/pipeline/skills/shared/external/swift-language/references/swift-attributes-interop.md +0 -127
- package/pipeline/skills/shared/external/swift-language/references/swift-patterns-extended.md +0 -489
- package/pipeline/skills/shared/external/swift-security/SKILL.md +0 -217
- package/pipeline/skills/shared/external/swift-security/evals/evals.json +0 -48
- package/pipeline/skills/shared/external/swift-security/references/biometric-authentication.md +0 -456
- package/pipeline/skills/shared/external/swift-security/references/certificate-trust.md +0 -563
- package/pipeline/skills/shared/external/swift-security/references/common-anti-patterns.md +0 -457
- package/pipeline/skills/shared/external/swift-security/references/compliance-owasp-mapping.md +0 -382
- package/pipeline/skills/shared/external/swift-security/references/credential-storage-patterns.md +0 -773
- package/pipeline/skills/shared/external/swift-security/references/cryptokit-public-key.md +0 -485
- package/pipeline/skills/shared/external/swift-security/references/cryptokit-symmetric.md +0 -445
- package/pipeline/skills/shared/external/swift-security/references/keychain-access-control.md +0 -438
- package/pipeline/skills/shared/external/swift-security/references/keychain-fundamentals.md +0 -521
- package/pipeline/skills/shared/external/swift-security/references/keychain-item-classes.md +0 -531
- package/pipeline/skills/shared/external/swift-security/references/keychain-sharing.md +0 -417
- package/pipeline/skills/shared/external/swift-security/references/migration-legacy-stores.md +0 -530
- package/pipeline/skills/shared/external/swift-security/references/secure-enclave.md +0 -522
- package/pipeline/skills/shared/external/swift-security/references/testing-security-code.md +0 -569
- package/pipeline/skills/shared/external/swift-testing/SKILL.md +0 -280
- package/pipeline/skills/shared/external/swift-testing/evals/evals.json +0 -46
- package/pipeline/skills/shared/external/swift-testing/references/testing-advanced.md +0 -129
- package/pipeline/skills/shared/external/swift-testing/references/testing-patterns.md +0 -540
- package/pipeline/skills/shared/external/swift-testing-review/SKILL.md +0 -118
- package/pipeline/skills/shared/external/swift-testing-review/evals/evals.json +0 -59
- package/pipeline/skills/shared/external/swift-testing-review/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swift-testing-review/references/async-tests.md +0 -256
- package/pipeline/skills/shared/external/swift-testing-review/references/core-rules.md +0 -114
- package/pipeline/skills/shared/external/swift-testing-review/references/migrating-from-xctest.md +0 -51
- package/pipeline/skills/shared/external/swift-testing-review/references/new-features.md +0 -322
- package/pipeline/skills/shared/external/swift-testing-review/references/writing-better-tests.md +0 -293
- package/pipeline/skills/shared/external/swiftdata/SKILL.md +0 -379
- package/pipeline/skills/shared/external/swiftdata/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftdata/references/code-examples.md +0 -140
- package/pipeline/skills/shared/external/swiftdata/references/core-data-coexistence.md +0 -316
- package/pipeline/skills/shared/external/swiftdata/references/indexing.md +0 -82
- package/pipeline/skills/shared/external/swiftdata/references/predicate-pitfalls.md +0 -78
- package/pipeline/skills/shared/external/swiftdata/references/swiftdata-advanced.md +0 -603
- package/pipeline/skills/shared/external/swiftdata/references/swiftdata-queries.md +0 -479
- package/pipeline/skills/shared/external/swiftdata-review/SKILL.md +0 -119
- package/pipeline/skills/shared/external/swiftdata-review/evals/evals.json +0 -50
- package/pipeline/skills/shared/external/swiftdata-review/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/swiftdata-review/references/cloudkit.md +0 -37
- package/pipeline/skills/shared/external/swiftdata-review/references/indexing.md +0 -33
- package/pipeline/skills/shared/external/swiftdata-review/references/inheritance.md +0 -127
- package/pipeline/skills/shared/external/swiftdata-review/references/model-rules.md +0 -141
- package/pipeline/skills/shared/external/swiftdata-review/references/predicates.md +0 -67
- package/pipeline/skills/shared/external/swiftlint/SKILL.md +0 -288
- package/pipeline/skills/shared/external/swiftlint/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftlint/references/adoption-and-configuration.md +0 -241
- package/pipeline/skills/shared/external/swiftlint/references/custom-rules-and-analyze.md +0 -168
- package/pipeline/skills/shared/external/swiftlint/references/plugins-run-scripts-and-integrations.md +0 -300
- package/pipeline/skills/shared/external/swiftlint/references/rule-reference.md +0 -424
- package/pipeline/skills/shared/external/swiftlint/references/rules-suppressions-and-baselines.md +0 -232
- package/pipeline/skills/shared/external/swiftui-animation/SKILL.md +0 -401
- package/pipeline/skills/shared/external/swiftui-animation/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftui-animation/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/swiftui-animation/references/animation-advanced.md +0 -562
- package/pipeline/skills/shared/external/swiftui-animation/references/core-animation-bridge.md +0 -519
- package/pipeline/skills/shared/external/swiftui-animation/references/scroll-effects.md +0 -197
- package/pipeline/skills/shared/external/swiftui-feature-builder/SKILL.md +0 -105
- package/pipeline/skills/shared/external/swiftui-feature-builder/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/accessibility-patterns.md +0 -208
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-advanced.md +0 -140
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-basics.md +0 -229
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/animation-transitions.md +0 -216
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/charts-accessibility.md +0 -186
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/charts.md +0 -559
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/image-optimization.md +0 -189
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/latest-apis.md +0 -361
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/layout-best-practices.md +0 -238
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/liquid-glass.md +0 -33
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/list-patterns.md +0 -346
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-scenes.md +0 -258
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-views.md +0 -270
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/macos-window-styling.md +0 -216
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/performance-patterns.md +0 -364
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/scroll-patterns.md +0 -209
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/sheet-navigation-patterns.md +0 -307
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/state-management.md +0 -371
- package/pipeline/skills/shared/external/swiftui-feature-builder/references/view-structure.md +0 -342
- package/pipeline/skills/shared/external/swiftui-flow-recipes/SKILL.md +0 -110
- package/pipeline/skills/shared/external/swiftui-flow-recipes/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/app-wiring.md +0 -218
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/async-state.md +0 -111
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/components-index.md +0 -63
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/controls.md +0 -58
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/deeplinks.md +0 -77
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/focus.md +0 -118
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/form.md +0 -114
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/grids.md +0 -69
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/haptics.md +0 -9
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/input-toolbar.md +0 -64
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/lightweight-clients.md +0 -119
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/list.md +0 -85
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/loading-placeholders.md +0 -49
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/macos-settings.md +0 -71
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/matched-transitions.md +0 -76
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/media.md +0 -81
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/menu-bar.md +0 -115
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/navigationstack.md +0 -185
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/overlay.md +0 -48
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/performance.md +0 -64
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/previews.md +0 -48
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/scroll-reveal.md +0 -138
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/scrollview.md +0 -94
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/searchable.md +0 -86
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/sheets.md +0 -198
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/split-views.md +0 -75
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/tabview.md +0 -124
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/theming.md +0 -76
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/title-menus.md +0 -83
- package/pipeline/skills/shared/external/swiftui-flow-recipes/references/top-bar.md +0 -65
- package/pipeline/skills/shared/external/swiftui-gestures/SKILL.md +0 -364
- package/pipeline/skills/shared/external/swiftui-gestures/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-gestures/references/gesture-patterns.md +0 -364
- package/pipeline/skills/shared/external/swiftui-glass-effects/SKILL.md +0 -247
- package/pipeline/skills/shared/external/swiftui-glass-effects/evals/evals.json +0 -47
- package/pipeline/skills/shared/external/swiftui-glass-effects/evals/trigger-eval.json +0 -22
- package/pipeline/skills/shared/external/swiftui-glass-effects/references/liquid-glass.md +0 -468
- package/pipeline/skills/shared/external/swiftui-glass-effects/references/uikit-glass.md +0 -241
- package/pipeline/skills/shared/external/swiftui-layout-components/SKILL.md +0 -353
- package/pipeline/skills/shared/external/swiftui-layout-components/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-layout-components/references/form.md +0 -123
- package/pipeline/skills/shared/external/swiftui-layout-components/references/grids.md +0 -179
- package/pipeline/skills/shared/external/swiftui-layout-components/references/list.md +0 -87
- package/pipeline/skills/shared/external/swiftui-layout-components/references/scrollview.md +0 -161
- package/pipeline/skills/shared/external/swiftui-navigation/SKILL.md +0 -297
- package/pipeline/skills/shared/external/swiftui-navigation/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-navigation/references/deeplinks.md +0 -206
- package/pipeline/skills/shared/external/swiftui-navigation/references/navigationstack.md +0 -187
- package/pipeline/skills/shared/external/swiftui-navigation/references/sheets.md +0 -217
- package/pipeline/skills/shared/external/swiftui-navigation/references/tabview.md +0 -161
- package/pipeline/skills/shared/external/swiftui-patterns/SKILL.md +0 -460
- package/pipeline/skills/shared/external/swiftui-patterns/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/swiftui-patterns/references/architecture-patterns.md +0 -581
- package/pipeline/skills/shared/external/swiftui-patterns/references/deprecated-migration.md +0 -965
- package/pipeline/skills/shared/external/swiftui-patterns/references/platform-and-sharing.md +0 -634
- package/pipeline/skills/shared/external/swiftui-performance/SKILL.md +0 -314
- package/pipeline/skills/shared/external/swiftui-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-performance/references/demystify-swiftui-performance-wwdc23.md +0 -142
- package/pipeline/skills/shared/external/swiftui-performance/references/optimizing-swiftui-performance-instruments.md +0 -139
- package/pipeline/skills/shared/external/swiftui-performance/references/understanding-hangs-in-your-app.md +0 -156
- package/pipeline/skills/shared/external/swiftui-performance/references/understanding-improving-swiftui-performance.md +0 -99
- package/pipeline/skills/shared/external/swiftui-performance/references/wwdc-session-sources.md +0 -21
- package/pipeline/skills/shared/external/swiftui-performance-triage/SKILL.md +0 -107
- package/pipeline/skills/shared/external/swiftui-performance-triage/evals/evals.json +0 -55
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/audit-layout.md +0 -50
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/capture-checklist.md +0 -51
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/hangs.md +0 -34
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/instruments-guide.md +0 -68
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/smell-catalog.md +0 -191
- package/pipeline/skills/shared/external/swiftui-performance-triage/references/update-model.md +0 -69
- package/pipeline/skills/shared/external/swiftui-review/SKILL.md +0 -111
- package/pipeline/skills/shared/external/swiftui-review/evals/evals.json +0 -45
- package/pipeline/skills/shared/external/swiftui-review/references/accessibility.md +0 -40
- package/pipeline/skills/shared/external/swiftui-review/references/api.md +0 -84
- package/pipeline/skills/shared/external/swiftui-review/references/data.md +0 -63
- package/pipeline/skills/shared/external/swiftui-review/references/design.md +0 -45
- package/pipeline/skills/shared/external/swiftui-review/references/hygiene.md +0 -18
- package/pipeline/skills/shared/external/swiftui-review/references/navigation.md +0 -24
- package/pipeline/skills/shared/external/swiftui-review/references/performance.md +0 -62
- package/pipeline/skills/shared/external/swiftui-review/references/swift.md +0 -84
- package/pipeline/skills/shared/external/swiftui-review/references/views.md +0 -60
- package/pipeline/skills/shared/external/swiftui-uikit-interop/SKILL.md +0 -311
- package/pipeline/skills/shared/external/swiftui-uikit-interop/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/hosting-migration.md +0 -361
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/interop-code.md +0 -198
- package/pipeline/skills/shared/external/swiftui-uikit-interop/references/representable-recipes.md +0 -747
- package/pipeline/skills/shared/external/swiftui-view-splitting/SKILL.md +0 -242
- package/pipeline/skills/shared/external/swiftui-view-splitting/evals/evals.json +0 -56
- package/pipeline/skills/shared/external/swiftui-view-splitting/references/mv-patterns.md +0 -188
- package/pipeline/skills/shared/external/swiftui-webkit/SKILL.md +0 -229
- package/pipeline/skills/shared/external/swiftui-webkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/swiftui-webkit/references/loading-and-observation.md +0 -148
- package/pipeline/skills/shared/external/swiftui-webkit/references/local-content-and-custom-schemes.md +0 -98
- package/pipeline/skills/shared/external/swiftui-webkit/references/migration-and-fallbacks.md +0 -97
- package/pipeline/skills/shared/external/swiftui-webkit/references/navigation-and-javascript.md +0 -147
- package/pipeline/skills/shared/external/tailwind-styling/SKILL.md +0 -240
- package/pipeline/skills/shared/external/tailwind-styling/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/tailwind-styling/evals/trigger-eval.json +0 -11
- package/pipeline/skills/shared/external/tailwind-styling/references/code-examples.md +0 -91
- package/pipeline/skills/shared/external/test-result-triage/SKILL.md +0 -160
- package/pipeline/skills/shared/external/test-result-triage/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/testing-backend/SKILL.md +0 -196
- package/pipeline/skills/shared/external/testing-backend/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/testing-backend/references/testing-examples.md +0 -266
- package/pipeline/skills/shared/external/thesis-writing/SKILL.md +0 -140
- package/pipeline/skills/shared/external/thesis-writing/evals/evals.json +0 -40
- package/pipeline/skills/shared/external/thesis-writing/references/review-checklist.md +0 -33
- package/pipeline/skills/shared/external/thesis-writing/references/turkish-thesis-conventions.md +0 -65
- package/pipeline/skills/shared/external/tipkit/SKILL.md +0 -381
- package/pipeline/skills/shared/external/tipkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/tipkit/references/tipkit-patterns.md +0 -658
- package/pipeline/skills/shared/external/typescript-patterns/SKILL.md +0 -258
- package/pipeline/skills/shared/external/typescript-patterns/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/typescript-patterns/references/code-examples.md +0 -100
- package/pipeline/skills/shared/external/valven-rules/SKILL.md +0 -93
- package/pipeline/skills/shared/external/valven-rules/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/valven-rules/references/rules.yml +0 -186
- package/pipeline/skills/shared/external/vision-framework/SKILL.md +0 -346
- package/pipeline/skills/shared/external/vision-framework/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/vision-framework/references/code-examples.md +0 -26
- package/pipeline/skills/shared/external/vision-framework/references/vision-requests.md +0 -631
- package/pipeline/skills/shared/external/vision-framework/references/visionkit-scanner.md +0 -573
- package/pipeline/skills/shared/external/vue-composition/SKILL.md +0 -212
- package/pipeline/skills/shared/external/vue-composition/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/vue-composition/references/vue-examples.md +0 -187
- package/pipeline/skills/shared/external/weatherkit/SKILL.md +0 -256
- package/pipeline/skills/shared/external/weatherkit/evals/evals.json +0 -42
- package/pipeline/skills/shared/external/weatherkit/references/weatherkit-patterns.md +0 -459
- package/pipeline/skills/shared/external/web-accessibility/SKILL.md +0 -209
- package/pipeline/skills/shared/external/web-accessibility/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/web-accessibility/references/a11y-examples.md +0 -178
- package/pipeline/skills/shared/external/web-performance/SKILL.md +0 -290
- package/pipeline/skills/shared/external/web-performance/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/web-performance/references/code-examples.md +0 -77
- package/pipeline/skills/shared/external/web-testing/SKILL.md +0 -270
- package/pipeline/skills/shared/external/web-testing/evals/evals.json +0 -43
- package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +0 -213
- package/pipeline/skills/shared/external/widgetkit/SKILL.md +0 -365
- package/pipeline/skills/shared/external/widgetkit/evals/evals.json +0 -44
- package/pipeline/skills/shared/external/widgetkit/references/widgetkit-advanced.md +0 -801
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# Firebase - static review of rules, auth, functions and billing exposure
|
|
2
|
-
|
|
3
|
-
## Contents
|
|
4
|
-
|
|
5
|
-
<!-- toc -->
|
|
6
|
-
- [Contents](#contents)
|
|
7
|
-
- [Scope and mapping](#scope-and-mapping)
|
|
8
|
-
- [Default-open or time-boxed rules](#default-open-or-time-boxed-rules)
|
|
9
|
-
- [Authenticated is not authorized](#authenticated-is-not-authorized)
|
|
10
|
-
- [Missing field-level validation on writes](#missing-field-level-validation-on-writes)
|
|
11
|
-
- [Client-side checks standing in for rules](#client-side-checks-standing-in-for-rules)
|
|
12
|
-
- [App Check absent or not enforced](#app-check-absent-or-not-enforced)
|
|
13
|
-
- [Auth configuration](#auth-configuration)
|
|
14
|
-
- [Cloud Functions without caller verification](#cloud-functions-without-caller-verification)
|
|
15
|
-
- [Service account and admin credential exposure](#service-account-and-admin-credential-exposure)
|
|
16
|
-
- [Billing abuse and cost amplification](#billing-abuse-and-cost-amplification)
|
|
17
|
-
- [Diff-mode triggers](#diff-mode-triggers)
|
|
18
|
-
<!-- /toc -->
|
|
19
|
-
|
|
20
|
-
## Scope and mapping
|
|
21
|
-
|
|
22
|
-
Covers `firestore.rules`, `database.rules.json`, `storage.rules`, `firebase.json`, the Auth settings visible in code or IaC, Cloud Functions source (`functions/`), and every client that talks to the project (iOS `GoogleService-Info.plist`, Android `google-services.json`, web `firebaseConfig`). The Firebase web API key and project id are identifiers, not secrets: a finding that only says "API key in the client" is not a finding. The security boundary is the rules file and the function code, so that is where evidence must point.
|
|
23
|
-
|
|
24
|
-
Schema mapping: the rules engine is server-side access control, so rule defects go in `owaspCategory` as `A01:2021` (or `M3:2024` when the finding is filed against the mobile client that relies on the missing rule). Pick one per finding; prefer the file that holds the defect.
|
|
25
|
-
|
|
26
|
-
## Default-open or time-boxed rules
|
|
27
|
-
|
|
28
|
-
- **Look for:** `allow read, write: if true;`, `allow read, write;` with no condition, the generated test-mode rule `if request.time < timestamp.date(...)`, a recursive wildcard `match /{document=**}` granting access at the root, RTDB `".read": true` / `".write": true` at `"rules"` level, Storage `allow read, write: if request.auth != null` on the whole bucket.
|
|
29
|
-
- **Why:** anyone holding the public project config can read or overwrite the database from a script. Test-mode rules expire into lockout, and the usual reaction is to extend the date.
|
|
30
|
-
- **Map:** CWE-284 (or CWE-862 when no condition exists at all); `A01:2021`, `A05:2021` if the open rule is the deployed default; mobile client `M8:2024`.
|
|
31
|
-
- **Rule out:** cite the rules file line where the root match is `allow read, write: if false;` and every collection has its own `match` with a condition. Confirm `firebase.json` points at that rules file (a rules file nobody deploys proves nothing).
|
|
32
|
-
- **Fix check:** a rules unit test (`@firebase/rules-unit-testing` against the emulator) that an unauthenticated context `assertFails` on read and write of a protected path, and fails today.
|
|
33
|
-
|
|
34
|
-
## Authenticated is not authorized
|
|
35
|
-
|
|
36
|
-
- **Look for:** conditions that stop at `request.auth != null` on per-user data; `match /users/{userId}` without `request.auth.uid == userId`; ownership read from `request.resource.data.ownerId` on create without also checking it equals `request.auth.uid`; RTDB `"$uid": {".read": "auth != null"}` instead of `"auth.uid === $uid"`.
|
|
37
|
-
- **Why:** sign-up is open by default, so "authenticated" means "anyone who created an account", including an anonymous one. Every user can then read or edit every other user's documents (IDOR at the database layer).
|
|
38
|
-
- **Map:** CWE-639; `A01:2021`; mobile `M3:2024`.
|
|
39
|
-
- **Rule out:** cite the rule line binding the path variable or `resource.data.ownerId` to `request.auth.uid` for read, update and delete, and binding `request.resource.data.ownerId` to `request.auth.uid` on create.
|
|
40
|
-
- **Fix check:** an emulator test where user A's context `assertFails` reading and updating user B's document.
|
|
41
|
-
|
|
42
|
-
## Missing field-level validation on writes
|
|
43
|
-
|
|
44
|
-
- **Look for:** `allow write` (covers create, update, delete together) with only an owner check; no `request.resource.data.keys().hasOnly([...])`; no type or size checks; privileged fields (`role`, `isAdmin`, `credits`, `plan`, `verified`) writable by the owner; `update` that does not use `request.resource.data.diff(resource.data).affectedKeys().hasOnly([...])`.
|
|
45
|
-
- **Why:** the owner can grant themselves admin, unlimited credits or a paid plan by writing one field, and can store arbitrarily large documents.
|
|
46
|
-
- **Map:** CWE-915 (mass assignment) or CWE-20; `A01:2021` for privilege fields, `A04:2021` for missing size limits.
|
|
47
|
-
- **Rule out:** cite the `hasOnly` key allowlist and the `affectedKeys()` constraint for update, plus the rule that privileged fields are only writable from the Admin SDK (no client rule grants them).
|
|
48
|
-
- **Fix check:** emulator test that the owner `assertFails` setting `role: "admin"` and that a 2 MB string field is rejected.
|
|
49
|
-
|
|
50
|
-
## Client-side checks standing in for rules
|
|
51
|
-
|
|
52
|
-
- **Look for:** UI or ViewModel code that hides an admin screen or filters a query by `uid` while the rule on that collection allows broader reads; `where("ownerId", "==", uid)` treated as the access control; feature flags in Remote Config deciding entitlement.
|
|
53
|
-
- **Why:** a query filter is a request, not a restriction. The attacker drops the filter. Rules are not filters either: a rule must make the unfiltered query fail.
|
|
54
|
-
- **Map:** CWE-602 (client-side enforcement of server-side security); `M3:2024` on the client file, or `A04:2021` when filed on the design.
|
|
55
|
-
- **Rule out:** cite the rule that rejects the unfiltered query (for example `allow list: if request.query.limit <= 50 && resource.data.ownerId == request.auth.uid`).
|
|
56
|
-
- **Fix check:** emulator test that the same collection query without the `where` clause `assertFails`.
|
|
57
|
-
|
|
58
|
-
## App Check absent or not enforced
|
|
59
|
-
|
|
60
|
-
- **Look for:** no App Check provider initialised in clients (`AppCheck.setAppCheckProviderFactory`, `FirebaseAppCheck.getInstance().installAppCheckProviderFactory`, `initializeAppCheck`); debug provider shipped in release builds; callable functions without `enforceAppCheck: true` (v2) or a `context.app` check (v1); no enforcement note in IaC.
|
|
61
|
-
- **Why:** App Check raises the cost of scripted abuse of rules-permitted operations and functions. It is not authorization; never accept it as the control for an authorization finding.
|
|
62
|
-
- **Map:** CWE-799 (improper control of interaction frequency) or CWE-290; `A04:2021`; mobile `M7:2024` when the debug provider ships.
|
|
63
|
-
- **Rule out:** cite the provider init in release config and `enforceAppCheck: true` on each callable in scope. Console enforcement is not visible in code: if that is the only control, the row is `needs_follow_up`, not `ruled_out`.
|
|
64
|
-
- **Fix check:** a release build check (or config test) asserting the debug provider factory is compiled out; a function test that a call without an App Check token is rejected.
|
|
65
|
-
|
|
66
|
-
## Auth configuration
|
|
67
|
-
|
|
68
|
-
- **Look for:** anonymous auth enabled while rules treat any `request.auth` as trusted; email enumeration via distinct error handling in client code; email/password sign-up enabled for an app that is meant to be invite-only; custom claims set from client-provided input in a function; `signInWithCustomToken` minted by a function that does not verify the caller; ID token verified without `checkRevoked` where revocation matters.
|
|
69
|
-
- **Why:** rules and functions inherit whatever identity Auth hands them. A permissive identity source makes every `request.auth != null` check weaker than it reads.
|
|
70
|
-
- **Map:** CWE-287 or CWE-269 (custom claims escalation); `A07:2021`; mobile `M3:2024`.
|
|
71
|
-
- **Rule out:** cite the function that sets custom claims and the server-side check that the caller is already an admin; cite rules that check `request.auth.token.firebase.sign_in_provider != 'anonymous'` where anonymous users must be excluded.
|
|
72
|
-
- **Fix check:** a function test where a non-admin caller asks for an admin claim and gets `permission-denied`.
|
|
73
|
-
|
|
74
|
-
## Cloud Functions without caller verification
|
|
75
|
-
|
|
76
|
-
- **Look for:** `onCall` handlers that never read `request.auth` (v2) / `context.auth` (v1); `onRequest` HTTP functions that do no `verifyIdToken` on the `Authorization` header; functions using the Admin SDK (which bypasses rules) on a document id taken from the request without an ownership check; `cors: true` or `cors({origin: true})` on a cookie- or token-bearing endpoint.
|
|
77
|
-
- **Why:** the Admin SDK ignores security rules, so a function is a rules bypass by construction. Any missing check in it is a full read or write primitive.
|
|
78
|
-
- **Map:** CWE-306 (missing auth) or CWE-639 (missing ownership); `A01:2021`.
|
|
79
|
-
- **Rule out:** cite the early `if (!request.auth) throw new HttpsError('unauthenticated', ...)` and the ownership comparison before the Admin SDK call, per function in scope.
|
|
80
|
-
- **Fix check:** function unit test (firebase-functions-test or emulator) invoking without auth and as a different user, both rejected.
|
|
81
|
-
|
|
82
|
-
## Service account and admin credential exposure
|
|
83
|
-
|
|
84
|
-
- **Look for:** a service account JSON (`"type": "service_account"`, `private_key`) in the repo, in a mobile bundle, in a web bundle, or in CI logs; `admin.initializeApp({ credential: admin.credential.cert(require('./key.json')) })` inside a client-shipped package; RTDB legacy database secrets; FCM server keys in clients.
|
|
85
|
-
- **Why:** a service account bypasses every rule and usually has project-wide IAM. This is total compromise.
|
|
86
|
-
- **Map:** CWE-798; `A07:2021` (or `A02:2021`); mobile `M1:2024`.
|
|
87
|
-
- **Rule out:** cite `.gitignore` covering the key path and the function runtime using default credentials (`admin.initializeApp()` with no argument). Use the pipeline secret gate for detection; do not hand-roll patterns.
|
|
88
|
-
- **Fix check:** the secret gate run over the tree returns clean; the key is rotated (record as a process step, not a code check).
|
|
89
|
-
|
|
90
|
-
## Billing abuse and cost amplification
|
|
91
|
-
|
|
92
|
-
- **Look for:** unbounded `list` rules (no `request.query.limit` ceiling); public Storage write with no size or content-type limit (`request.resource.size < N`, `request.resource.contentType.matches('image/.*')`); triggers (`onDocumentWritten`) that write back to the same collection (recursive fan-out); callable functions that call paid APIs (LLM, SMS, maps) with no per-user rate limit; phone auth with no abuse protection.
|
|
93
|
-
- **Why:** pay-as-you-go billing turns an access-control gap into a financial denial of service even where no data leaks.
|
|
94
|
-
- **Map:** CWE-770 (allocation without limits) or CWE-400; `A04:2021`.
|
|
95
|
-
- **Rule out:** cite the size and content-type conditions in `storage.rules`, the limit clause in list rules, the re-entrancy guard in the trigger, and the per-uid counter or rate limiter before the paid call.
|
|
96
|
-
- **Fix check:** emulator test that an oversized upload and an unbounded list both `assertFails`; trigger test showing one write produces one invocation.
|
|
97
|
-
|
|
98
|
-
## Diff-mode triggers
|
|
99
|
-
|
|
100
|
-
A diff that edits any `*.rules` file, `database.rules.json`, `firebase.json` rule paths, or a function that uses the Admin SDK puts every collection that rule or function touches in scope. A removed condition, a widened `match`, or a function moved from `onCall` to `onRequest` is a removed control even if the surrounding code is unchanged.
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# GraphQL - static review of schema exposure, cost and authorization
|
|
2
|
-
|
|
3
|
-
## Contents
|
|
4
|
-
|
|
5
|
-
<!-- toc -->
|
|
6
|
-
- [Contents](#contents)
|
|
7
|
-
- [Scope and mapping](#scope-and-mapping)
|
|
8
|
-
- [Introspection and tooling enabled in production](#introspection-and-tooling-enabled-in-production)
|
|
9
|
-
- [No depth, complexity or size limits](#no-depth-complexity-or-size-limits)
|
|
10
|
-
- [Missing per-field and per-object authorization](#missing-per-field-and-per-object-authorization)
|
|
11
|
-
- [Batching and alias abuse](#batching-and-alias-abuse)
|
|
12
|
-
- [IDOR through global node ids](#idor-through-global-node-ids)
|
|
13
|
-
- [Error and stack trace leakage](#error-and-stack-trace-leakage)
|
|
14
|
-
- [Persisted queries and CSRF](#persisted-queries-and-csrf)
|
|
15
|
-
- [Diff-mode triggers](#diff-mode-triggers)
|
|
16
|
-
<!-- /toc -->
|
|
17
|
-
|
|
18
|
-
## Scope and mapping
|
|
19
|
-
|
|
20
|
-
Covers the server (schema definition, resolvers, server construction and plugins in Apollo Server, GraphQL Yoga, graphql-java / DGS, Strawberry, Graphene, gqlgen, Hot Chocolate, Hasura or PostGraphile metadata) and the clients that send operations. A GraphQL API is one endpoint, so route-level auth middleware rarely proves anything about individual fields: the evidence for authorization lives in resolvers, directives or a permission layer.
|
|
21
|
-
|
|
22
|
-
Schema mapping: authorization defects use `A01:2021`; cost and depth abuse use `A04:2021`; introspection and verbose errors use `A05:2021`. Mobile clients rarely hold the defect; when they do (persisted query hashes, embedded admin operations), use `M8:2024`.
|
|
23
|
-
|
|
24
|
-
## Introspection and tooling enabled in production
|
|
25
|
-
|
|
26
|
-
- **Look for:** `introspection: true` unconditionally, or no setting on a server whose default is on; GraphiQL / Playground / Apollo Sandbox landing page served in production; field suggestions ("Did you mean ...") left enabled when introspection is off.
|
|
27
|
-
- **Why:** the full schema maps every admin mutation and internal field. It is not a vulnerability on its own, but it removes discovery cost for every other one. Field suggestions leak the schema even with introspection off.
|
|
28
|
-
- **Map:** CWE-200; `A05:2021`. Severity usually `suggestion` unless the schema exposes something the threat model treats as secret.
|
|
29
|
-
- **Rule out:** cite the config gating introspection and the IDE on `NODE_ENV !== 'production'` (or the equivalent), plus the suggestion-masking plugin or setting. A public API that intends its schema to be public is `not_applicable`.
|
|
30
|
-
- **Fix check:** a test that an introspection query against the production configuration returns an error.
|
|
31
|
-
|
|
32
|
-
## No depth, complexity or size limits
|
|
33
|
-
|
|
34
|
-
- **Look for:** no depth limit (graphql-depth-limit, `maxDepth`, `MaxQueryDepthInstrumentation`); no cost or complexity analysis; no limit on list arguments (`first: 100000`); recursive types (`user { friends { friends { ... } } }`) without a ceiling; no request body size limit; no timeout on resolver execution.
|
|
35
|
-
- **Why:** one request can trigger exponential resolver work or huge database reads. This is denial of service with a single HTTP call that rate limiters count as one.
|
|
36
|
-
- **Map:** CWE-400 or CWE-770; `A04:2021`.
|
|
37
|
-
- **Rule out:** cite the validation rule or plugin enforcing depth and cost in the server construction, and the maximum enforced on pagination arguments in the schema or resolver.
|
|
38
|
-
- **Fix check:** a test sending a query nested beyond the limit and one requesting `first: 100000`, both rejected before resolver execution.
|
|
39
|
-
|
|
40
|
-
## Missing per-field and per-object authorization
|
|
41
|
-
|
|
42
|
-
- **Look for:** authorization only at the HTTP layer or only on the root query; nested resolvers returning sensitive fields (`email`, `ssn`, `role`, `internalNotes`) without their own check; mutations taking an `id` and updating without an ownership check; type-level directives (`@auth`, `@hasRole`) applied to the type but not to fields reachable through another parent; Hasura permissions with `{}` row filter for the `user` role.
|
|
43
|
-
- **Why:** GraphQL lets a caller reach the same object through many paths. A check on `Query.me` does nothing for `Query.post.author.email`.
|
|
44
|
-
- **Map:** CWE-862 or CWE-639; `A01:2021`.
|
|
45
|
-
- **Rule out:** cite the authorization in the data or service layer the resolvers call (so every path passes through it), or the directive or permission rule on the specific field and object type, per sensitive field in scope.
|
|
46
|
-
- **Fix check:** a test querying the sensitive field through a second parent path as an unprivileged user, asserting null plus an authorization error.
|
|
47
|
-
|
|
48
|
-
## Batching and alias abuse
|
|
49
|
-
|
|
50
|
-
- **Look for:** array batching enabled (`allowBatchedHttpRequests: true`) with no batch size limit; no limit on aliases per operation; login, OTP verify or coupon mutations that a rate limiter counts per HTTP request rather than per operation or alias.
|
|
51
|
-
- **Why:** `a1: login(...) a2: login(...) ... a1000: login(...)` in one request defeats per-request rate limits and brute-forces credentials or codes.
|
|
52
|
-
- **Map:** CWE-307 (brute force) or CWE-799; `A07:2021` for auth mutations, `A04:2021` otherwise.
|
|
53
|
-
- **Rule out:** cite the alias or operation-count limit and a rate limit keyed on the sensitive mutation itself (per account or per target), not on the HTTP request.
|
|
54
|
-
- **Fix check:** a test sending one request with 50 aliased login attempts, asserting rejection or a rate-limit error after the threshold.
|
|
55
|
-
|
|
56
|
-
## IDOR through global node ids
|
|
57
|
-
|
|
58
|
-
- **Look for:** Relay `node(id:)` / `nodes(ids:)` resolvers that decode the base64 id and load the object by type and key with no ownership or visibility check; `id` arguments on mutations treated as authorization; ids that are guessable sequential integers under the base64.
|
|
59
|
-
- **Why:** base64 is encoding, not access control. The `node` field is a universal fetch-by-id for every type in the schema.
|
|
60
|
-
- **Map:** CWE-639; `A01:2021`.
|
|
61
|
-
- **Rule out:** cite the `node` resolver delegating to each type's loader that applies the same authorization as the type's own query field.
|
|
62
|
-
- **Fix check:** a test fetching another user's object through `node(id:)` with a crafted id, asserting null and an authorization error.
|
|
63
|
-
|
|
64
|
-
## Error and stack trace leakage
|
|
65
|
-
|
|
66
|
-
- **Look for:** `debug: true`, `includeStacktraceInErrorResponses: true`, `formatError` returning `originalError` or database messages; `extensions.exception.stacktrace` in responses; resolvers throwing raw ORM errors; distinct errors that reveal whether a user or object exists.
|
|
67
|
-
- **Why:** SQL fragments, file paths, internal hostnames and enumeration oracles help every other attack.
|
|
68
|
-
- **Map:** CWE-209; `A05:2021`.
|
|
69
|
-
- **Rule out:** cite the error masking in production (a `formatError` that maps unknown errors to a generic message with a correlation id, or the server's masked-errors option).
|
|
70
|
-
- **Fix check:** a test forcing a resolver exception in production config and asserting the response has no stack trace or database text.
|
|
71
|
-
|
|
72
|
-
## Persisted queries and CSRF
|
|
73
|
-
|
|
74
|
-
- **Look for:** server accepting arbitrary operations where the design assumed an allowlist of persisted queries; automatic persisted queries treated as a security control; cookie-authenticated GraphQL accepting `GET` or `application/x-www-form-urlencoded` / `text/plain` POSTs (simple requests, no preflight).
|
|
75
|
-
- **Why:** an allowlist that is not enforced is no allowlist. Cookie auth plus simple-request content types allows cross-site mutations.
|
|
76
|
-
- **Map:** CWE-352 for CSRF; `A01:2021`. Unenforced allowlist: CWE-284, `A04:2021`.
|
|
77
|
-
- **Rule out:** cite the setting that rejects non-persisted operations, and the CSRF prevention (required custom header or `Content-Type: application/json` enforcement, or SameSite cookies plus a token).
|
|
78
|
-
- **Fix check:** a test posting a mutation as `text/plain` with the session cookie, asserting rejection.
|
|
79
|
-
|
|
80
|
-
## Diff-mode triggers
|
|
81
|
-
|
|
82
|
-
A new field on a type with sensitive siblings, a new parent path to an existing type, a resolver moved out of the data layer, or a change to server plugins (depth, cost, masking, CSRF) puts every reachable field in scope. Removing a directive or a validation rule is a removed control.
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# LLM features - static review for prompt injection and unsafe model output
|
|
2
|
-
|
|
3
|
-
## Contents
|
|
4
|
-
|
|
5
|
-
<!-- toc -->
|
|
6
|
-
- [Contents](#contents)
|
|
7
|
-
- [Scope and mapping](#scope-and-mapping)
|
|
8
|
-
- [Untrusted content reaching a model that holds tools](#untrusted-content-reaching-a-model-that-holds-tools)
|
|
9
|
-
- [Indirect injection through fetched pages, files and tickets](#indirect-injection-through-fetched-pages-files-and-tickets)
|
|
10
|
-
- [Model output used as code, SQL, shell or markup](#model-output-used-as-code-sql-shell-or-markup)
|
|
11
|
-
- [Secrets and sensitive data in prompts](#secrets-and-sensitive-data-in-prompts)
|
|
12
|
-
- [Tool definitions without an allowlist or argument validation](#tool-definitions-without-an-allowlist-or-argument-validation)
|
|
13
|
-
- [Side effects without human confirmation](#side-effects-without-human-confirmation)
|
|
14
|
-
- [Exfiltration through rendered links and images](#exfiltration-through-rendered-links-and-images)
|
|
15
|
-
- [Unbounded consumption](#unbounded-consumption)
|
|
16
|
-
- [Diff-mode triggers](#diff-mode-triggers)
|
|
17
|
-
<!-- /toc -->
|
|
18
|
-
|
|
19
|
-
## Scope and mapping
|
|
20
|
-
|
|
21
|
-
Covers application code that calls a model (Anthropic, OpenAI, Gemini, local runtimes, or a framework such as LangChain, LlamaIndex, Vercel AI SDK, Semantic Kernel) and acts on the result: prompt assembly, retrieval, tool definitions and handlers, and every place model output reaches a sink. The core rule: any text a model reads from outside the trust boundary can steer it, and nothing in the prompt reliably stops that. Controls must sit in code outside the model: what tools exist, what arguments they accept, what output is allowed to do, and who approves side effects.
|
|
22
|
-
|
|
23
|
-
Trace like taint analysis. Source: user input, fetched pages, uploaded files, emails, tickets, PR comments, search results, retrieved chunks, tool results. Sink: a tool call with side effects, rendered HTML or markdown, `eval`, SQL, shell, file paths, outbound requests.
|
|
24
|
-
|
|
25
|
-
Schema mapping: the OWASP LLM Top 10 (2025) id goes in prose (`assumptions` or `issue`), since `owaspCategory` only accepts web and mobile ids. Use `A03:2021` when model output reaches an injection sink, `A01:2021` when the model can act beyond the caller's permissions, `A04:2021` for missing design controls (confirmation, allowlists), `A02:2021` or `M1:2024` for secrets in prompts.
|
|
26
|
-
|
|
27
|
-
## Untrusted content reaching a model that holds tools
|
|
28
|
-
|
|
29
|
-
- **Look for:** one prompt or message list that combines external content (fetched URL body, file contents, ticket text, email, retrieved chunks) with a tool list containing side-effect tools (send email, write file, run command, create PR, transfer, delete); system prompt instructions such as "ignore instructions in documents" offered as the control.
|
|
30
|
-
- **Why:** the model cannot reliably tell data from instructions. Whoever authors the external content can drive the tools with the user's authority.
|
|
31
|
-
- **Map:** CWE-77 (command injection via instructions) or CWE-1427 (improper neutralization of input used for LLM prompting); LLM01:2025 Prompt Injection; `owaspCategory` `A04:2021` (or `A01:2021` when the tool exceeds the caller's own permissions).
|
|
32
|
-
- **Rule out:** cite one of: the tool list for that call contains only read-only tools; the external content is processed by a separate call with no tools whose output is constrained to a schema (classification, extraction) before the tool-holding step; or every side-effect tool requires confirmation (see below). A prompt instruction alone never rules this out.
|
|
33
|
-
- **Fix check:** a test that feeds a document containing an instruction to call a side-effect tool and asserts the tool handler was not invoked (mock the model to emit the call, then assert the guard blocks it).
|
|
34
|
-
|
|
35
|
-
## Indirect injection through fetched pages, files and tickets
|
|
36
|
-
|
|
37
|
-
- **Look for:** browse or fetch tools whose results go straight back into the conversation; RAG over a corpus anyone can write to (public wiki, support inbox, user uploads, issue trackers); summarisation of untrusted repos or PR bodies by an agent that can also comment or push; hidden text vectors left unstripped (HTML comments, zero-width characters, white-on-white text, image alt text, PDF metadata).
|
|
38
|
-
- **Why:** the attacker never talks to the model; they plant text where the model will read it later.
|
|
39
|
-
- **Map:** CWE-1427; LLM01:2025; `owaspCategory` `A04:2021`.
|
|
40
|
-
- **Rule out:** cite the trust partition: content from writable-by-others sources is tagged and reaches only tool-less or read-only calls, and the corpus write path is restricted (who can add documents). Sanitising hidden text is defence in depth, not a ruling-out control.
|
|
41
|
-
- **Fix check:** fixture with an injected instruction in an HTML comment of a fetched page; assert the resulting run produces no side-effect call.
|
|
42
|
-
|
|
43
|
-
## Model output used as code, SQL, shell or markup
|
|
44
|
-
|
|
45
|
-
- **Look for:** model output into `eval`, `exec`, `Function()`, `subprocess(..., shell=True)`, `child_process.exec`, raw SQL strings, `dangerouslySetInnerHTML`, `v-html`, `innerHTML`, markdown renderers with HTML enabled, file paths for read or write, URLs for server-side fetch, deserialisers (`pickle`, `yaml.load`).
|
|
46
|
-
- **Why:** model output is attacker-influenced input. The classic injection sinks apply unchanged.
|
|
47
|
-
- **Map:** CWE-94, CWE-78, CWE-89, CWE-79, CWE-22 or CWE-918 per sink; LLM05:2025 Improper Output Handling; `owaspCategory` `A03:2021` (`A10:2021` for SSRF).
|
|
48
|
-
- **Rule out:** cite the sink-appropriate control on the model output: parameterised query with the model choosing only values, argv array without a shell, sanitiser on rendered HTML (DOMPurify or equivalent with an explicit config), path canonicalisation inside an allowed root, URL allowlist. Generated code must run only in a sandbox (see agentic-systems.md).
|
|
49
|
-
- **Fix check:** unit test feeding a model-output fixture containing `'; DROP TABLE` / `$(id)` / `<img onerror>` / `../../etc/passwd` and asserting the sink receives it inert.
|
|
50
|
-
|
|
51
|
-
## Secrets and sensitive data in prompts
|
|
52
|
-
|
|
53
|
-
- **Look for:** API keys, connection strings, internal URLs or credentials placed in system prompts "so the model can call the API"; full user records or other users' data in context when the task needs one field; prompts and completions logged verbatim to analytics or third-party observability; system prompt contents treated as confidential.
|
|
54
|
-
- **Why:** anything in context can be echoed back by a crafted request. A system prompt is not a secret store.
|
|
55
|
-
- **Map:** CWE-200 or CWE-532 (logging); secrets in prompt: CWE-798; LLM02:2025 Sensitive Information Disclosure, LLM07:2025 System Prompt Leakage; `owaspCategory` `A02:2021` (web) or `M1:2024` (mobile client building the prompt).
|
|
56
|
-
- **Rule out:** cite that credentials live in the tool handler (server side, never in model context), that context assembly selects only the fields needed, and that logging redacts prompts or is disabled.
|
|
57
|
-
- **Fix check:** test asserting the assembled prompt for a representative request contains no value from the secret store and no other user's identifiers.
|
|
58
|
-
|
|
59
|
-
## Tool definitions without an allowlist or argument validation
|
|
60
|
-
|
|
61
|
-
- **Look for:** generic tools (`run_sql(query)`, `http_request(url, method, body)`, `shell(cmd)`, `read_file(path)`) where a narrow tool would do; tool arguments passed to the backend without schema validation; tools executing with a service credential rather than the end user's; the tool set chosen dynamically from model output.
|
|
62
|
-
- **Why:** the tool surface is the blast radius of a successful injection. A generic tool turns any injection into arbitrary access.
|
|
63
|
-
- **Map:** CWE-250 (excessive privilege) or CWE-20; LLM06:2025 Excessive Agency; `owaspCategory` `A01:2021`.
|
|
64
|
-
- **Rule out:** cite the static tool list for the call, the argument schema validation in each handler (enum values, id ownership check against the calling user, URL host allowlist), and the credential the handler uses being scoped to the end user.
|
|
65
|
-
- **Fix check:** handler unit test passing an id the user does not own and a URL outside the allowlist, both rejected without model involvement.
|
|
66
|
-
|
|
67
|
-
## Side effects without human confirmation
|
|
68
|
-
|
|
69
|
-
- **Look for:** tools that send messages, spend money, change permissions, delete data, merge code or post publicly, executed as soon as the model emits the call; "auto-approve" flags defaulting to on; confirmation UIs that show the model's summary instead of the actual arguments.
|
|
70
|
-
- **Why:** confirmation is the one control injection cannot talk its way past, provided the human sees the real action.
|
|
71
|
-
- **Map:** CWE-862; LLM06:2025; `owaspCategory` `A04:2021`.
|
|
72
|
-
- **Rule out:** cite the gate between model output and handler execution that blocks until a user approves, and that renders the concrete arguments (recipient, amount, path, diff).
|
|
73
|
-
- **Fix check:** test that a side-effect tool call without an approval token is not executed and returns a pending state.
|
|
74
|
-
|
|
75
|
-
## Exfiltration through rendered links and images
|
|
76
|
-
|
|
77
|
-
- **Look for:** chat UIs rendering model markdown with images (``) or auto-fetching link previews; model-written links rendered clickable with no domain check; server-side unfurling of URLs in model output.
|
|
78
|
-
- **Why:** an injected instruction can make the model encode conversation data into an image URL; the browser fetches it with no click, sending the data to the attacker.
|
|
79
|
-
- **Map:** CWE-201 (insertion of sensitive information into sent data); LLM02:2025 and LLM05:2025; `owaspCategory` `A04:2021` (or `A03:2021` when filed as an output-encoding defect).
|
|
80
|
-
- **Rule out:** cite the renderer config that disables remote images or restricts image and link hosts to an allowlist, plus a CSP `img-src` that enforces it in the browser.
|
|
81
|
-
- **Fix check:** render test with model output containing an external image URL, asserting no `img` element with that host is produced.
|
|
82
|
-
|
|
83
|
-
## Unbounded consumption
|
|
84
|
-
|
|
85
|
-
- **Look for:** no per-user limit on model calls; user-controlled `max_tokens`; agent loops with no iteration cap; recursive tool calls that can re-invoke the model.
|
|
86
|
-
- **Why:** cost denial of service and runaway loops.
|
|
87
|
-
- **Map:** CWE-770; LLM10:2025 Unbounded Consumption; `owaspCategory` `A04:2021`.
|
|
88
|
-
- **Rule out:** cite the rate limiter keyed per user, the server-fixed token ceiling, and the loop iteration cap.
|
|
89
|
-
- **Fix check:** test that the agent loop stops at the cap and the endpoint returns a rate-limit error past the threshold.
|
|
90
|
-
|
|
91
|
-
## Diff-mode triggers
|
|
92
|
-
|
|
93
|
-
A new tool, a new content source added to context (a fetch, a retrieval index, a file reader), a new renderer path for model output, or a removed confirmation step puts the whole call path in scope: trace from every source the call reads to every sink its output or tools reach.
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# OAuth 2 and OpenID Connect - static review of clients and resource servers
|
|
2
|
-
|
|
3
|
-
## Contents
|
|
4
|
-
|
|
5
|
-
<!-- toc -->
|
|
6
|
-
- [Contents](#contents)
|
|
7
|
-
- [Scope and mapping](#scope-and-mapping)
|
|
8
|
-
- [Redirect URI validation](#redirect-uri-validation)
|
|
9
|
-
- [State and nonce](#state-and-nonce)
|
|
10
|
-
- [PKCE for public clients](#pkce-for-public-clients)
|
|
11
|
-
- [Client secret in a public client](#client-secret-in-a-public-client)
|
|
12
|
-
- [Implicit and password grants](#implicit-and-password-grants)
|
|
13
|
-
- [Token validation on the resource server](#token-validation-on-the-resource-server)
|
|
14
|
-
- [Token storage on mobile and web](#token-storage-on-mobile-and-web)
|
|
15
|
-
- [Refresh token rotation and revocation](#refresh-token-rotation-and-revocation)
|
|
16
|
-
- [Open redirects around the login flow](#open-redirects-around-the-login-flow)
|
|
17
|
-
- [Diff-mode triggers](#diff-mode-triggers)
|
|
18
|
-
<!-- /toc -->
|
|
19
|
-
|
|
20
|
-
## Scope and mapping
|
|
21
|
-
|
|
22
|
-
Covers three roles, and the first job is to decide which one the code plays: a **client** (mobile app, SPA, server-side web app starting a login), an **authorization server** the team operates (redirect registration, token issuance), and a **resource server** (API that accepts access tokens). Most findings depend on the role: PKCE is a client duty, audience checks are a resource-server duty. Library defaults matter; cite the configuration line that overrides or keeps them.
|
|
23
|
-
|
|
24
|
-
Schema mapping: authentication flow defects use `A07:2021`; redirect and authorization defects use `A01:2021`; token storage on mobile uses `M9:2024` (storage) or `M3:2024` (auth decision). Put the finding on the file that holds the defect.
|
|
25
|
-
|
|
26
|
-
## Redirect URI validation
|
|
27
|
-
|
|
28
|
-
- **Look for (authorization server):** redirect URI compared by prefix (`startsWith`), substring, or regex without anchors; wildcard subdomains; redirect accepted when it is not in the client's registered list; `localhost` redirects enabled for production clients. **(client):** custom URL schemes that another app can register (`myapp://callback`) used without PKCE; universal links / App Links missing the association file entry.
|
|
29
|
-
- **Why:** a loose match lets an attacker register `https://legit.example.com.evil.net` or a sibling path and receive authorization codes.
|
|
30
|
-
- **Map:** CWE-601 (open redirect) or CWE-939 (improper authorization in handler for custom URL scheme); `A01:2021`; mobile `M3:2024`.
|
|
31
|
-
- **Rule out:** cite the exact-string comparison against the registered list (normalised scheme, host, port, path) and, for mobile, PKCE on the same flow plus claimed HTTPS redirects.
|
|
32
|
-
- **Fix check:** test that an authorization request with `redirect_uri` equal to a registered URI plus a suffix or a different subdomain is rejected.
|
|
33
|
-
|
|
34
|
-
## State and nonce
|
|
35
|
-
|
|
36
|
-
- **Look for:** no `state` parameter on the authorization request; `state` generated but never compared on the callback; `state` stored in a place the attacker controls (a query parameter echoed back); OIDC `nonce` sent but not checked against the ID token's `nonce` claim; predictable values (`Date.now()`, `Math.random()`).
|
|
37
|
-
- **Why:** without state the callback accepts a code the attacker obtained for their own account (login CSRF, account linking to the attacker). Without nonce an ID token can be replayed into a new session.
|
|
38
|
-
- **Map:** CWE-352 (state) or CWE-294 (nonce replay); `A07:2021`.
|
|
39
|
-
- **Rule out:** cite the CSPRNG generation, the session-bound storage, and the strict comparison on callback that aborts on mismatch; cite the nonce comparison after ID token validation. A library that does this by default needs its config line showing it is not disabled.
|
|
40
|
-
- **Fix check:** test that the callback with a missing or different `state` returns an error and creates no session.
|
|
41
|
-
|
|
42
|
-
## PKCE for public clients
|
|
43
|
-
|
|
44
|
-
- **Look for:** mobile apps, SPAs, desktop apps or CLIs running authorization code flow without `code_challenge`; `code_challenge_method=plain`; verifier stored where it can leak (URL, logs); authorization server that does not require PKCE for public clients or accepts a token request without `code_verifier`.
|
|
45
|
-
- **Why:** public clients cannot keep a secret, so an intercepted code (from a malicious app on the same scheme, logs, or referrer) is redeemable without PKCE.
|
|
46
|
-
- **Map:** CWE-345 or CWE-287; `A07:2021`; mobile `M3:2024`.
|
|
47
|
-
- **Rule out:** cite S256 generation of the challenge and verifier in the client, and the server config that rejects token requests without a verifier for public clients. For a library (AppAuth, oidc-client-ts, platform session APIs) cite the call that enables PKCE or show it is the default and not disabled.
|
|
48
|
-
- **Fix check:** server test that a token exchange without `code_verifier` for a public client fails.
|
|
49
|
-
|
|
50
|
-
## Client secret in a public client
|
|
51
|
-
|
|
52
|
-
- **Look for:** `client_secret` in a mobile bundle, SPA env (`NEXT_PUBLIC_`, `VITE_`), or a desktop binary; a public client registered as confidential to make the flow work.
|
|
53
|
-
- **Why:** anything shipped is extractable; the secret then grants client-credential tokens or impersonation of the client.
|
|
54
|
-
- **Map:** CWE-798; `A07:2021`; mobile `M1:2024`.
|
|
55
|
-
- **Rule out:** cite that the client is registered as public and uses PKCE, and that no secret appears in client build config. Use the pipeline secret gate for detection.
|
|
56
|
-
- **Fix check:** the secret gate is clean over client targets; client registration lists auth method `none`.
|
|
57
|
-
|
|
58
|
-
## Implicit and password grants
|
|
59
|
-
|
|
60
|
-
- **Look for:** `response_type=token` or `id_token token`; tokens read from the URL fragment; Resource Owner Password Credentials grant (`grant_type=password`) in a first- or third-party client.
|
|
61
|
-
- **Why:** implicit returns tokens in the URL where history, referrers and extensions see them, and there is no sender binding; password grant trains users to type credentials into the client and blocks MFA.
|
|
62
|
-
- **Map:** CWE-598 (sensitive data in GET) or CWE-522; `A07:2021`.
|
|
63
|
-
- **Rule out:** cite the configuration using `response_type=code` with PKCE everywhere in scope.
|
|
64
|
-
- **Fix check:** a config test that the authorization server rejects `response_type=token` for the client.
|
|
65
|
-
|
|
66
|
-
## Token validation on the resource server
|
|
67
|
-
|
|
68
|
-
- **Look for:** JWT decoded without verification (`jwt.decode`, `jwt-decode` used for auth decisions, `verify=False`, `options: { verifySignature: false }`); algorithms not pinned (accepting `none` or HS256 with the public key as secret); missing `aud` check, so a token issued to another client of the same IdP is accepted; missing `iss` check with multi-tenant IdPs; `exp`/`nbf` not checked or a huge clock skew; ID tokens accepted as API access tokens; opaque tokens never introspected.
|
|
69
|
-
- **Why:** any of these lets a token minted for something else, or by someone else, act as a valid credential.
|
|
70
|
-
- **Map:** CWE-347 (signature), CWE-345 (audience/issuer), CWE-613 (expiry); `A07:2021`.
|
|
71
|
-
- **Rule out:** cite the verify call with pinned algorithms, JWKS from the expected issuer, and explicit `audience` and `issuer` options, in the middleware applied to every route in scope.
|
|
72
|
-
- **Fix check:** tests presenting a token with a different `aud`, a different `iss`, `alg: none`, and an expired `exp`, each rejected.
|
|
73
|
-
|
|
74
|
-
## Token storage on mobile and web
|
|
75
|
-
|
|
76
|
-
- **Look for:** mobile: tokens in `UserDefaults`, `SharedPreferences`, plain files, or logs instead of Keychain / Keystore-backed storage; Keychain items with an accessibility class that allows backup or access while locked when not needed. Web: refresh tokens in `localStorage` or `sessionStorage`; access tokens in cookies without `HttpOnly`, `Secure`, `SameSite`; tokens in URLs.
|
|
77
|
-
- **Why:** device backups, other apps on rooted devices, and any XSS read these stores. A refresh token is a long-lived credential.
|
|
78
|
-
- **Map:** CWE-922 or CWE-312; mobile `M9:2024`; web `A02:2021` (or `A07:2021` if filed as session management).
|
|
79
|
-
- **Rule out:** cite the Keychain/Keystore wrapper call with the access class, or the server setting the cookie with `HttpOnly; Secure; SameSite`, plus a backend-for-frontend that keeps refresh tokens off the browser.
|
|
80
|
-
- **Fix check:** unit test that the token store writes to the secure store type; for web, a response test asserting cookie flags.
|
|
81
|
-
|
|
82
|
-
## Refresh token rotation and revocation
|
|
83
|
-
|
|
84
|
-
- **Look for:** refresh tokens that never expire; rotation off so the same refresh token works forever; no reuse detection (a replayed old refresh token does not revoke the family); logout that clears the client but does not revoke server-side; refresh endpoint that does not bind the token to the client id.
|
|
85
|
-
- **Why:** a stolen refresh token becomes permanent access, and logout gives a false sense of termination.
|
|
86
|
-
- **Map:** CWE-613; `A07:2021`.
|
|
87
|
-
- **Rule out:** cite the server config enabling rotation with reuse detection and an absolute lifetime, and the logout handler calling the revocation endpoint.
|
|
88
|
-
- **Fix check:** test that redeeming a refresh token twice fails the second time and invalidates the newer token too.
|
|
89
|
-
|
|
90
|
-
## Open redirects around the login flow
|
|
91
|
-
|
|
92
|
-
- **Look for:** `returnTo`, `next`, `redirect`, `continue` parameters passed to a redirect after login or logout without an allowlist; `post_logout_redirect_uri` not checked against the registered list; relative-path checks that accept `//evil.net` or `/\evil.net`.
|
|
93
|
-
- **Why:** the trusted login domain becomes a phishing launcher, and in some flows a token leaks through the referrer or fragment.
|
|
94
|
-
- **Map:** CWE-601; `A01:2021`.
|
|
95
|
-
- **Rule out:** cite the allowlist check or the same-origin parse (URL parse, compare origin) on every redirect target in scope.
|
|
96
|
-
- **Fix check:** test that `next=//evil.net` and `next=https://evil.net` redirect to a safe default.
|
|
97
|
-
|
|
98
|
-
## Diff-mode triggers
|
|
99
|
-
|
|
100
|
-
A change to OIDC client config, JWT middleware options, cookie settings, redirect handling or the token storage wrapper puts every route or screen that depends on it in scope. A removed `audience` option, a relaxed redirect comparison, or a switch from code to implicit flow is a removed control.
|
package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# OWASP Mobile Top 10 2024 - review checklist with CWE mapping
|
|
2
|
-
|
|
3
|
-
The category id (`M1:2024` .. `M10:2024`) goes in a finding's `security.owaspCategory`; the CWE that names the actual weakness goes in `security.cwe`. For the fuller mobile catalog that ties these to MASVS / MASTG and the store-compliance rules, the swift-security compliance mapping is the deeper reference; this is the review checklist.
|
|
4
|
-
|
|
5
|
-
## M1:2024 - Improper Credential Usage
|
|
6
|
-
|
|
7
|
-
Check: hardcoded API keys / passwords / tokens, credentials in source or resource files, credentials in logs, a secret shipped in the binary.
|
|
8
|
-
CWEs: CWE-798 (hardcoded credentials), CWE-259, CWE-522.
|
|
9
|
-
|
|
10
|
-
## M2:2024 - Inadequate Supply Chain Security
|
|
11
|
-
|
|
12
|
-
Check: a dependency at a version with a known advisory, an unpinned SDK, a build step pulling an unverified artifact. This is the `mcp__multi-agent__security_dep_inventory` -> CVE path (`A06:2021`'s mobile analog).
|
|
13
|
-
CWEs: CWE-1104, plus the advisory's CWE.
|
|
14
|
-
|
|
15
|
-
## M3:2024 - Insecure Authentication/Authorization
|
|
16
|
-
|
|
17
|
-
Check: auth decided client-side, a token accepted without verification, missing authorization on a sensitive action, biometric gate that only hides UI without protecting data.
|
|
18
|
-
CWEs: CWE-287, CWE-306 (missing authentication), CWE-862, CWE-863.
|
|
19
|
-
|
|
20
|
-
## M4:2024 - Insufficient Input/Output Validation
|
|
21
|
-
|
|
22
|
-
Check: untrusted input into a SQL/content-provider query, a WebView `evaluateJavascript` / `postMessage` handler trusting page content, deep-link parameters used without validation, format-string or path built from input.
|
|
23
|
-
CWEs: CWE-20, CWE-79 (WebView XSS), CWE-89, CWE-22.
|
|
24
|
-
|
|
25
|
-
## M5:2024 - Insecure Communication
|
|
26
|
-
|
|
27
|
-
Check: HTTP instead of HTTPS, disabled ATS / cleartext-traffic permitted, `TrustManager` that accepts all certs, missing certificate pinning on a sensitive endpoint, ignored TLS errors.
|
|
28
|
-
CWEs: CWE-319 (cleartext), CWE-295 (improper certificate validation).
|
|
29
|
-
|
|
30
|
-
## M6:2024 - Inadequate Privacy Controls
|
|
31
|
-
|
|
32
|
-
Check: PII collected without need, location/contacts/identifiers sent off-device without disclosure, tracking before consent, PII in logs or analytics events.
|
|
33
|
-
CWEs: CWE-359, CWE-200, CWE-532.
|
|
34
|
-
|
|
35
|
-
## M7:2024 - Insufficient Binary Protections
|
|
36
|
-
|
|
37
|
-
Check: no tamper/integrity check where the threat model needs one, debug symbols or verbose logging left in a release build, an easily-reversible secret embedded in the binary. Judge against the threat model - most apps do not need anti-reversing, and a `blocking` here needs a named attacker.
|
|
38
|
-
CWEs: CWE-656, CWE-489 (debug code left in).
|
|
39
|
-
|
|
40
|
-
## M8:2024 - Security Misconfiguration
|
|
41
|
-
|
|
42
|
-
Check: an exported Android component with no permission, `android:debuggable=true` or `allowBackup=true` on sensitive data, an overly-broad entitlement, a permissive `network_security_config`, default or weak settings.
|
|
43
|
-
CWEs: CWE-16, CWE-276 (incorrect default permissions), CWE-926 (improper export).
|
|
44
|
-
|
|
45
|
-
## M9:2024 - Insecure Data Storage
|
|
46
|
-
|
|
47
|
-
Check: sensitive data in `UserDefaults` / `SharedPreferences` / plist / plain files instead of the Keychain / Keystore, a database without encryption, a cache holding secrets, pasteboard leakage.
|
|
48
|
-
CWEs: CWE-312 (cleartext storage), CWE-922 (insecure storage of sensitive info).
|
|
49
|
-
|
|
50
|
-
## M10:2024 - Insufficient Cryptography
|
|
51
|
-
|
|
52
|
-
Check: weak or deprecated algorithm (MD5/SHA1 for integrity, DES/ECB), a hardcoded key/IV, a home-rolled cipher, a predictable random source for a security purpose.
|
|
53
|
-
CWEs: CWE-327 (broken/risky algorithm), CWE-326, CWE-330 (insufficient randomness), CWE-338.
|
package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# OWASP Top 10 2021 (Web / API) - review checklist with CWE mapping
|
|
2
|
-
|
|
3
|
-
The category id (`A01:2021` .. `A10:2021`) goes in a finding's `security.owaspCategory`; the CWE most associated with the specific weakness goes in `security.cwe`. One weakness per finding. The CWEs listed per category are the common ones, not the whole set - pick the one that names the actual defect.
|
|
4
|
-
|
|
5
|
-
## A01:2021 - Broken Access Control
|
|
6
|
-
|
|
7
|
-
Check: missing authorization on a route or action, IDOR (object id from the request trusted without an ownership check), path traversal, forced browsing, CORS misconfiguration allowing credentialed cross-origin reads, privilege escalation through a mass-assignable field.
|
|
8
|
-
CWEs: CWE-284, CWE-285, CWE-639 (IDOR), CWE-862 (missing authorization), CWE-863 (incorrect authorization), CWE-22 (path traversal), CWE-352 (CSRF).
|
|
9
|
-
Evidence to cite: the handler that reads an id from input and queries without a `where owner = current_user` predicate; a route with no auth middleware.
|
|
10
|
-
|
|
11
|
-
## A02:2021 - Cryptographic Failures
|
|
12
|
-
|
|
13
|
-
Check: secrets or PII sent or stored in clear, weak or deprecated algorithms (MD5, SHA1 for passwords, DES, ECB), hardcoded keys, missing TLS, disabled certificate validation, predictable IVs/nonces, passwords hashed without a slow KDF (bcrypt/scrypt/argon2).
|
|
14
|
-
CWEs: CWE-311 (missing encryption), CWE-319 (cleartext transmission), CWE-327 (broken/risky algorithm), CWE-326 (inadequate strength), CWE-798 (hardcoded credentials), CWE-916 (weak password hash).
|
|
15
|
-
|
|
16
|
-
## A03:2021 - Injection
|
|
17
|
-
|
|
18
|
-
Check: SQL/NoSQL/ORM query built by string concatenation of untrusted input, OS command built from input, LDAP/XPath injection, unsanitized input reflected into HTML (XSS), template injection, header injection.
|
|
19
|
-
CWEs: CWE-89 (SQL), CWE-78 (OS command), CWE-79 (XSS), CWE-90 (LDAP), CWE-94 (code injection), CWE-943 (NoSQL/query).
|
|
20
|
-
Evidence: the untrusted source and the sink on the same path, with no parameterization or encoding between.
|
|
21
|
-
|
|
22
|
-
## A04:2021 - Insecure Design
|
|
23
|
-
|
|
24
|
-
Check: a missing control the design needed - no rate limit on a credential endpoint, no anti-automation on a costly action, trust placed in a client-supplied value that decides server behaviour, a workflow that can be replayed.
|
|
25
|
-
CWEs: CWE-73, CWE-183, CWE-209 (info leak by design), CWE-256, CWE-501 (trust boundary violation), CWE-522.
|
|
26
|
-
|
|
27
|
-
## A05:2021 - Security Misconfiguration
|
|
28
|
-
|
|
29
|
-
Check: debug or verbose errors in production, default credentials, an unnecessary feature or port enabled, permissive CORS, missing security headers (CSP, HSTS, X-Content-Type-Options), directory listing, an overly-permissive cloud bucket or IAM policy in config.
|
|
30
|
-
CWEs: CWE-16, CWE-611 (XXE), CWE-732 (incorrect permissions), CWE-1032, CWE-756.
|
|
31
|
-
|
|
32
|
-
## A06:2021 - Vulnerable and Outdated Components
|
|
33
|
-
|
|
34
|
-
Check: a dependency at a version with a known advisory. This is the `mcp__multi-agent__security_dep_inventory` -> CVE-lookup path. Carry the `cve` and the advisory's CWE; put the finding on the manifest at line 0.
|
|
35
|
-
CWEs: CWE-1104, plus the advisory's own CWE.
|
|
36
|
-
|
|
37
|
-
## A07:2021 - Identification and Authentication Failures
|
|
38
|
-
|
|
39
|
-
Check: credential stuffing possible (no throttle/lockout), weak password policy, session id in the URL, session not rotated on login, missing or weak MFA, JWT with `alg:none` accepted or signature not verified, long-lived non-revocable tokens.
|
|
40
|
-
CWEs: CWE-287 (improper auth), CWE-297, CWE-384 (session fixation), CWE-521 (weak password), CWE-613 (insufficient expiration), CWE-347 (improper signature verification).
|
|
41
|
-
|
|
42
|
-
## A08:2021 - Software and Data Integrity Failures
|
|
43
|
-
|
|
44
|
-
Check: insecure deserialization of untrusted data, an update or plugin loaded without signature verification, a CI/CD step pulling an unpinned or unverified artifact, client-side data trusted without integrity check.
|
|
45
|
-
CWEs: CWE-502 (deserialization), CWE-345, CWE-494 (download without integrity check), CWE-829.
|
|
46
|
-
|
|
47
|
-
## A09:2021 - Security Logging and Monitoring Failures
|
|
48
|
-
|
|
49
|
-
Check: security-relevant events not logged (auth failures, access-control denials, high-value actions), logs containing secrets or PII, no alerting path. Note it as a `suggestion`/`important` gap, rarely `blocking` on its own.
|
|
50
|
-
CWEs: CWE-778 (insufficient logging), CWE-532 (secrets in logs), CWE-223.
|
|
51
|
-
|
|
52
|
-
## A10:2021 - Server-Side Request Forgery (SSRF)
|
|
53
|
-
|
|
54
|
-
Check: the server fetches a URL built from user input without an allowlist, letting a caller reach internal services, cloud metadata endpoints, or the loopback interface.
|
|
55
|
-
CWEs: CWE-918.
|
|
56
|
-
Evidence: the input-derived URL reaching an HTTP client with no host allowlist or scheme restriction.
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# Supabase - static review of RLS, keys, storage and exposed database objects
|
|
2
|
-
|
|
3
|
-
## Contents
|
|
4
|
-
|
|
5
|
-
<!-- toc -->
|
|
6
|
-
- [Contents](#contents)
|
|
7
|
-
- [Scope and mapping](#scope-and-mapping)
|
|
8
|
-
- [RLS not enabled on an exposed table](#rls-not-enabled-on-an-exposed-table)
|
|
9
|
-
- [Policies that do not bind to auth.uid()](#policies-that-do-not-bind-to-authuid)
|
|
10
|
-
- [service_role key in a client or a public bundle](#service_role-key-in-a-client-or-a-public-bundle)
|
|
11
|
-
- [Storage bucket policies](#storage-bucket-policies)
|
|
12
|
-
- [Edge functions without caller verification](#edge-functions-without-caller-verification)
|
|
13
|
-
- [Views and functions exposed through PostgREST](#views-and-functions-exposed-through-postgrest)
|
|
14
|
-
- [Diff-mode triggers](#diff-mode-triggers)
|
|
15
|
-
<!-- /toc -->
|
|
16
|
-
|
|
17
|
-
## Scope and mapping
|
|
18
|
-
|
|
19
|
-
Covers SQL migrations (`supabase/migrations/*.sql`), `supabase/config.toml`, edge functions (`supabase/functions/*`), storage policies, and every client that holds a Supabase URL and key. The anon (publishable) key is meant to be public; it is only safe because RLS restricts what it can do. Every finding here is therefore about whether the database enforces the restriction, and evidence points at a migration line or a function line.
|
|
20
|
-
|
|
21
|
-
Schema mapping: database-side policies are server access control, so use `A01:2021`; a leaked privileged key is `A07:2021` (web) or `M1:2024` (mobile client). Pick the one that matches the file holding the defect.
|
|
22
|
-
|
|
23
|
-
## RLS not enabled on an exposed table
|
|
24
|
-
|
|
25
|
-
- **Look for:** `create table public.x (...)` with no matching `alter table public.x enable row level security;` in any migration; tables created through the dashboard and captured only in a dump; RLS enabled but `force row level security` absent where the table owner role is used by app code; tables in any schema listed in `config.toml` `[api] schemas`.
|
|
26
|
-
- **Why:** PostgREST exposes every table in an exposed schema. Without RLS, the public anon key reads and writes the whole table.
|
|
27
|
-
- **Map:** CWE-862; `A01:2021`.
|
|
28
|
-
- **Rule out:** cite the `enable row level security` line per table in scope, and for each the policies that exist. RLS enabled with zero policies denies everything to anon and authenticated, which is a valid closed state.
|
|
29
|
-
- **Fix check:** a SQL test (pgTAP or a script using `set local role anon;`) that `select` and `insert` on the table return zero rows or a permission error, failing today.
|
|
30
|
-
|
|
31
|
-
## Policies that do not bind to auth.uid()
|
|
32
|
-
|
|
33
|
-
- **Look for:** `using (true)` or `with check (true)`; `using (auth.role() = 'authenticated')` on per-user data; policies for `select` only while `update`/`delete` fall to a broader policy; `with check` missing on insert or update, so a user can write rows owned by someone else; ownership derived from a column the user can set (`user_id` supplied by the client with no `with check (user_id = auth.uid())`); policies trusting `auth.jwt() -> 'user_metadata'`, which the user can edit.
|
|
34
|
-
- **Why:** permissive policies are OR-ed, so one loose policy opens the table regardless of how strict the others are. `user_metadata` is user-writable; only `app_metadata` is server-controlled.
|
|
35
|
-
- **Map:** CWE-639; `A01:2021`.
|
|
36
|
-
- **Rule out:** cite each policy for the table and show every one constrains by `auth.uid()` (or a join to a membership table keyed by `auth.uid()`), with `with check` on insert and update, and any role claims read from `app_metadata`.
|
|
37
|
-
- **Fix check:** SQL test with `set local request.jwt.claims` for user A, asserting user B's rows are invisible and an insert with `user_id = B` fails.
|
|
38
|
-
|
|
39
|
-
## service_role key in a client or a public bundle
|
|
40
|
-
|
|
41
|
-
- **Look for:** `SUPABASE_SERVICE_ROLE_KEY` or a JWT whose payload has `"role":"service_role"` referenced from browser code, a `NEXT_PUBLIC_`/`VITE_`/`EXPO_PUBLIC_` variable, a mobile plist/xcconfig/`BuildConfig`, or a client-side `createClient(url, serviceKey)`; server code that creates a service client and then passes request input straight into queries.
|
|
42
|
-
- **Why:** service_role bypasses RLS entirely. In a client it is full database compromise; on a server it makes that code path responsible for every authorization decision.
|
|
43
|
-
- **Map:** CWE-798 (client exposure) or CWE-639 (server path with no ownership check); `A07:2021` / `M1:2024`, or `A01:2021` for the server path.
|
|
44
|
-
- **Rule out:** cite that the service key is only read in server-only modules (no public prefix, not imported by client entry points), and that each service-client query in scope carries an explicit ownership predicate. Detection of the raw key uses the pipeline secret gate.
|
|
45
|
-
- **Fix check:** a build check that the client bundle does not contain the string `service_role`; for server paths, a test that user A cannot reach user B's row through the endpoint.
|
|
46
|
-
|
|
47
|
-
## Storage bucket policies
|
|
48
|
-
|
|
49
|
-
- **Look for:** `insert into storage.buckets (id, name, public) values (..., true)` for buckets holding user documents; policies on `storage.objects` without a `bucket_id = '...'` term; ownership not tied to path, for example missing `(storage.foldername(name))[1] = auth.uid()::text`; no size or MIME restriction in bucket config; signed URLs with very long expiry generated for sensitive files.
|
|
50
|
-
- **Why:** a public bucket serves any object to anyone with the path, and paths are often guessable. Object policies without a bucket term apply to every bucket.
|
|
51
|
-
- **Map:** CWE-284 or CWE-639; `A01:2021`.
|
|
52
|
-
- **Rule out:** cite `public = false` for sensitive buckets and the `storage.objects` policy constraining both `bucket_id` and the uid folder, for select, insert, update and delete.
|
|
53
|
-
- **Fix check:** test that user A's client gets a policy error downloading `B-uid/file.pdf` and that a public URL for the bucket returns an error.
|
|
54
|
-
|
|
55
|
-
## Edge functions without caller verification
|
|
56
|
-
|
|
57
|
-
- **Look for:** `supabase/functions/*/index.ts` that builds a service-role client and acts on ids from the body without reading the `Authorization` header; `verify_jwt = false` in `config.toml` for a function that touches user data; calling `supabase.auth.getUser()` but ignoring the error; CORS `*` with credentials; webhook functions with no signature verification.
|
|
58
|
-
- **Why:** an edge function with a service client is a rules bypass, the same shape as a Firebase Admin SDK function.
|
|
59
|
-
- **Map:** CWE-306 or CWE-639; `A01:2021`; webhook signature: CWE-345, `A08:2021`.
|
|
60
|
-
- **Rule out:** cite the line that creates the client with the caller's `Authorization` header (so RLS applies) or the `getUser()` check plus ownership comparison before a service-client call; cite `verify_jwt` left at default true; cite the webhook HMAC comparison.
|
|
61
|
-
- **Fix check:** function test invoking without a JWT and with another user's JWT, both rejected.
|
|
62
|
-
|
|
63
|
-
## Views and functions exposed through PostgREST
|
|
64
|
-
|
|
65
|
-
- **Look for:** `create view` in an exposed schema without `with (security_invoker = true)` (views run as their owner by default, bypassing RLS of the base tables); `create function ... security definer` in `public` callable via `/rpc/` with no internal `auth.uid()` check; security definer functions without `set search_path = ''` (search-path hijack); `grant execute ... to anon` on admin functions; materialized views (no RLS support) in an exposed schema.
|
|
66
|
-
- **Why:** these objects return data the caller's RLS would have hidden. Security definer functions are effectively service_role endpoints.
|
|
67
|
-
- **Map:** CWE-269 or CWE-863; `A01:2021`; search path: CWE-427.
|
|
68
|
-
- **Rule out:** cite `security_invoker = true` on each view, or the view living in a schema not listed in `[api] schemas`; for each security definer function cite the `auth.uid()` check inside and the `set search_path` clause, and the `revoke execute ... from public, anon` line.
|
|
69
|
-
- **Fix check:** SQL test as anon and as another user calling the view and the RPC, asserting no foreign rows.
|
|
70
|
-
|
|
71
|
-
## Diff-mode triggers
|
|
72
|
-
|
|
73
|
-
A migration that drops a policy, disables RLS, adds a table or view to an exposed schema, changes `[api] schemas`, or adds `security definer` puts every table it touches in scope. A new client file that imports a server env helper is a candidate service-key exposure even if the key name did not change.
|