loadwise 0.8.0 → 0.10.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/PERFORMANCE.md +17 -0
- package/README.md +294 -700
- package/agent/hooks/check-edited-file.mjs +800 -0
- package/dist/bin/github-action.js +72 -18
- package/dist/bin/loadwise.js +21 -34
- package/dist/lib/accessibility/angular-literal.js +1 -1
- package/dist/lib/accessibility/aria-tables.js +10 -6
- package/dist/lib/accessibility/astro-template.js +111 -0
- package/dist/lib/accessibility/autofocus.js +94 -0
- package/dist/lib/accessibility/document-reference-rules.js +143 -0
- package/dist/lib/accessibility/form-context.js +7 -2
- package/dist/lib/accessibility/frontend-detect.js +18 -8
- package/dist/lib/accessibility/heading-order.js +59 -0
- package/dist/lib/accessibility/interaction-semantics.js +90 -0
- package/dist/lib/accessibility/jinja-template.js +150 -0
- package/dist/lib/accessibility/jsx-elements.js +164 -21
- package/dist/lib/accessibility/language-tags.js +18 -0
- package/dist/lib/accessibility/markup-files.js +44 -17
- package/dist/lib/accessibility/markup.js +4 -1
- package/dist/lib/accessibility/media-rules.js +81 -0
- package/dist/lib/accessibility/native-interactive.js +145 -0
- package/dist/lib/accessibility/rule-ids.js +30 -0
- package/dist/lib/accessibility/rule-utilities.js +92 -0
- package/dist/lib/accessibility/rules.js +77 -140
- package/dist/lib/accessibility/site-fixes/aria-typo.js +65 -0
- package/dist/lib/accessibility/site-fixes/buttons.js +4 -11
- package/dist/lib/accessibility/site-fixes/email-autocomplete.js +103 -0
- package/dist/lib/accessibility/site-fixes/html-language.js +84 -0
- package/dist/lib/accessibility/site-fixes/media-autoplay.js +87 -0
- package/dist/lib/accessibility/site-fixes/positive-tabindex.js +102 -0
- package/dist/lib/accessibility/site-fixes/source-position.js +11 -0
- package/dist/lib/accessibility/site-fixes/viewport.js +107 -0
- package/dist/lib/accessibility/table-headers.js +70 -0
- package/dist/lib/accessibility/template-attributes.js +13 -2
- package/dist/lib/accessibility/template-binding-scope.js +122 -0
- package/dist/lib/accessibility/template-elements.js +259 -109
- package/dist/lib/accessibility/template-file.js +111 -22
- package/dist/lib/accessibility/template-tag-tables.js +86 -0
- package/dist/lib/accessibility/usage.js +1 -1
- package/dist/lib/editor/accessibility-examples.js +5 -0
- package/dist/lib/editor/actions.js +26 -14
- package/dist/lib/editor/apply-fix.js +30 -2
- package/dist/lib/editor/configured-setup.js +9 -14
- package/dist/lib/editor/diagnostics.js +121 -135
- package/dist/lib/editor/dismissals.js +21 -10
- package/dist/lib/editor/doctor.js +167 -0
- package/dist/lib/editor/editor-document.js +17 -1
- package/dist/lib/editor/editor-launcher.js +60 -26
- package/dist/lib/editor/finding-comparison.js +4 -25
- package/dist/lib/editor/fix-edits.js +87 -8
- package/dist/lib/editor/hover-markdown.js +104 -0
- package/dist/lib/editor/inline-fix.js +50 -0
- package/dist/lib/editor/inline-recommendation.js +27 -0
- package/dist/lib/editor/jetbrains-setup.js +2 -1
- package/dist/lib/editor/language-server.js +305 -56
- package/dist/lib/editor/native-setup.js +7 -2
- package/dist/lib/editor/perf-watch.js +7 -5
- package/dist/lib/editor/performance-examples.js +31 -0
- package/dist/lib/editor/polyglot-selection.js +193 -0
- package/dist/lib/editor/project-policy.js +146 -0
- package/dist/lib/editor/project-watches.js +86 -0
- package/dist/lib/editor/release-vsix.js +23 -1
- package/dist/lib/editor/reliability-examples.js +36 -0
- package/dist/lib/editor/scan-session.js +212 -62
- package/dist/lib/editor/security-examples.js +24 -14
- package/dist/lib/editor/server-commands.js +24 -11
- package/dist/lib/editor/setup.js +7 -12
- package/dist/lib/editor/standalone-performance-examples.js +51 -0
- package/dist/lib/editor/workspace-files.js +32 -8
- package/dist/lib/editor/workspace-paths.js +29 -7
- package/dist/lib/editor/zed-settings.js +118 -0
- package/dist/lib/editor/zed-setup.js +88 -0
- package/dist/lib/maintainability/analysis/analyze-source.js +8 -3
- package/dist/lib/maintainability/analysis/source-exclusions.js +2 -1
- package/dist/lib/maintainability/analysis/source-facts.js +2 -2
- package/dist/lib/maintainability/architecture/architecture.js +50 -2
- package/dist/lib/maintainability/architecture/graph.js +2 -1
- package/dist/lib/maintainability/architecture/layout.js +2 -1
- package/dist/lib/maintainability/cli/apply-fix.js +32 -7
- package/dist/lib/maintainability/cli/changed-lines.js +7 -113
- package/dist/lib/maintainability/cli/finding-ids.js +3 -6
- package/dist/lib/maintainability/cli/fix-cli.js +1 -9
- package/dist/lib/maintainability/cli/git-inventory.js +5 -6
- package/dist/lib/maintainability/cli/inputs.js +24 -16
- package/dist/lib/maintainability/cli/scan-arguments.js +33 -0
- package/dist/lib/maintainability/cli/site-fix.js +31 -13
- package/dist/lib/maintainability/cli.js +31 -38
- package/dist/lib/maintainability/entry-points/entry-points.js +27 -68
- package/dist/lib/maintainability/examples.js +60 -0
- package/dist/lib/maintainability/polyglot-duplicates.js +1 -0
- package/dist/lib/maintainability/polyglot.js +337 -12
- package/dist/lib/maintainability/project.js +4 -4
- package/dist/lib/maintainability/quality/console-tooling.js +114 -0
- package/dist/lib/maintainability/quality/declarative-imports.js +18 -0
- package/dist/lib/maintainability/quality/deprecated-apis.js +227 -40
- package/dist/lib/maintainability/quality/duplicates.js +5 -11
- package/dist/lib/maintainability/quality/generic-assertion-target.js +75 -0
- package/dist/lib/maintainability/quality/limits.js +5 -1
- package/dist/lib/maintainability/quality/modern-node-callbacks.js +188 -0
- package/dist/lib/maintainability/quality/modern-syntax.js +301 -0
- package/dist/lib/maintainability/quality/size-limits.js +2 -1
- package/dist/lib/maintainability/quality/stray-console.js +31 -7
- package/dist/lib/maintainability/quality/tsconfig-strict.js +432 -21
- package/dist/lib/maintainability/quality/type-escape-hatches.js +411 -0
- package/dist/lib/maintainability/quality/type-safety-hygiene.js +132 -42
- package/dist/lib/maintainability/quality/unowned-source.js +15 -0
- package/dist/lib/maintainability/rule-ids.js +27 -0
- package/dist/lib/maintainability/scan-changed.js +39 -3
- package/dist/lib/maintainability/scan-worker.js +3 -5
- package/dist/lib/maintainability/scan.js +26 -4
- package/dist/lib/maintainability/site-fixes/duplicate-edits.js +3 -2
- package/dist/lib/maintainability/site-fixes/duplicate-methods.js +7 -2
- package/dist/lib/maintainability/site-fixes/duplicates.js +3 -2
- package/dist/lib/maintainability/site-fixes/focused-test.js +230 -0
- package/dist/lib/maintainability/site-fixes/helpers.js +2 -6
- package/dist/lib/maintainability/site-fixes/if-rewrites.js +1 -7
- package/dist/lib/maintainability/site-fixes/large-module.js +2 -1
- package/dist/lib/maintainability/site-fixes/unused-bindings.js +15 -6
- package/dist/lib/maintainability/unused/ancestor-aliases.js +2 -2
- package/dist/lib/maintainability/unused/module-usage-dynamic.js +2 -1
- package/dist/lib/maintainability/unused/module-usage-named-exports.js +125 -0
- package/dist/lib/maintainability/unused/module-usage-signatures.js +116 -0
- package/dist/lib/maintainability/unused/module-usage.js +75 -109
- package/dist/lib/maintainability/unused/unused-bindings.js +143 -8
- package/dist/lib/maintainability/unused/unused-dependencies.js +218 -0
- package/dist/lib/maintainability/unused/unused-modules.js +39 -1
- package/dist/lib/performance/analysis/call-syntax.js +2 -1
- package/dist/lib/performance/analysis/function-kinds.js +1 -5
- package/dist/lib/performance/analysis/missing-packages.js +13 -7
- package/dist/lib/performance/analysis/package-types.js +10 -2
- package/dist/lib/performance/analysis/schema-tooling.js +157 -8
- package/dist/lib/performance/analysis/source-inputs.js +17 -12
- package/dist/lib/performance/analysis/source-text.js +2 -2
- package/dist/lib/performance/analysis/unscanned-javascript.js +6 -5
- package/dist/lib/performance/analyze.js +25 -6
- package/dist/lib/performance/async/async-errors.js +162 -14
- package/dist/lib/performance/async/await-before-early-exit.js +1 -6
- package/dist/lib/performance/async/floating-promises.js +27 -6
- package/dist/lib/performance/async/promise-return-escapes-catch.js +35 -2
- package/dist/lib/performance/async/stream-errors.js +1 -3
- package/dist/lib/performance/cli/changed-lines.js +14 -111
- package/dist/lib/performance/cli/cli-arguments.js +11 -9
- package/dist/lib/performance/cli/cli-markup.js +42 -0
- package/dist/lib/performance/cli/cli-output.js +9 -3
- package/dist/lib/performance/cli/cli-policy.js +174 -17
- package/dist/lib/performance/cli/cli-scan.js +170 -139
- package/dist/lib/performance/cli/finding-ids.js +7 -7
- package/dist/lib/performance/cli/fix-cli.js +83 -34
- package/dist/lib/performance/cli/prisma-schema-findings.js +23 -0
- package/dist/lib/performance/cli/scan-outcome.js +19 -1
- package/dist/lib/performance/cli/shared-security-inputs.js +27 -0
- package/dist/lib/performance/cli/watch-security.js +33 -0
- package/dist/lib/performance/cli/watch.js +42 -15
- package/dist/lib/performance/cli.js +8 -7
- package/dist/lib/performance/collections/array-drains.js +354 -0
- package/dist/lib/performance/collections/collection-bindings.js +1 -2
- package/dist/lib/performance/collections/collection-bounds.js +3 -2
- package/dist/lib/performance/collections/collection-copy.js +51 -1
- package/dist/lib/performance/collections/collection-lookups.js +74 -13
- package/dist/lib/performance/collections/collection-reduce.js +32 -6
- package/dist/lib/performance/collections/collections.js +34 -2
- package/dist/lib/performance/collections/json-clone.js +137 -17
- package/dist/lib/performance/collections/regex-allocation.js +156 -0
- package/dist/lib/performance/collections/repeated.js +26 -8
- package/dist/lib/performance/collections/sort-extreme.js +18 -1
- package/dist/lib/performance/collections/workbook-decodes.js +3 -2
- package/dist/lib/performance/contracts/cli.js +340 -21
- package/dist/lib/performance/contracts/git-files.js +102 -5
- package/dist/lib/performance/contracts/openapi-schema.js +187 -0
- package/dist/lib/performance/contracts/openapi-sources.js +260 -0
- package/dist/lib/performance/contracts/openapi.js +172 -233
- package/dist/lib/performance/contracts/protobuf.js +301 -0
- package/dist/lib/performance/contracts/trpc-moves.js +46 -0
- package/dist/lib/performance/contracts/trpc.js +477 -0
- package/dist/lib/performance/datastores/pg-integrity.js +2 -1
- package/dist/lib/performance/datastores/pooling.js +3 -18
- package/dist/lib/performance/datastores/postgres.js +41 -33
- package/dist/lib/performance/datastores/redis-keys.js +4 -3
- package/dist/lib/performance/datastores/redis.js +8 -1
- package/dist/lib/performance/datastores/repeated-reads.js +104 -0
- package/dist/lib/performance/datastores/search-clients.js +9 -0
- package/dist/lib/performance/datastores/session-store.js +166 -7
- package/dist/lib/performance/datastores/supabase.js +73 -0
- package/dist/lib/performance/db/checks.js +1 -1
- package/dist/lib/performance/db/cli-mysql.js +12 -2
- package/dist/lib/performance/db/cli.js +38 -5
- package/dist/lib/performance/db/drivers.js +20 -4
- package/dist/lib/performance/db/measure.js +1 -1
- package/dist/lib/performance/db/mysql-catalog.js +1 -1
- package/dist/lib/performance/db/plan-estimates.js +46 -7
- package/dist/lib/performance/db/redact.js +1 -3
- package/dist/lib/performance/db/snapshot.js +1 -1
- package/dist/lib/performance/db/sqlite-plan.js +95 -0
- package/dist/lib/performance/engine/compiler.js +3 -2
- package/dist/lib/performance/engine/native-checker.js +85 -10
- package/dist/lib/performance/engine/native-syntax.js +17 -0
- package/dist/lib/performance/engine/native-workspaces.js +36 -8
- package/dist/lib/performance/engine/native.js +42 -16
- package/dist/lib/performance/engine/review-config-inputs.js +57 -0
- package/dist/lib/performance/evidence/plans.js +14 -16
- package/dist/lib/performance/evidence/trace-formats.js +182 -0
- package/dist/lib/performance/evidence/traces.js +6 -6
- package/dist/lib/performance/frontend/angular-bootstrap.js +309 -0
- package/dist/lib/performance/frontend/angular-template-calls.js +187 -0
- package/dist/lib/performance/frontend/barrel-subpaths.js +204 -0
- package/dist/lib/performance/frontend/effect-cleanup.js +30 -4
- package/dist/lib/performance/frontend/frontend-dom-perf.js +79 -15
- package/dist/lib/performance/frontend/frontend-perf.js +119 -176
- package/dist/lib/performance/frontend/frontend-render-perf.js +17 -13
- package/dist/lib/performance/frontend/jsx-element-perf.js +171 -0
- package/dist/lib/performance/frontend/layout-binary-probe.js +186 -0
- package/dist/lib/performance/frontend/next-fetch-waterfall.js +405 -0
- package/dist/lib/performance/frontend/rxjs-subscriptions.js +155 -0
- package/dist/lib/performance/frontend/seo/client-fetched-content.js +196 -0
- package/dist/lib/performance/frontend/seo/navigation-without-link.js +116 -0
- package/dist/lib/performance/frontend/seo/next-routes.js +114 -0
- package/dist/lib/performance/frontend/seo/route-metadata.js +158 -0
- package/dist/lib/performance/frontend/seo/seo-rules.js +9 -0
- package/dist/lib/performance/frontend/seo/sitewide-noindex.js +103 -0
- package/dist/lib/performance/frontend/template-tracking.js +215 -0
- package/dist/lib/performance/frontend/vue-options-hooks.js +108 -0
- package/dist/lib/performance/index-rules/index-rules-table.js +3 -3
- package/dist/lib/performance/index-rules/redundant-indexes.js +6 -13
- package/dist/lib/performance/migrations/cli.js +65 -14
- package/dist/lib/performance/migrations/discover.js +63 -32
- package/dist/lib/performance/migrations/enforce.js +5 -12
- package/dist/lib/performance/migrations/extract-code-sql.js +10 -7
- package/dist/lib/performance/migrations/extract-code.js +1 -0
- package/dist/lib/performance/migrations/extract-sql.js +45 -4
- package/dist/lib/performance/migrations/extract-sqlite.js +302 -0
- package/dist/lib/performance/migrations/operations.js +122 -8
- package/dist/lib/performance/migrations/postgres-registry.js +6 -6
- package/dist/lib/performance/migrations/postgres-table-history.js +147 -0
- package/dist/lib/performance/migrations/rules-postgres-shared.js +4 -6
- package/dist/lib/performance/migrations/rules-postgres.js +67 -13
- package/dist/lib/performance/migrations/rules-sqlite.js +118 -0
- package/dist/lib/performance/migrations/sqlserver-creation.js +131 -0
- package/dist/lib/performance/migrations/sqlserver.js +81 -0
- package/dist/lib/performance/models/client-imports.js +286 -0
- package/dist/lib/performance/models/index.js +46 -8
- package/dist/lib/performance/orm/cartesian-includes.js +49 -22
- package/dist/lib/performance/orm/drizzle.js +86 -27
- package/dist/lib/performance/orm/knex-loop-operations.js +96 -0
- package/dist/lib/performance/orm/orm-owners.js +3 -5
- package/dist/lib/performance/orm/orm-queries.js +50 -152
- package/dist/lib/performance/orm/orm-result-uses.js +116 -0
- package/dist/lib/performance/orm/prisma-integrity.js +24 -3
- package/dist/lib/performance/orm/prisma.js +32 -33
- package/dist/lib/performance/orm/typeorm-batch-filter.js +43 -0
- package/dist/lib/performance/orm/typeorm-projection.js +2 -2
- package/dist/lib/performance/orm/typeorm-transaction-loops.js +3 -4
- package/dist/lib/performance/orm/typeorm-updates.js +1 -3
- package/dist/lib/performance/orm/unbounded-list-page-size.js +179 -0
- package/dist/lib/performance/orm/unbounded-list-queries.js +63 -146
- package/dist/lib/performance/polyglot.js +173 -61
- package/dist/lib/performance/probe-caches.js +42 -0
- package/dist/lib/performance/program-batches.js +138 -0
- package/dist/lib/performance/projects.js +86 -89
- package/dist/lib/performance/query-loops/guard-queries.js +2 -1
- package/dist/lib/performance/query-loops/parallel-reads-policy.js +1 -3
- package/dist/lib/performance/query-loops/query-loop-batch.js +81 -7
- package/dist/lib/performance/query-loops/query-loop-bounds.js +1 -13
- package/dist/lib/performance/query-loops/query-policy.js +19 -20
- package/dist/lib/performance/query-loops/query-results.js +1 -6
- package/dist/lib/performance/query-loops/query-write-context.js +89 -0
- package/dist/lib/performance/query-loops/sequential-loops.js +6 -24
- package/dist/lib/performance/query-loops/service-call-resolution.js +17 -2
- package/dist/lib/performance/query-loops/service-loop-source.js +124 -0
- package/dist/lib/performance/query-loops/service-loops.js +86 -25
- package/dist/lib/performance/query-loops/throw-on-miss-loops.js +141 -0
- package/dist/lib/performance/request/backend-mastery.js +18 -30
- package/dist/lib/performance/request/fixed-emitter-loop.js +98 -0
- package/dist/lib/performance/request/fresh-mapped-elements.js +137 -0
- package/dist/lib/performance/request/graphql-list-lookups.js +258 -0
- package/dist/lib/performance/request/http-options-writes.js +2 -8
- package/dist/lib/performance/request/http-timeouts.js +3 -2
- package/dist/lib/performance/request/json-stringify-output.js +217 -0
- package/dist/lib/performance/request/llm-max-tokens.js +27 -8
- package/dist/lib/performance/request/mongoose-lean.js +15 -10
- package/dist/lib/performance/request/node-event-listener-leak.js +190 -35
- package/dist/lib/performance/request/node-fs-context.js +6 -8
- package/dist/lib/performance/request/node-fs.js +4 -6
- package/dist/lib/performance/request/password-hashing.js +4 -3
- package/dist/lib/performance/request/phase5-ast.js +3 -9
- package/dist/lib/performance/request/phase5-rules.js +50 -102
- package/dist/lib/performance/request/promise-schedulers.js +180 -0
- package/dist/lib/performance/request/pure-js-hashing.js +2 -1
- package/dist/lib/performance/request/request-handlers.js +44 -7
- package/dist/lib/performance/request/request-inputs.js +121 -26
- package/dist/lib/performance/request/unbounded-promise-all.js +142 -52
- package/dist/lib/performance/rule-ids.js +72 -5
- package/dist/lib/performance/schema/context.js +7 -16
- package/dist/lib/performance/schema/model.js +1 -9
- package/dist/lib/performance/schema/prisma-owners.js +15 -1
- package/dist/lib/performance/schema/prisma-schema.js +5 -6
- package/dist/lib/performance/schema/project-indexes-events.js +8 -2
- package/dist/lib/performance/schema/project-indexes.js +4 -2
- package/dist/lib/performance/schema/query-site-support.js +1 -1
- package/dist/lib/performance/schema/sequelize-schema.js +1 -3
- package/dist/lib/performance/schema/ts-helpers.js +3 -7
- package/dist/lib/performance/shared-libs.js +48 -0
- package/dist/lib/performance/site-fix.js +33 -7
- package/dist/lib/performance/site-fixes/collection-copy.js +2 -1
- package/dist/lib/performance/site-fixes/collection-existence.js +2 -1
- package/dist/lib/performance/site-fixes/collection-find.js +2 -1
- package/dist/lib/performance/site-fixes/collection-helpers.js +0 -6
- package/dist/lib/performance/site-fixes/collection-lookups.js +2 -1
- package/dist/lib/performance/site-fixes/database.js +7 -16
- package/dist/lib/performance/site-fixes/drizzle-index.js +2 -9
- package/dist/lib/performance/site-fixes/frontend-fixes.js +47 -15
- package/dist/lib/performance/site-fixes/helpers.js +19 -18
- package/dist/lib/performance/site-fixes/last-insert-id.js +2 -1
- package/dist/lib/performance/site-fixes/llm-max-tokens.js +56 -0
- package/dist/lib/performance/site-fixes/migration-column-rules.js +11 -7
- package/dist/lib/performance/site-fixes/migration-lock-rules.js +6 -3
- package/dist/lib/performance/site-fixes/migrations.js +4 -0
- package/dist/lib/performance/site-fixes/pure-js-hashing.js +2 -2
- package/dist/lib/performance/site-fixes/query-shapes.js +1 -4
- package/dist/lib/performance/site-fixes/service-loop-ast.js +1 -9
- package/dist/lib/performance/site-fixes/small-rewrites.js +28 -2
- package/dist/lib/performance/site-fixes/template-tracking-fixes.js +82 -0
- package/dist/lib/performance/site-fixes/writes.js +1 -6
- package/dist/lib/performance/sql/local-statements.js +108 -0
- package/dist/lib/performance/sql/mysql-tokens.js +1 -4
- package/dist/lib/performance/sql/pg-parser.js +3 -5
- package/dist/lib/performance/sql/sqlserver-control.js +43 -0
- package/dist/lib/reliability/analyze.js +48 -5
- package/dist/lib/reliability/boundary-access.js +34 -27
- package/dist/lib/reliability/callback-completion.js +10 -2
- package/dist/lib/reliability/child-process.js +2 -2
- package/dist/lib/reliability/crlf-line-split.js +124 -73
- package/dist/lib/reliability/crlf-references.js +78 -0
- package/dist/lib/reliability/default-numeric-sort.js +25 -0
- package/dist/lib/reliability/error-cause-plan.js +29 -0
- package/dist/lib/reliability/error-values.js +68 -27
- package/dist/lib/reliability/json-cast.js +368 -0
- package/dist/lib/reliability/key-test-callee.js +50 -0
- package/dist/lib/reliability/lossy-text-rewrite.js +94 -0
- package/dist/lib/reliability/manifest-boundary.js +466 -0
- package/dist/lib/reliability/manifest-snapshot.js +40 -0
- package/dist/lib/reliability/parse-failure-flow.js +5 -2
- package/dist/lib/reliability/parse-failure-paths.js +39 -8
- package/dist/lib/reliability/parse-failure-reset.js +5 -17
- package/dist/lib/reliability/pool-timeout.js +31 -7
- package/dist/lib/reliability/promise-usage.js +281 -0
- package/dist/lib/reliability/react-bugs.js +16 -6
- package/dist/lib/reliability/react-state-aliases.js +94 -4
- package/dist/lib/reliability/react-state-order.js +2 -2
- package/dist/lib/reliability/react-state-paths.js +2 -2
- package/dist/lib/reliability/react-state-setter.js +5 -11
- package/dist/lib/reliability/react-state-walker.js +3 -3
- package/dist/lib/reliability/react-state.js +24 -5
- package/dist/lib/reliability/required-member.js +19 -0
- package/dist/lib/reliability/resource-leak-intervals.js +4 -7
- package/dist/lib/reliability/resource-leaks.js +4 -7
- package/dist/lib/reliability/rule-ids.js +70 -1
- package/dist/lib/reliability/same-file-io.js +135 -0
- package/dist/lib/reliability/short-write.js +220 -0
- package/dist/lib/reliability/site-fixes/crlf-line-split.js +71 -0
- package/dist/lib/reliability/site-fixes/error-values.js +40 -0
- package/dist/lib/reliability/site-fixes/pool-timeout.js +51 -0
- package/dist/lib/reliability/source-helpers.js +18 -8
- package/dist/lib/reliability/standalone-sources.js +8 -6
- package/dist/lib/reliability/suspicious-logic.js +6 -8
- package/dist/lib/reliability/swallowed-errors.js +3 -7
- package/dist/lib/reliability/switch-exhaustive.js +195 -5
- package/dist/lib/reliability/test-cleanup-after-await.js +2 -2
- package/dist/lib/reliability/throw-string-plan.js +121 -0
- package/dist/lib/reliability/uncaught-exception.js +2 -7
- package/dist/lib/reliability/usage.js +1 -1
- package/dist/lib/reliability/working-directory.js +101 -0
- package/dist/lib/security/analyze.js +2 -0
- package/dist/lib/security/auth-crypto/hashing.js +21 -4
- package/dist/lib/security/auth-crypto/index.js +6 -1
- package/dist/lib/security/auth-crypto/jwt-decode-helpers.js +163 -0
- package/dist/lib/security/auth-crypto/jwt.js +52 -36
- package/dist/lib/security/auth-crypto/plaintext-password.js +2 -1
- package/dist/lib/security/auth-crypto/random.js +2 -1
- package/dist/lib/security/auth-crypto/rate-limits.js +79 -8
- package/dist/lib/security/auth-crypto/rule-ids.js +2 -0
- package/dist/lib/security/auth-crypto/secrets.js +132 -19
- package/dist/lib/security/auth-crypto/shared.js +1 -4
- package/dist/lib/security/auth-crypto/signature-verification.js +29 -0
- package/dist/lib/security/auth-crypto/transport-and-ciphers.js +43 -3
- package/dist/lib/security/auth-crypto/weak-hash.js +183 -0
- package/dist/lib/security/bindings.js +41 -9
- package/dist/lib/security/cli.js +84 -27
- package/dist/lib/security/cookie-csrf.js +316 -7
- package/dist/lib/security/credential-entropy.js +12 -0
- package/dist/lib/security/deps/cargo-lock.js +78 -0
- package/dist/lib/security/deps/cli.js +4 -4
- package/dist/lib/security/deps/fixed-version.js +2 -2
- package/dist/lib/security/deps/lockfiles.js +207 -17
- package/dist/lib/security/deps/osv.js +190 -59
- package/dist/lib/security/deps/scan.js +87 -19
- package/dist/lib/security/examples/{auth-crypto.cjs → auth-crypto.js} +11 -5
- package/dist/lib/security/examples/{deps.cjs → deps.js} +1 -3
- package/dist/lib/security/examples/{exposure.cjs → exposure.js} +17 -3
- package/dist/lib/security/examples/files.js +146 -0
- package/dist/lib/security/examples/{injection.cjs → injection.js} +13 -3
- package/dist/lib/security/examples/{moved.cjs → moved.js} +1 -3
- package/dist/lib/security/examples/{request-forgery.cjs → request-forgery.js} +2 -4
- package/dist/lib/security/exposure/backend-security-mastery.js +2 -1
- package/dist/lib/security/exposure/client-env.js +2 -1
- package/dist/lib/security/exposure/content-disposition.js +71 -0
- package/dist/lib/security/exposure/cookies.js +200 -1
- package/dist/lib/security/exposure/cors.js +63 -4
- package/dist/lib/security/exposure/frontend-security.js +18 -62
- package/dist/lib/security/exposure/index.js +9 -0
- package/dist/lib/security/exposure/js-yaml.js +203 -0
- package/dist/lib/security/exposure/message-effects.js +266 -0
- package/dist/lib/security/exposure/package-manifest.js +2 -2
- package/dist/lib/security/exposure/prototype-pollution.js +99 -5
- package/dist/lib/security/exposure/reflected-xss.js +47 -12
- package/dist/lib/security/exposure/response-content-type.js +181 -0
- package/dist/lib/security/exposure/rule-ids.js +4 -0
- package/dist/lib/security/exposure/trust-boundary.js +142 -0
- package/dist/lib/security/exposure/url-secrets.js +38 -2
- package/dist/lib/security/exposure/webhook-verification.js +231 -0
- package/dist/lib/security/express-registration.js +45 -0
- package/dist/lib/security/express-router-factories.js +118 -0
- package/dist/lib/security/files/azure-pipelines.js +69 -0
- package/dist/lib/security/files/bitbucket-pipelines.js +32 -0
- package/dist/lib/security/files/ci-platforms.js +16 -0
- package/dist/lib/security/files/ci-shared.js +260 -0
- package/dist/lib/security/files/circleci.js +81 -0
- package/dist/lib/security/files/component-markup.js +66 -0
- package/dist/lib/security/files/compose.js +2 -1
- package/dist/lib/security/files/dockerfile.js +188 -3
- package/dist/lib/security/files/github-actions.js +490 -0
- package/dist/lib/security/files/gitlab-ci.js +90 -0
- package/dist/lib/security/files/hcl.js +264 -0
- package/dist/lib/security/files/hosting-config.js +159 -0
- package/dist/lib/security/files/http-headers.js +65 -0
- package/dist/lib/security/files/index.js +182 -33
- package/dist/lib/security/files/jenkinsfile.js +482 -0
- package/dist/lib/security/files/json-nodes.js +67 -0
- package/dist/lib/security/files/kubernetes.js +136 -0
- package/dist/lib/security/files/nginx.js +501 -0
- package/dist/lib/security/files/package-scripts.js +175 -0
- package/dist/lib/security/files/project-files.js +98 -31
- package/dist/lib/security/files/rule-ids.js +31 -0
- package/dist/lib/security/files/secret-values.js +31 -5
- package/dist/lib/security/files/secrets.js +53 -18
- package/dist/lib/security/files/terraform.js +345 -0
- package/dist/lib/security/injection/code.js +33 -5
- package/dist/lib/security/injection/command.js +51 -4
- package/dist/lib/security/injection/escape-preserving.js +219 -0
- package/dist/lib/security/injection/escape-replace.js +174 -2
- package/dist/lib/security/injection/index.js +5 -1
- package/dist/lib/security/injection/nosql.js +3 -2
- package/dist/lib/security/injection/redos.js +25 -4
- package/dist/lib/security/injection/rule-ids.js +3 -0
- package/dist/lib/security/injection/shell-output-guard.js +97 -0
- package/dist/lib/security/injection/sql.js +53 -2
- package/dist/lib/security/injection/xpath.js +35 -0
- package/dist/lib/security/lexical-declaration.js +28 -0
- package/dist/lib/security/pg-identifier-guards.js +146 -5
- package/dist/lib/security/phase5-rules.js +1 -0
- package/dist/lib/security/polyglot.js +35 -3
- package/dist/lib/security/provider-credentials.js +29 -0
- package/dist/lib/security/redirect-settings.js +131 -6
- package/dist/lib/security/request-forgery/contained-helper.js +75 -0
- package/dist/lib/security/request-forgery/member-chain.js +41 -0
- package/dist/lib/security/request-forgery/open-redirect-query.js +2 -1
- package/dist/lib/security/request-forgery/open-redirect.js +69 -9
- package/dist/lib/security/request-forgery/parsed-host-guard.js +213 -0
- package/dist/lib/security/request-forgery/path-traversal.js +36 -1
- package/dist/lib/security/request-forgery/shared.js +205 -30
- package/dist/lib/security/request-forgery/ssrf.js +145 -1
- package/dist/lib/security/rule-descriptions.js +46 -1
- package/dist/lib/security/rule-ids.js +50 -0
- package/dist/lib/security/scope/drizzle-policy.js +2 -1
- package/dist/lib/security/scope/kysely-policy.js +173 -0
- package/dist/lib/security/site-fixes/auth-crypto.js +3 -1
- package/dist/lib/security/taint/accessors.js +364 -0
- package/dist/lib/security/taint/array-writes.js +139 -0
- package/dist/lib/security/taint/binding-inputs.js +4 -3
- package/dist/lib/security/taint/field-access.js +80 -0
- package/dist/lib/security/taint/filename-guard.js +81 -6
- package/dist/lib/security/taint/guards.js +150 -17
- package/dist/lib/security/taint/index.js +41 -116
- package/dist/lib/security/taint/original-string-validation.js +229 -0
- package/dist/lib/security/taint/propagate.js +5 -6
- package/dist/lib/security/taint/resolution-cache.js +10 -1
- package/dist/lib/security/taint/sanitizers.js +5 -5
- package/dist/lib/security/taint/shape-flows.js +128 -0
- package/dist/lib/security/taint/sink-alphabets.js +237 -0
- package/dist/lib/security/taint/sources.js +151 -8
- package/dist/lib/security/taint/trace-nodes.js +35 -2
- package/dist/lib/security/taint/validators.js +59 -20
- package/dist/lib/security/trusted-bindings.js +44 -0
- package/dist/lib/shared/agent/agent-init.js +84 -9
- package/dist/lib/shared/agent/agent-integrations.js +626 -0
- package/dist/lib/shared/agent/agent-prompt.js +2 -1
- package/dist/lib/shared/agent/agent-session.js +1 -1
- package/dist/lib/shared/agent/agent-toml.js +98 -0
- package/dist/lib/shared/agent/agent-verify.js +21 -3
- package/dist/lib/shared/agent/git-hook.js +31 -4
- package/dist/lib/shared/agent/notify-editor.js +2 -1
- package/dist/lib/shared/agent/review-delivery.js +3 -1
- package/dist/lib/shared/agent/review-mcp.js +67 -13
- package/dist/lib/shared/agent/review-request.js +4 -0
- package/dist/lib/shared/analysis/ast-helpers.js +50 -0
- package/dist/lib/shared/analysis/ast-semantics.js +23 -1
- package/dist/lib/shared/analysis/binding-names.js +13 -0
- package/dist/lib/shared/analysis/execution-context.js +49 -9
- package/dist/lib/shared/analysis/hot-path-graph.js +55 -19
- package/dist/lib/shared/analysis/next-env-config.js +232 -0
- package/dist/lib/shared/analysis/polyglot-compatibility.js +102 -23
- package/dist/lib/shared/analysis/scan-cache-git.js +114 -0
- package/dist/lib/shared/analysis/scan-cache-loadwise-packages.js +54 -0
- package/dist/lib/shared/analysis/scan-cache-project-inputs.js +221 -0
- package/dist/lib/shared/analysis/scan-cache-sources.js +235 -0
- package/dist/lib/shared/analysis/scan-cache-storage.js +204 -0
- package/dist/lib/shared/analysis/scan-cache.js +373 -166
- package/dist/lib/shared/analysis/valid-javascript.js +118 -0
- package/dist/lib/shared/changed-lines.js +129 -0
- package/dist/lib/shared/check-options.js +63 -0
- package/dist/lib/shared/check-watch-inputs.js +152 -0
- package/dist/lib/shared/check-watch-process.js +57 -0
- package/dist/lib/shared/check-watch.js +136 -0
- package/dist/lib/shared/check.js +97 -40
- package/dist/lib/shared/completion-shells.js +127 -0
- package/dist/lib/shared/completion.js +124 -0
- package/dist/lib/shared/config-rule-validation.js +135 -0
- package/dist/lib/shared/config.js +330 -163
- package/dist/lib/shared/conventional-projects.js +40 -0
- package/dist/lib/shared/declarative-rule-packs.js +173 -0
- package/dist/lib/shared/explain.js +47 -9
- package/dist/lib/shared/fix/fix-command.js +2 -0
- package/dist/lib/shared/fix/fix-convergence.js +45 -128
- package/dist/lib/shared/fix/fix-history.js +130 -26
- package/dist/lib/shared/fix/fix-interactive.js +78 -0
- package/dist/lib/shared/fix/fix-patch.js +89 -0
- package/dist/lib/shared/fix/fix-polyglot-preview.js +166 -0
- package/dist/lib/shared/fix/fix-presentation-biome.js +120 -0
- package/dist/lib/shared/fix/fix-presentation-prettier.js +27 -10
- package/dist/lib/shared/fix/fix-presentation-rows.js +5 -1
- package/dist/lib/shared/fix/fix-presentation.js +22 -15
- package/dist/lib/shared/fix/fix-project-membership.js +79 -0
- package/dist/lib/shared/fix/fix-reversal-proof.js +107 -0
- package/dist/lib/shared/fix/fix-reverse.js +37 -0
- package/dist/lib/shared/fix/fix-safety.js +4 -4
- package/dist/lib/shared/fix/fix-scope.js +13 -9
- package/dist/lib/shared/fix/fix-source-snapshot.js +92 -0
- package/dist/lib/shared/fix/fix-staging.js +129 -0
- package/dist/lib/shared/fix/fix-terminal.js +34 -9
- package/dist/lib/shared/fix/fix-typecheck.js +21 -8
- package/dist/lib/shared/fix/fix-usage.js +47 -0
- package/dist/lib/shared/fix/project-file-access.js +85 -29
- package/dist/lib/shared/fix/read-fix-text.js +23 -0
- package/dist/lib/shared/fix/reversal-lock.js +37 -0
- package/dist/lib/shared/fix/review-fix-mode.js +9 -0
- package/dist/lib/shared/fix.js +157 -52
- package/dist/lib/shared/formats/ci-consumers.js +84 -0
- package/dist/lib/shared/formats/finding-location.js +52 -3
- package/dist/lib/shared/formats/github.js +22 -7
- package/dist/lib/shared/formats/index.js +21 -5
- package/dist/lib/shared/formats/readable.js +63 -0
- package/dist/lib/shared/formats/report-rows.js +38 -0
- package/dist/lib/shared/formats/sarif-fixes.js +261 -0
- package/dist/lib/shared/formats/sarif.js +175 -33
- package/dist/lib/shared/formats/security-cwe.js +142 -0
- package/dist/lib/shared/node-scan.js +64 -0
- package/dist/lib/shared/package-root.js +2 -0
- package/dist/lib/shared/project-root.js +27 -1
- package/dist/lib/shared/reporting/action-comparison.js +78 -0
- package/dist/lib/shared/reporting/action-summary.js +31 -0
- package/dist/lib/shared/reporting/automatic-fix-signal.js +7 -2
- package/dist/lib/shared/reporting/baseline.js +12 -12
- package/dist/lib/shared/reporting/check-text.js +7 -5
- package/dist/lib/shared/reporting/finding-id-hash.js +7 -0
- package/dist/lib/shared/reporting/impact-levels.js +1 -1
- package/dist/lib/shared/reporting/pillar-rules.js +13 -1
- package/dist/lib/shared/reporting/pillars.js +61 -23
- package/dist/lib/shared/reporting/rule-docs.js +2 -2
- package/dist/lib/shared/reporting/rule-pack-fingerprint.js +21 -0
- package/dist/lib/shared/reporting/source-report.js +20 -6
- package/dist/lib/shared/reporting/stray-console-methods.js +1 -0
- package/dist/lib/shared/rule-registry.js +6 -1
- package/dist/lib/shared/system/atomic-write.js +12 -6
- package/dist/lib/shared/system/component-source.js +28 -0
- package/dist/lib/shared/system/environment.js +12 -0
- package/dist/lib/shared/system/file-key.js +8 -0
- package/dist/lib/shared/system/git.js +62 -0
- package/dist/lib/shared/system/glob.js +233 -28
- package/dist/lib/shared/system/jsonc-config.js +63 -0
- package/dist/lib/shared/system/path-inside.js +19 -0
- package/dist/lib/shared/system/posix-path.js +22 -0
- package/dist/lib/shared/system/read-json.js +10 -0
- package/dist/lib/shared/system/sentry.js +6 -3
- package/dist/lib/shared/system/terminal-style.js +2 -2
- package/dist/lib/shared/system/text-helpers.js +40 -0
- package/dist/lib/shared/system/windows-orphans-script.js +75 -0
- package/dist/lib/shared/system/windows-orphans.js +28 -0
- package/dist/lib/shared/types/changed-lines.js +1 -0
- package/dist/lib/shared/types/completion.js +1 -0
- package/dist/lib/shared/workspace-selection.js +67 -0
- package/dist/lib/shared/workspaces.js +215 -68
- package/dist/polyglot/maintainability/rules.js +119 -3
- package/examples/README.md +45 -0
- package/examples/clean/avatar.html +1 -0
- package/examples/clean/source.ts +10 -0
- package/examples/clean/tsconfig.json +4 -0
- package/examples/findings/avatar.html +1 -0
- package/examples/findings/source.ts +11 -0
- package/examples/findings/tsconfig.json +4 -0
- package/examples/labels-clean.py +5 -0
- package/integrations/zed/Cargo.lock +1 -1
- package/integrations/zed/Cargo.toml +1 -1
- package/integrations/zed/LICENSE +201 -0
- package/integrations/zed/extension.toml +3 -3
- package/integrations/zed/extension.wasm +0 -0
- package/integrations/zed/src/lib.rs +108 -8
- package/package.json +28 -14
- package/polyglot/performance/rules/csharp.yml +173 -10
- package/polyglot/performance/rules/go.yml +15 -7
- package/polyglot/performance/rules/input.yml +12 -0
- package/polyglot/performance/rules/java.yml +52 -1
- package/polyglot/performance/rules/php.yml +146 -0
- package/polyglot/performance/rules/python.yml +7 -3
- package/polyglot/performance/rules/ruby.yml +81 -0
- package/polyglot/performance/sgconfig.yml +2 -0
- package/polyglot/reliability/rules/csharp.yml +105 -0
- package/polyglot/reliability/rules/go.yml +339 -0
- package/polyglot/reliability/rules/input.yml +6 -0
- package/polyglot/reliability/rules/java.yml +218 -0
- package/polyglot/reliability/rules/kotlin.yml +49 -0
- package/polyglot/reliability/rules/python.yml +288 -0
- package/polyglot/reliability/rules/rust.yml +83 -0
- package/polyglot/reliability/sgconfig.yml +1 -0
- package/polyglot/security/rules/csharp.yml +143 -3
- package/polyglot/security/rules/go.yml +59 -4
- package/polyglot/security/rules/java.yml +103 -0
- package/polyglot/security/rules/python.yml +413 -21
- package/polyglot/security/rules/rust.yml +176 -3
- package/polyglot/security/sgconfig.yml +2 -0
- package/polyglot/security/utils/java-imported-jca-cipher.yml +32 -0
- package/polyglot/security/utils/java-unshadowed-javax.yml +29 -0
- package/schema/loadwise.config.schema.json +1137 -600
- package/schema/loadwise.outcomes.schema.json +43 -0
- package/types/scan.d.ts +53 -0
- package/dist/lib/maintainability/site-fixes/exports.js +0 -25
- package/dist/lib/security/examples/files.cjs +0 -30
- package/docs/assets/cli-workflow.gif +0 -0
- package/plugin/.claude-plugin/plugin.json +0 -9
- package/plugin/commands/loadwise.md +0 -29
- package/plugin/hooks/check-edited-file.mjs +0 -173
- package/plugin/hooks/hooks.json +0 -17
- /package/dist/lib/{maintainability/types/changed-lines.js → editor/types/workspace-fix.js} +0 -0
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "loadwise.config.json",
|
|
4
4
|
"type": "object",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"projectRelativeFolder": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "A project-relative folder, or . for the project root.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"pattern": "^\\.(?:[/\\\\]\\.[/\\\\]?)?$"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"pattern": "^(?:\\.[/\\\\])?[^/\\\\\\u0000]+(?:[/\\\\][^/\\\\\\u0000]+)*[/\\\\]?$",
|
|
15
|
+
"not": {
|
|
16
|
+
"$comment": "The runtime trims a trailing separator only when it follows a character matched by JavaScript's dot.",
|
|
17
|
+
"pattern": "^(?:(?:\\.[/\\\\])?[A-Za-z]:|\\.\\.(?:[/\\\\]|$)|\\.[/\\\\]?$)|[/\\\\]\\.{1,2}(?:[/\\\\]|$)|[\\r\\n\\u2028\\u2029][/\\\\]$"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
5
23
|
"properties": {
|
|
6
24
|
"$schema": {
|
|
7
25
|
"type": "string"
|
|
@@ -17,300 +35,462 @@
|
|
|
17
35
|
"ignore": {
|
|
18
36
|
"type": "array",
|
|
19
37
|
"items": {
|
|
20
|
-
"
|
|
21
|
-
|
|
38
|
+
"oneOf": [
|
|
39
|
+
{
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"include": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 1
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": ["include"],
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
]
|
|
22
55
|
},
|
|
23
|
-
"description": "
|
|
56
|
+
"description": "Ordered path globs relative to this file. Strings exclude paths and include objects re-include them."
|
|
24
57
|
},
|
|
25
58
|
"rules": {
|
|
26
59
|
"type": "object",
|
|
27
60
|
"propertyNames": {
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"enum": [
|
|
64
|
+
"a11y-aria-hidden-focus",
|
|
65
|
+
"a11y-aria-role-missing-checked",
|
|
66
|
+
"a11y-button-missing-name",
|
|
67
|
+
"a11y-button-missing-type",
|
|
68
|
+
"a11y-clickable-non-interactive",
|
|
69
|
+
"a11y-competing-autofocus",
|
|
70
|
+
"a11y-data-table-missing-headers",
|
|
71
|
+
"a11y-heading-level-skipped",
|
|
72
|
+
"a11y-html-invalid-lang",
|
|
73
|
+
"a11y-html-missing-lang",
|
|
74
|
+
"a11y-iframe-missing-title",
|
|
75
|
+
"a11y-img-missing-alt",
|
|
76
|
+
"a11y-input-missing-autocomplete",
|
|
77
|
+
"a11y-invalid-aria",
|
|
78
|
+
"a11y-invalid-id-reference",
|
|
79
|
+
"a11y-link-text-not-descriptive",
|
|
80
|
+
"a11y-media-autoplay",
|
|
81
|
+
"a11y-missing-form-label",
|
|
82
|
+
"a11y-nested-interactive",
|
|
83
|
+
"a11y-placeholder-link-action",
|
|
84
|
+
"a11y-positive-tabindex",
|
|
85
|
+
"a11y-svg-image-missing-name",
|
|
86
|
+
"a11y-video-captions-review",
|
|
87
|
+
"a11y-viewport-zoom-disabled",
|
|
88
|
+
"angular-bypass-security-trust",
|
|
89
|
+
"angular-default-change-detection",
|
|
90
|
+
"angular-ngfor-missing-trackby",
|
|
91
|
+
"angular-subscribe-without-cleanup",
|
|
92
|
+
"angular-template-method-call",
|
|
93
|
+
"api-enum-value-removed",
|
|
94
|
+
"api-removed-field",
|
|
95
|
+
"api-removed-operation",
|
|
96
|
+
"api-required-input",
|
|
97
|
+
"api-type-changed",
|
|
98
|
+
"arguments-object",
|
|
99
|
+
"array-repeated-find",
|
|
100
|
+
"array-repeated-membership",
|
|
101
|
+
"array-shift-in-fifo-drain",
|
|
102
|
+
"assignment-in-condition",
|
|
103
|
+
"async-array-predicate",
|
|
104
|
+
"async-callback-unhandled-rejection",
|
|
105
|
+
"async-promise-executor",
|
|
106
|
+
"async-route-unhandled-rejection",
|
|
107
|
+
"auth-route-without-rate-limit",
|
|
108
|
+
"await-before-early-exit",
|
|
109
|
+
"azure-pipelines-script-injection",
|
|
110
|
+
"bcrypt-low-cost",
|
|
111
|
+
"bitbucket-pipelines-script-injection",
|
|
112
|
+
"bitbucket-pipelines-unpinned-image",
|
|
113
|
+
"browser-not-closed",
|
|
114
|
+
"check-then-update-race",
|
|
115
|
+
"child-process-without-error-listener",
|
|
116
|
+
"circleci-script-injection",
|
|
117
|
+
"circleci-unpinned-image",
|
|
118
|
+
"circleci-unpinned-orb",
|
|
119
|
+
"client-env-secret-exposed",
|
|
120
|
+
"code-injection",
|
|
121
|
+
"command-injection",
|
|
122
|
+
"committed-secret",
|
|
123
|
+
"compose-hardcoded-secret",
|
|
124
|
+
"config-cors-credentials-any-origin",
|
|
125
|
+
"config-unsafe-security-header",
|
|
126
|
+
"cookie-missing-security-flags",
|
|
127
|
+
"cors-credentials-any-origin",
|
|
128
|
+
"cors-origin-regex-unanchored",
|
|
129
|
+
"count-then-page-serial",
|
|
130
|
+
"crlf-unsafe-line-split",
|
|
131
|
+
"csharp-async-void",
|
|
132
|
+
"csharp-binaryformatter-request-deserialization",
|
|
133
|
+
"csharp-disposable-without-using",
|
|
134
|
+
"csharp-ef-count-materialized",
|
|
135
|
+
"csharp-ef-from-sql-raw",
|
|
136
|
+
"csharp-ef-query-in-loop",
|
|
137
|
+
"csharp-fixed-regex-in-loop",
|
|
138
|
+
"csharp-process-start",
|
|
139
|
+
"csharp-string-concat-in-loop",
|
|
140
|
+
"csharp-sync-task-wait-in-async",
|
|
141
|
+
"data-access-boundary",
|
|
142
|
+
"database-error-in-response",
|
|
143
|
+
"db-duplicate-index",
|
|
144
|
+
"db-missing-index",
|
|
145
|
+
"db-pool-client-not-released",
|
|
146
|
+
"db-seq-scan-heavy-table",
|
|
147
|
+
"db-slow-query-plan",
|
|
148
|
+
"db-sqlite-large-scan",
|
|
149
|
+
"db-unindexed-foreign-key",
|
|
150
|
+
"db-unused-index",
|
|
151
|
+
"deep-control-flow",
|
|
152
|
+
"dependency-cycle",
|
|
153
|
+
"dependency-known-vulnerability",
|
|
154
|
+
"deprecated-node-api",
|
|
155
|
+
"discarded-error-result",
|
|
156
|
+
"discarded-file-write-count",
|
|
157
|
+
"discarded-signature-verification-result",
|
|
158
|
+
"dockerfile-add-remote-url",
|
|
159
|
+
"dockerfile-npm-install",
|
|
160
|
+
"dockerfile-runs-as-root",
|
|
161
|
+
"dockerfile-secret-in-build",
|
|
162
|
+
"dockerfile-unpinned-base-image",
|
|
163
|
+
"dom-layout-thrashing",
|
|
164
|
+
"dom-listener-without-cleanup",
|
|
165
|
+
"dom-unthrottled-scroll-resize",
|
|
166
|
+
"dom-xss-sink",
|
|
167
|
+
"double-type-assertion",
|
|
168
|
+
"drizzle-last-insert-id",
|
|
169
|
+
"drizzle-query-in-loop",
|
|
170
|
+
"drizzle-scope-unverified",
|
|
171
|
+
"drizzle-sql-raw-dynamic",
|
|
172
|
+
"drizzle-unfiltered-write",
|
|
173
|
+
"drizzle-write-preflight",
|
|
174
|
+
"duplicate-implementation",
|
|
175
|
+
"error-logged-without-stack",
|
|
176
|
+
"error-rethrown-without-cause",
|
|
177
|
+
"error-stack-in-response",
|
|
178
|
+
"escape-replace-incomplete",
|
|
179
|
+
"explicit-any",
|
|
180
|
+
"express-cookie-auth-missing-csrf",
|
|
181
|
+
"express-missing-compression",
|
|
182
|
+
"express-missing-helmet",
|
|
183
|
+
"external-call-in-transaction",
|
|
184
|
+
"file-handle-not-closed",
|
|
185
|
+
"file-placement",
|
|
186
|
+
"filter-for-existence",
|
|
187
|
+
"find-then-create-race",
|
|
188
|
+
"floating-promise",
|
|
189
|
+
"focused-test-committed",
|
|
190
|
+
"folder-boundary",
|
|
191
|
+
"frontend-barrel-heavy-import",
|
|
192
|
+
"frontend-navigation-without-link",
|
|
193
|
+
"frontend-render-blocking-script",
|
|
194
|
+
"frontend-storage-secret-token",
|
|
195
|
+
"github-actions-pull-request-target-checkout",
|
|
196
|
+
"github-actions-script-injection",
|
|
197
|
+
"github-actions-unpinned-action",
|
|
198
|
+
"gitlab-ci-script-injection",
|
|
199
|
+
"gitlab-ci-unpinned-image",
|
|
200
|
+
"gitlab-ci-unpinned-include",
|
|
201
|
+
"go-defer-before-error-check",
|
|
202
|
+
"go-error-discarded",
|
|
203
|
+
"go-exec-command-shell",
|
|
204
|
+
"go-fixed-regexp-in-loop",
|
|
205
|
+
"go-http-call-without-deadline",
|
|
206
|
+
"go-http-response-body-not-closed",
|
|
207
|
+
"go-sql-query-in-loop",
|
|
208
|
+
"go-sql-rows-leaked",
|
|
209
|
+
"go-sql-rows-unchecked-err",
|
|
210
|
+
"go-sql-sprintf-injection",
|
|
211
|
+
"go-string-concat-in-loop",
|
|
212
|
+
"go-tls-insecure-skip-verify",
|
|
213
|
+
"graphql-batching-unbounded",
|
|
214
|
+
"graphql-introspection-enabled",
|
|
215
|
+
"graphql-n-plus-one-resolver",
|
|
216
|
+
"graphql-query-depth-unbounded",
|
|
217
|
+
"guard-query-per-request",
|
|
218
|
+
"hardcoded-secret",
|
|
219
|
+
"heavy-media-in-request-handler",
|
|
220
|
+
"high-branch-complexity",
|
|
221
|
+
"hosting-redirect-external-wildcard",
|
|
222
|
+
"http-call-without-timeout",
|
|
223
|
+
"index-missing-filter",
|
|
224
|
+
"index-missing-foreign-key",
|
|
225
|
+
"index-missing-order",
|
|
226
|
+
"index-redundant-prefix",
|
|
227
|
+
"index-unusable-expression",
|
|
228
|
+
"index-unusable-pattern",
|
|
229
|
+
"insecure-cipher",
|
|
230
|
+
"insecure-deserialization",
|
|
231
|
+
"insecure-random-for-secret",
|
|
232
|
+
"interval-not-cleared",
|
|
233
|
+
"invalid-typeof-comparison",
|
|
234
|
+
"java-des-cipher",
|
|
235
|
+
"java-fixed-regex-in-loop",
|
|
236
|
+
"java-jdbc-query-in-loop",
|
|
237
|
+
"java-objectinputstream-request-deserialization",
|
|
238
|
+
"java-resource-without-try",
|
|
239
|
+
"java-runtime-exec",
|
|
240
|
+
"java-shared-date-format",
|
|
241
|
+
"java-sql-string-concat",
|
|
242
|
+
"java-string-concat-in-loop",
|
|
243
|
+
"jenkinsfile-credential-interpolation",
|
|
244
|
+
"jenkinsfile-script-injection",
|
|
245
|
+
"js-fixed-regexp-in-loop",
|
|
246
|
+
"js-yaml-unsafe-schema",
|
|
247
|
+
"json-parse-unguarded",
|
|
248
|
+
"json-roundtrip-clone",
|
|
249
|
+
"json-stringify-in-loop",
|
|
250
|
+
"jsx-javascript-url",
|
|
251
|
+
"jwt-decode-for-auth",
|
|
252
|
+
"jwt-none-algorithm",
|
|
253
|
+
"jwt-sign-without-expiry",
|
|
254
|
+
"jwt-verify-without-algorithms",
|
|
255
|
+
"jwt-weak-secret-literal",
|
|
256
|
+
"knex-raw-dynamic-text",
|
|
257
|
+
"known-reads-awaited-serially",
|
|
258
|
+
"kotlin-run-blocking-in-suspend",
|
|
259
|
+
"kubernetes-privileged-container",
|
|
260
|
+
"kysely-scope-unverified",
|
|
261
|
+
"large-class",
|
|
262
|
+
"large-module",
|
|
263
|
+
"ldap-filter-injection",
|
|
264
|
+
"list-count-per-request",
|
|
265
|
+
"list-query-overfetch",
|
|
266
|
+
"llm-call-without-max-tokens",
|
|
267
|
+
"long-parameter-list",
|
|
268
|
+
"loop-copy-accumulator",
|
|
269
|
+
"loop-index-past-length",
|
|
270
|
+
"lossy-same-file-text-rewrite",
|
|
271
|
+
"mass-assignment",
|
|
272
|
+
"migration-breaking-drop",
|
|
273
|
+
"migration-breaking-rename",
|
|
274
|
+
"migration-column-type-rewrite",
|
|
275
|
+
"migration-concurrent-in-transaction",
|
|
276
|
+
"migration-constraint-not-valid",
|
|
277
|
+
"migration-constraint-without-index",
|
|
278
|
+
"migration-index-not-concurrent",
|
|
279
|
+
"migration-missing-lock-timeout",
|
|
280
|
+
"migration-mysql-lock-unspecified",
|
|
281
|
+
"migration-mysql-table-copy",
|
|
282
|
+
"migration-not-null-without-default",
|
|
283
|
+
"migration-set-not-null-scan",
|
|
284
|
+
"migration-sqlserver-offline-index",
|
|
285
|
+
"migration-table-access-exclusive-lock",
|
|
286
|
+
"migration-table-rewrite-command",
|
|
287
|
+
"migration-unparsed",
|
|
288
|
+
"migration-volatile-default",
|
|
289
|
+
"mongo-collection-scan-observed",
|
|
290
|
+
"mongoose-aggregate-uncast-id",
|
|
291
|
+
"mongoose-hydrate-for-to-object",
|
|
292
|
+
"mongoose-missing-lean",
|
|
293
|
+
"mysql-dynamic-query-text",
|
|
294
|
+
"nan-comparison",
|
|
295
|
+
"nest-validation-without-whitelist",
|
|
296
|
+
"next-client-fetched-page-content",
|
|
297
|
+
"next-image-any-remote-host",
|
|
298
|
+
"next-missing-route-metadata",
|
|
299
|
+
"next-server-env-in-client",
|
|
300
|
+
"next-server-fetch-waterfall",
|
|
301
|
+
"next-sitewide-noindex",
|
|
302
|
+
"nginx-proxy-pass-request-host",
|
|
303
|
+
"node-callback-api",
|
|
304
|
+
"node-event-listener-leak",
|
|
305
|
+
"node-sync-compression-in-async",
|
|
306
|
+
"node-sync-crypto-in-async",
|
|
307
|
+
"node-sync-fs-in-async",
|
|
308
|
+
"node-sync-process-in-async",
|
|
309
|
+
"nosql-operator-injection",
|
|
310
|
+
"notification-send-in-loop",
|
|
311
|
+
"numeric-array-default-sort",
|
|
312
|
+
"numeric-sort-for-extreme",
|
|
313
|
+
"open-redirect",
|
|
314
|
+
"orm-cartesian-include",
|
|
315
|
+
"orm-count-materialization",
|
|
316
|
+
"orm-deep-offset",
|
|
317
|
+
"orm-query-in-loop",
|
|
318
|
+
"package-script-remote-code",
|
|
319
|
+
"package-script-tls-verification-disabled",
|
|
320
|
+
"parse-failure-resets-file",
|
|
321
|
+
"password-hash-in-response",
|
|
322
|
+
"password-hash-pure-js",
|
|
323
|
+
"password-hash-sync-in-async",
|
|
324
|
+
"path-traversal",
|
|
325
|
+
"payment-missing-idempotency-key",
|
|
326
|
+
"pg-advisory-lock-session",
|
|
327
|
+
"pg-count-materialization",
|
|
328
|
+
"pg-dynamic-query-text",
|
|
329
|
+
"pg-filter-materialization",
|
|
330
|
+
"pg-first-materialization",
|
|
331
|
+
"pg-listen-session",
|
|
332
|
+
"pg-query-in-loop",
|
|
333
|
+
"pg-top-k-materialization",
|
|
334
|
+
"pg-transaction-on-pool",
|
|
335
|
+
"pg-unreleased-checkout",
|
|
336
|
+
"php-eloquent-query-in-loop",
|
|
337
|
+
"plaintext-password-storage",
|
|
338
|
+
"pool-created-per-request-or-item",
|
|
339
|
+
"pool-without-connection-timeout",
|
|
340
|
+
"postmessage-missing-origin-check",
|
|
341
|
+
"prisma-count-for-existence",
|
|
342
|
+
"prisma-count-materialization",
|
|
343
|
+
"prisma-dependent-writes",
|
|
344
|
+
"prisma-distinct-in-memory",
|
|
345
|
+
"prisma-filter-materialization",
|
|
346
|
+
"prisma-first-materialization",
|
|
347
|
+
"prisma-query-in-loop",
|
|
348
|
+
"prisma-raw-unsafe-dynamic",
|
|
349
|
+
"prisma-read-modify-write",
|
|
350
|
+
"prisma-relation-count-in-list",
|
|
351
|
+
"prisma-scope-unverified",
|
|
352
|
+
"prisma-top-k-materialization",
|
|
353
|
+
"prisma-transaction-client-escape",
|
|
354
|
+
"promise-combinator-serial-await",
|
|
355
|
+
"promise-return-escapes-catch",
|
|
356
|
+
"prototype-pollution",
|
|
357
|
+
"python-bare-except",
|
|
358
|
+
"python-blocking-sleep-in-async",
|
|
359
|
+
"python-copy-growing-list",
|
|
360
|
+
"python-file-not-closed",
|
|
361
|
+
"python-fixed-regex-in-loop",
|
|
362
|
+
"python-insecure-deserialization",
|
|
363
|
+
"python-interactive-debugger",
|
|
364
|
+
"python-mutated-mutable-default",
|
|
365
|
+
"python-n-plus-one-orm-loop",
|
|
366
|
+
"python-requests-tls-verify-disabled",
|
|
367
|
+
"python-requests-without-timeout",
|
|
368
|
+
"python-sqlite-unbound-value",
|
|
369
|
+
"python-subprocess-shell-true",
|
|
370
|
+
"python-swallowed-exception",
|
|
371
|
+
"python-sync-requests-in-async",
|
|
372
|
+
"python-unbounded-comprehension",
|
|
373
|
+
"python-unsafe-yaml-load",
|
|
374
|
+
"query-mutates-state",
|
|
375
|
+
"query-runner-not-released",
|
|
376
|
+
"queue-add-in-loop",
|
|
377
|
+
"raw-content-disposition-filename",
|
|
378
|
+
"react-async-effect-callback",
|
|
379
|
+
"react-component-defined-in-component",
|
|
380
|
+
"react-context-value-recreated",
|
|
381
|
+
"react-dangerously-set-inner-html",
|
|
382
|
+
"react-effect-sets-state-every-render",
|
|
383
|
+
"react-fetch-in-effect-no-abort",
|
|
384
|
+
"react-index-as-key",
|
|
385
|
+
"react-inline-object-in-jsx-prop",
|
|
386
|
+
"react-list-missing-key",
|
|
387
|
+
"react-missing-cleanup",
|
|
388
|
+
"react-state-mutated-in-place",
|
|
389
|
+
"react-unthrottled-input-fetch",
|
|
390
|
+
"rebuild-lookup-in-loop",
|
|
391
|
+
"redis-command-in-loop",
|
|
392
|
+
"redis-incr-then-expire",
|
|
393
|
+
"redis-keys-command",
|
|
394
|
+
"reduce-copy-accumulator",
|
|
395
|
+
"redundant-promise-wrapper",
|
|
396
|
+
"reflected-xss-response",
|
|
397
|
+
"regex-catastrophic-backtracking",
|
|
398
|
+
"regex-from-input",
|
|
399
|
+
"repeated-workbook-decode",
|
|
400
|
+
"request-number-unvalidated",
|
|
401
|
+
"request-selected-executable",
|
|
402
|
+
"retry-without-backoff",
|
|
403
|
+
"return-in-finally",
|
|
404
|
+
"return-newline",
|
|
405
|
+
"ruby-active-record-query-in-loop",
|
|
406
|
+
"rust-blocking-std-in-async",
|
|
407
|
+
"rust-clone-in-loop",
|
|
408
|
+
"rust-command-shell",
|
|
409
|
+
"rust-fixed-regex-in-loop",
|
|
410
|
+
"rust-format-in-loop",
|
|
411
|
+
"rust-mutex-guard-across-await",
|
|
412
|
+
"rust-reqwest-danger-accept-invalid-certs",
|
|
413
|
+
"rust-unsafe-raw-pointer-deref",
|
|
414
|
+
"rust-unwrap-in-production",
|
|
415
|
+
"same-file-stream-truncation",
|
|
416
|
+
"secret-compared-non-constant-time",
|
|
417
|
+
"secret-in-log",
|
|
418
|
+
"secret-in-url-query",
|
|
419
|
+
"sequelize-dynamic-query-text",
|
|
420
|
+
"sequential-http-in-loop",
|
|
421
|
+
"serial-awaits-in-literal",
|
|
422
|
+
"server-action-missing-auth",
|
|
423
|
+
"service-query-in-loop",
|
|
424
|
+
"session-memory-store",
|
|
425
|
+
"sql-insert-truncated-at-semicolon",
|
|
426
|
+
"sql-select-star-in-query",
|
|
427
|
+
"ssrf-redirect-bypass",
|
|
428
|
+
"ssrf-request-url",
|
|
429
|
+
"storage-object-public-acl",
|
|
430
|
+
"stray-console",
|
|
431
|
+
"stream-pipe-unhandled-error",
|
|
432
|
+
"swallowed-error",
|
|
433
|
+
"switch-not-exhaustive",
|
|
434
|
+
"template-autoescape-disabled",
|
|
435
|
+
"template-injection",
|
|
436
|
+
"template-raw-html-binding",
|
|
437
|
+
"terraform-admin-port-open-to-world",
|
|
438
|
+
"terraform-database-publicly-accessible",
|
|
439
|
+
"terraform-hardcoded-credential",
|
|
440
|
+
"terraform-storage-bucket-public",
|
|
441
|
+
"terraform-storage-encryption-disabled",
|
|
442
|
+
"test-cleanup-after-await",
|
|
443
|
+
"then-chain-in-async",
|
|
444
|
+
"throw-non-error",
|
|
445
|
+
"tls-verification-disabled",
|
|
446
|
+
"trust-boundary-violation",
|
|
447
|
+
"ts-suppression-without-reason",
|
|
448
|
+
"tsconfig-strict-disabled",
|
|
449
|
+
"typeorm-dynamic-query-text",
|
|
450
|
+
"typeorm-existence-materialization",
|
|
451
|
+
"typeorm-load-then-save",
|
|
452
|
+
"typeorm-transaction-client-escape",
|
|
453
|
+
"typeorm-transaction-in-loop",
|
|
454
|
+
"typeorm-unused-count",
|
|
455
|
+
"typeorm-wide-projection",
|
|
456
|
+
"unbounded-list-query",
|
|
457
|
+
"unbounded-module-cache",
|
|
458
|
+
"unbounded-promise-all",
|
|
459
|
+
"uncaught-exception-continues",
|
|
460
|
+
"unchecked-json-cast",
|
|
461
|
+
"unguarded-boundary-access",
|
|
462
|
+
"unreachable-code",
|
|
463
|
+
"unreferenced-file",
|
|
464
|
+
"unsafe-wide-type",
|
|
465
|
+
"unused-dependency",
|
|
466
|
+
"unused-export",
|
|
467
|
+
"unused-import",
|
|
468
|
+
"unused-local-function",
|
|
469
|
+
"unused-local-variable",
|
|
470
|
+
"upload-client-filename",
|
|
471
|
+
"upload-without-size-limit",
|
|
472
|
+
"var-declaration",
|
|
473
|
+
"vm-sandbox-escape",
|
|
474
|
+
"vue-v-for-missing-key",
|
|
475
|
+
"vue-v-html-unsanitized",
|
|
476
|
+
"vue-v-if-with-v-for",
|
|
477
|
+
"vue-watch-missing-cleanup",
|
|
478
|
+
"weak-hash",
|
|
479
|
+
"weak-password-hash",
|
|
480
|
+
"web-server-directory-listing",
|
|
481
|
+
"web-server-legacy-tls",
|
|
482
|
+
"web-server-version-exposed",
|
|
483
|
+
"webhook-body-without-verification",
|
|
484
|
+
"webhook-missing-idempotency-check",
|
|
485
|
+
"whole-payload-in-memory",
|
|
486
|
+
"xml-external-entities",
|
|
487
|
+
"xpath-injection",
|
|
488
|
+
"zip-slip-extraction"
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"pattern": "^project-[a-z0-9]+(?:-[a-z0-9]+)*--[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
493
|
+
}
|
|
314
494
|
]
|
|
315
495
|
},
|
|
316
496
|
"additionalProperties": {
|
|
@@ -486,7 +666,8 @@
|
|
|
486
666
|
"properties": {
|
|
487
667
|
"minCost": {
|
|
488
668
|
"type": "integer",
|
|
489
|
-
"minimum": 1
|
|
669
|
+
"minimum": 1,
|
|
670
|
+
"maximum": 31
|
|
490
671
|
}
|
|
491
672
|
},
|
|
492
673
|
"additionalProperties": false
|
|
@@ -497,7 +678,7 @@
|
|
|
497
678
|
}
|
|
498
679
|
]
|
|
499
680
|
},
|
|
500
|
-
"
|
|
681
|
+
"duplicate-implementation": {
|
|
501
682
|
"oneOf": [
|
|
502
683
|
{
|
|
503
684
|
"enum": ["off", "warn", "error"]
|
|
@@ -511,9 +692,10 @@
|
|
|
511
692
|
"options": {
|
|
512
693
|
"type": "object",
|
|
513
694
|
"properties": {
|
|
514
|
-
"
|
|
695
|
+
"minNodes": {
|
|
515
696
|
"type": "integer",
|
|
516
|
-
"minimum": 1
|
|
697
|
+
"minimum": 1,
|
|
698
|
+
"maximum": 8192
|
|
517
699
|
}
|
|
518
700
|
},
|
|
519
701
|
"additionalProperties": false
|
|
@@ -524,7 +706,7 @@
|
|
|
524
706
|
}
|
|
525
707
|
]
|
|
526
708
|
},
|
|
527
|
-
"
|
|
709
|
+
"orm-deep-offset": {
|
|
528
710
|
"oneOf": [
|
|
529
711
|
{
|
|
530
712
|
"enum": ["off", "warn", "error"]
|
|
@@ -538,7 +720,7 @@
|
|
|
538
720
|
"options": {
|
|
539
721
|
"type": "object",
|
|
540
722
|
"properties": {
|
|
541
|
-
"
|
|
723
|
+
"maxOffset": {
|
|
542
724
|
"type": "integer",
|
|
543
725
|
"minimum": 1
|
|
544
726
|
}
|
|
@@ -551,7 +733,7 @@
|
|
|
551
733
|
}
|
|
552
734
|
]
|
|
553
735
|
},
|
|
554
|
-
"
|
|
736
|
+
"upload-without-size-limit": {
|
|
555
737
|
"oneOf": [
|
|
556
738
|
{
|
|
557
739
|
"enum": ["off", "warn", "error"]
|
|
@@ -565,7 +747,7 @@
|
|
|
565
747
|
"options": {
|
|
566
748
|
"type": "object",
|
|
567
749
|
"properties": {
|
|
568
|
-
"
|
|
750
|
+
"maxBytes": {
|
|
569
751
|
"type": "integer",
|
|
570
752
|
"minimum": 1
|
|
571
753
|
}
|
|
@@ -578,7 +760,7 @@
|
|
|
578
760
|
}
|
|
579
761
|
]
|
|
580
762
|
},
|
|
581
|
-
"
|
|
763
|
+
"pool-without-connection-timeout": {
|
|
582
764
|
"oneOf": [
|
|
583
765
|
{
|
|
584
766
|
"enum": ["off", "warn", "error"]
|
|
@@ -592,9 +774,68 @@
|
|
|
592
774
|
"options": {
|
|
593
775
|
"type": "object",
|
|
594
776
|
"properties": {
|
|
595
|
-
"
|
|
777
|
+
"connectionTimeoutMillis": {
|
|
596
778
|
"type": "integer",
|
|
597
|
-
"minimum": 1
|
|
779
|
+
"minimum": 1,
|
|
780
|
+
"maximum": 2147483647
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"additionalProperties": false
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"required": ["level"],
|
|
787
|
+
"additionalProperties": false
|
|
788
|
+
}
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
"llm-call-without-max-tokens": {
|
|
792
|
+
"oneOf": [
|
|
793
|
+
{
|
|
794
|
+
"enum": ["off", "warn", "error"]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"type": "object",
|
|
798
|
+
"properties": {
|
|
799
|
+
"level": {
|
|
800
|
+
"enum": ["off", "warn", "error"]
|
|
801
|
+
},
|
|
802
|
+
"options": {
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"maxOutputTokens": {
|
|
806
|
+
"type": "integer",
|
|
807
|
+
"minimum": 1,
|
|
808
|
+
"maximum": 9007199254740991
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"additionalProperties": false
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": ["level"],
|
|
815
|
+
"additionalProperties": false
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
"stray-console": {
|
|
820
|
+
"oneOf": [
|
|
821
|
+
{
|
|
822
|
+
"enum": ["off", "warn", "error"]
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "object",
|
|
826
|
+
"properties": {
|
|
827
|
+
"level": {
|
|
828
|
+
"enum": ["off", "warn", "error"]
|
|
829
|
+
},
|
|
830
|
+
"options": {
|
|
831
|
+
"type": "object",
|
|
832
|
+
"properties": {
|
|
833
|
+
"allowedMethods": {
|
|
834
|
+
"type": "array",
|
|
835
|
+
"items": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"enum": ["log", "info", "debug", "warn", "error", "trace", "dir", "table"]
|
|
838
|
+
}
|
|
598
839
|
}
|
|
599
840
|
},
|
|
600
841
|
"additionalProperties": false
|
|
@@ -623,292 +864,439 @@
|
|
|
623
864
|
"rules": {
|
|
624
865
|
"type": "object",
|
|
625
866
|
"propertyNames": {
|
|
626
|
-
"
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
867
|
+
"anyOf": [
|
|
868
|
+
{
|
|
869
|
+
"enum": [
|
|
870
|
+
"a11y-aria-hidden-focus",
|
|
871
|
+
"a11y-aria-role-missing-checked",
|
|
872
|
+
"a11y-button-missing-name",
|
|
873
|
+
"a11y-button-missing-type",
|
|
874
|
+
"a11y-clickable-non-interactive",
|
|
875
|
+
"a11y-competing-autofocus",
|
|
876
|
+
"a11y-data-table-missing-headers",
|
|
877
|
+
"a11y-heading-level-skipped",
|
|
878
|
+
"a11y-html-invalid-lang",
|
|
879
|
+
"a11y-html-missing-lang",
|
|
880
|
+
"a11y-iframe-missing-title",
|
|
881
|
+
"a11y-img-missing-alt",
|
|
882
|
+
"a11y-input-missing-autocomplete",
|
|
883
|
+
"a11y-invalid-aria",
|
|
884
|
+
"a11y-invalid-id-reference",
|
|
885
|
+
"a11y-link-text-not-descriptive",
|
|
886
|
+
"a11y-media-autoplay",
|
|
887
|
+
"a11y-missing-form-label",
|
|
888
|
+
"a11y-nested-interactive",
|
|
889
|
+
"a11y-placeholder-link-action",
|
|
890
|
+
"a11y-positive-tabindex",
|
|
891
|
+
"a11y-svg-image-missing-name",
|
|
892
|
+
"a11y-video-captions-review",
|
|
893
|
+
"a11y-viewport-zoom-disabled",
|
|
894
|
+
"angular-bypass-security-trust",
|
|
895
|
+
"angular-default-change-detection",
|
|
896
|
+
"angular-ngfor-missing-trackby",
|
|
897
|
+
"angular-subscribe-without-cleanup",
|
|
898
|
+
"angular-template-method-call",
|
|
899
|
+
"api-enum-value-removed",
|
|
900
|
+
"api-removed-field",
|
|
901
|
+
"api-removed-operation",
|
|
902
|
+
"api-required-input",
|
|
903
|
+
"api-type-changed",
|
|
904
|
+
"arguments-object",
|
|
905
|
+
"array-repeated-find",
|
|
906
|
+
"array-repeated-membership",
|
|
907
|
+
"array-shift-in-fifo-drain",
|
|
908
|
+
"assignment-in-condition",
|
|
909
|
+
"async-array-predicate",
|
|
910
|
+
"async-callback-unhandled-rejection",
|
|
911
|
+
"async-promise-executor",
|
|
912
|
+
"async-route-unhandled-rejection",
|
|
913
|
+
"auth-route-without-rate-limit",
|
|
914
|
+
"await-before-early-exit",
|
|
915
|
+
"azure-pipelines-script-injection",
|
|
916
|
+
"bcrypt-low-cost",
|
|
917
|
+
"bitbucket-pipelines-script-injection",
|
|
918
|
+
"bitbucket-pipelines-unpinned-image",
|
|
919
|
+
"browser-not-closed",
|
|
920
|
+
"check-then-update-race",
|
|
921
|
+
"child-process-without-error-listener",
|
|
922
|
+
"circleci-script-injection",
|
|
923
|
+
"circleci-unpinned-image",
|
|
924
|
+
"circleci-unpinned-orb",
|
|
925
|
+
"client-env-secret-exposed",
|
|
926
|
+
"code-injection",
|
|
927
|
+
"command-injection",
|
|
928
|
+
"committed-secret",
|
|
929
|
+
"compose-hardcoded-secret",
|
|
930
|
+
"config-cors-credentials-any-origin",
|
|
931
|
+
"config-unsafe-security-header",
|
|
932
|
+
"cookie-missing-security-flags",
|
|
933
|
+
"cors-credentials-any-origin",
|
|
934
|
+
"cors-origin-regex-unanchored",
|
|
935
|
+
"count-then-page-serial",
|
|
936
|
+
"crlf-unsafe-line-split",
|
|
937
|
+
"csharp-async-void",
|
|
938
|
+
"csharp-binaryformatter-request-deserialization",
|
|
939
|
+
"csharp-disposable-without-using",
|
|
940
|
+
"csharp-ef-count-materialized",
|
|
941
|
+
"csharp-ef-from-sql-raw",
|
|
942
|
+
"csharp-ef-query-in-loop",
|
|
943
|
+
"csharp-fixed-regex-in-loop",
|
|
944
|
+
"csharp-process-start",
|
|
945
|
+
"csharp-string-concat-in-loop",
|
|
946
|
+
"csharp-sync-task-wait-in-async",
|
|
947
|
+
"data-access-boundary",
|
|
948
|
+
"database-error-in-response",
|
|
949
|
+
"db-duplicate-index",
|
|
950
|
+
"db-missing-index",
|
|
951
|
+
"db-pool-client-not-released",
|
|
952
|
+
"db-seq-scan-heavy-table",
|
|
953
|
+
"db-slow-query-plan",
|
|
954
|
+
"db-sqlite-large-scan",
|
|
955
|
+
"db-unindexed-foreign-key",
|
|
956
|
+
"db-unused-index",
|
|
957
|
+
"deep-control-flow",
|
|
958
|
+
"dependency-cycle",
|
|
959
|
+
"dependency-known-vulnerability",
|
|
960
|
+
"deprecated-node-api",
|
|
961
|
+
"discarded-error-result",
|
|
962
|
+
"discarded-file-write-count",
|
|
963
|
+
"discarded-signature-verification-result",
|
|
964
|
+
"dockerfile-add-remote-url",
|
|
965
|
+
"dockerfile-npm-install",
|
|
966
|
+
"dockerfile-runs-as-root",
|
|
967
|
+
"dockerfile-secret-in-build",
|
|
968
|
+
"dockerfile-unpinned-base-image",
|
|
969
|
+
"dom-layout-thrashing",
|
|
970
|
+
"dom-listener-without-cleanup",
|
|
971
|
+
"dom-unthrottled-scroll-resize",
|
|
972
|
+
"dom-xss-sink",
|
|
973
|
+
"double-type-assertion",
|
|
974
|
+
"drizzle-last-insert-id",
|
|
975
|
+
"drizzle-query-in-loop",
|
|
976
|
+
"drizzle-scope-unverified",
|
|
977
|
+
"drizzle-sql-raw-dynamic",
|
|
978
|
+
"drizzle-unfiltered-write",
|
|
979
|
+
"drizzle-write-preflight",
|
|
980
|
+
"duplicate-implementation",
|
|
981
|
+
"error-logged-without-stack",
|
|
982
|
+
"error-rethrown-without-cause",
|
|
983
|
+
"error-stack-in-response",
|
|
984
|
+
"escape-replace-incomplete",
|
|
985
|
+
"explicit-any",
|
|
986
|
+
"express-cookie-auth-missing-csrf",
|
|
987
|
+
"express-missing-compression",
|
|
988
|
+
"express-missing-helmet",
|
|
989
|
+
"external-call-in-transaction",
|
|
990
|
+
"file-handle-not-closed",
|
|
991
|
+
"file-placement",
|
|
992
|
+
"filter-for-existence",
|
|
993
|
+
"find-then-create-race",
|
|
994
|
+
"floating-promise",
|
|
995
|
+
"focused-test-committed",
|
|
996
|
+
"folder-boundary",
|
|
997
|
+
"frontend-barrel-heavy-import",
|
|
998
|
+
"frontend-navigation-without-link",
|
|
999
|
+
"frontend-render-blocking-script",
|
|
1000
|
+
"frontend-storage-secret-token",
|
|
1001
|
+
"github-actions-pull-request-target-checkout",
|
|
1002
|
+
"github-actions-script-injection",
|
|
1003
|
+
"github-actions-unpinned-action",
|
|
1004
|
+
"gitlab-ci-script-injection",
|
|
1005
|
+
"gitlab-ci-unpinned-image",
|
|
1006
|
+
"gitlab-ci-unpinned-include",
|
|
1007
|
+
"go-defer-before-error-check",
|
|
1008
|
+
"go-error-discarded",
|
|
1009
|
+
"go-exec-command-shell",
|
|
1010
|
+
"go-fixed-regexp-in-loop",
|
|
1011
|
+
"go-http-call-without-deadline",
|
|
1012
|
+
"go-http-response-body-not-closed",
|
|
1013
|
+
"go-sql-query-in-loop",
|
|
1014
|
+
"go-sql-rows-leaked",
|
|
1015
|
+
"go-sql-rows-unchecked-err",
|
|
1016
|
+
"go-sql-sprintf-injection",
|
|
1017
|
+
"go-string-concat-in-loop",
|
|
1018
|
+
"go-tls-insecure-skip-verify",
|
|
1019
|
+
"graphql-batching-unbounded",
|
|
1020
|
+
"graphql-introspection-enabled",
|
|
1021
|
+
"graphql-n-plus-one-resolver",
|
|
1022
|
+
"graphql-query-depth-unbounded",
|
|
1023
|
+
"guard-query-per-request",
|
|
1024
|
+
"hardcoded-secret",
|
|
1025
|
+
"heavy-media-in-request-handler",
|
|
1026
|
+
"high-branch-complexity",
|
|
1027
|
+
"hosting-redirect-external-wildcard",
|
|
1028
|
+
"http-call-without-timeout",
|
|
1029
|
+
"index-missing-filter",
|
|
1030
|
+
"index-missing-foreign-key",
|
|
1031
|
+
"index-missing-order",
|
|
1032
|
+
"index-redundant-prefix",
|
|
1033
|
+
"index-unusable-expression",
|
|
1034
|
+
"index-unusable-pattern",
|
|
1035
|
+
"insecure-cipher",
|
|
1036
|
+
"insecure-deserialization",
|
|
1037
|
+
"insecure-random-for-secret",
|
|
1038
|
+
"interval-not-cleared",
|
|
1039
|
+
"invalid-typeof-comparison",
|
|
1040
|
+
"java-des-cipher",
|
|
1041
|
+
"java-fixed-regex-in-loop",
|
|
1042
|
+
"java-jdbc-query-in-loop",
|
|
1043
|
+
"java-objectinputstream-request-deserialization",
|
|
1044
|
+
"java-resource-without-try",
|
|
1045
|
+
"java-runtime-exec",
|
|
1046
|
+
"java-shared-date-format",
|
|
1047
|
+
"java-sql-string-concat",
|
|
1048
|
+
"java-string-concat-in-loop",
|
|
1049
|
+
"jenkinsfile-credential-interpolation",
|
|
1050
|
+
"jenkinsfile-script-injection",
|
|
1051
|
+
"js-fixed-regexp-in-loop",
|
|
1052
|
+
"js-yaml-unsafe-schema",
|
|
1053
|
+
"json-parse-unguarded",
|
|
1054
|
+
"json-roundtrip-clone",
|
|
1055
|
+
"json-stringify-in-loop",
|
|
1056
|
+
"jsx-javascript-url",
|
|
1057
|
+
"jwt-decode-for-auth",
|
|
1058
|
+
"jwt-none-algorithm",
|
|
1059
|
+
"jwt-sign-without-expiry",
|
|
1060
|
+
"jwt-verify-without-algorithms",
|
|
1061
|
+
"jwt-weak-secret-literal",
|
|
1062
|
+
"knex-raw-dynamic-text",
|
|
1063
|
+
"known-reads-awaited-serially",
|
|
1064
|
+
"kotlin-run-blocking-in-suspend",
|
|
1065
|
+
"kubernetes-privileged-container",
|
|
1066
|
+
"kysely-scope-unverified",
|
|
1067
|
+
"large-class",
|
|
1068
|
+
"large-module",
|
|
1069
|
+
"ldap-filter-injection",
|
|
1070
|
+
"list-count-per-request",
|
|
1071
|
+
"list-query-overfetch",
|
|
1072
|
+
"llm-call-without-max-tokens",
|
|
1073
|
+
"long-parameter-list",
|
|
1074
|
+
"loop-copy-accumulator",
|
|
1075
|
+
"loop-index-past-length",
|
|
1076
|
+
"lossy-same-file-text-rewrite",
|
|
1077
|
+
"mass-assignment",
|
|
1078
|
+
"migration-breaking-drop",
|
|
1079
|
+
"migration-breaking-rename",
|
|
1080
|
+
"migration-column-type-rewrite",
|
|
1081
|
+
"migration-concurrent-in-transaction",
|
|
1082
|
+
"migration-constraint-not-valid",
|
|
1083
|
+
"migration-constraint-without-index",
|
|
1084
|
+
"migration-index-not-concurrent",
|
|
1085
|
+
"migration-missing-lock-timeout",
|
|
1086
|
+
"migration-mysql-lock-unspecified",
|
|
1087
|
+
"migration-mysql-table-copy",
|
|
1088
|
+
"migration-not-null-without-default",
|
|
1089
|
+
"migration-set-not-null-scan",
|
|
1090
|
+
"migration-sqlserver-offline-index",
|
|
1091
|
+
"migration-table-access-exclusive-lock",
|
|
1092
|
+
"migration-table-rewrite-command",
|
|
1093
|
+
"migration-unparsed",
|
|
1094
|
+
"migration-volatile-default",
|
|
1095
|
+
"mongo-collection-scan-observed",
|
|
1096
|
+
"mongoose-aggregate-uncast-id",
|
|
1097
|
+
"mongoose-hydrate-for-to-object",
|
|
1098
|
+
"mongoose-missing-lean",
|
|
1099
|
+
"mysql-dynamic-query-text",
|
|
1100
|
+
"nan-comparison",
|
|
1101
|
+
"nest-validation-without-whitelist",
|
|
1102
|
+
"next-client-fetched-page-content",
|
|
1103
|
+
"next-image-any-remote-host",
|
|
1104
|
+
"next-missing-route-metadata",
|
|
1105
|
+
"next-server-env-in-client",
|
|
1106
|
+
"next-server-fetch-waterfall",
|
|
1107
|
+
"next-sitewide-noindex",
|
|
1108
|
+
"nginx-proxy-pass-request-host",
|
|
1109
|
+
"node-callback-api",
|
|
1110
|
+
"node-event-listener-leak",
|
|
1111
|
+
"node-sync-compression-in-async",
|
|
1112
|
+
"node-sync-crypto-in-async",
|
|
1113
|
+
"node-sync-fs-in-async",
|
|
1114
|
+
"node-sync-process-in-async",
|
|
1115
|
+
"nosql-operator-injection",
|
|
1116
|
+
"notification-send-in-loop",
|
|
1117
|
+
"numeric-array-default-sort",
|
|
1118
|
+
"numeric-sort-for-extreme",
|
|
1119
|
+
"open-redirect",
|
|
1120
|
+
"orm-cartesian-include",
|
|
1121
|
+
"orm-count-materialization",
|
|
1122
|
+
"orm-deep-offset",
|
|
1123
|
+
"orm-query-in-loop",
|
|
1124
|
+
"package-script-remote-code",
|
|
1125
|
+
"package-script-tls-verification-disabled",
|
|
1126
|
+
"parse-failure-resets-file",
|
|
1127
|
+
"password-hash-in-response",
|
|
1128
|
+
"password-hash-pure-js",
|
|
1129
|
+
"password-hash-sync-in-async",
|
|
1130
|
+
"path-traversal",
|
|
1131
|
+
"payment-missing-idempotency-key",
|
|
1132
|
+
"pg-advisory-lock-session",
|
|
1133
|
+
"pg-count-materialization",
|
|
1134
|
+
"pg-dynamic-query-text",
|
|
1135
|
+
"pg-filter-materialization",
|
|
1136
|
+
"pg-first-materialization",
|
|
1137
|
+
"pg-listen-session",
|
|
1138
|
+
"pg-query-in-loop",
|
|
1139
|
+
"pg-top-k-materialization",
|
|
1140
|
+
"pg-transaction-on-pool",
|
|
1141
|
+
"pg-unreleased-checkout",
|
|
1142
|
+
"php-eloquent-query-in-loop",
|
|
1143
|
+
"plaintext-password-storage",
|
|
1144
|
+
"pool-created-per-request-or-item",
|
|
1145
|
+
"pool-without-connection-timeout",
|
|
1146
|
+
"postmessage-missing-origin-check",
|
|
1147
|
+
"prisma-count-for-existence",
|
|
1148
|
+
"prisma-count-materialization",
|
|
1149
|
+
"prisma-dependent-writes",
|
|
1150
|
+
"prisma-distinct-in-memory",
|
|
1151
|
+
"prisma-filter-materialization",
|
|
1152
|
+
"prisma-first-materialization",
|
|
1153
|
+
"prisma-query-in-loop",
|
|
1154
|
+
"prisma-raw-unsafe-dynamic",
|
|
1155
|
+
"prisma-read-modify-write",
|
|
1156
|
+
"prisma-relation-count-in-list",
|
|
1157
|
+
"prisma-scope-unverified",
|
|
1158
|
+
"prisma-top-k-materialization",
|
|
1159
|
+
"prisma-transaction-client-escape",
|
|
1160
|
+
"promise-combinator-serial-await",
|
|
1161
|
+
"promise-return-escapes-catch",
|
|
1162
|
+
"prototype-pollution",
|
|
1163
|
+
"python-bare-except",
|
|
1164
|
+
"python-blocking-sleep-in-async",
|
|
1165
|
+
"python-copy-growing-list",
|
|
1166
|
+
"python-file-not-closed",
|
|
1167
|
+
"python-fixed-regex-in-loop",
|
|
1168
|
+
"python-insecure-deserialization",
|
|
1169
|
+
"python-interactive-debugger",
|
|
1170
|
+
"python-mutated-mutable-default",
|
|
1171
|
+
"python-n-plus-one-orm-loop",
|
|
1172
|
+
"python-requests-tls-verify-disabled",
|
|
1173
|
+
"python-requests-without-timeout",
|
|
1174
|
+
"python-sqlite-unbound-value",
|
|
1175
|
+
"python-subprocess-shell-true",
|
|
1176
|
+
"python-swallowed-exception",
|
|
1177
|
+
"python-sync-requests-in-async",
|
|
1178
|
+
"python-unbounded-comprehension",
|
|
1179
|
+
"python-unsafe-yaml-load",
|
|
1180
|
+
"query-mutates-state",
|
|
1181
|
+
"query-runner-not-released",
|
|
1182
|
+
"queue-add-in-loop",
|
|
1183
|
+
"raw-content-disposition-filename",
|
|
1184
|
+
"react-async-effect-callback",
|
|
1185
|
+
"react-component-defined-in-component",
|
|
1186
|
+
"react-context-value-recreated",
|
|
1187
|
+
"react-dangerously-set-inner-html",
|
|
1188
|
+
"react-effect-sets-state-every-render",
|
|
1189
|
+
"react-fetch-in-effect-no-abort",
|
|
1190
|
+
"react-index-as-key",
|
|
1191
|
+
"react-inline-object-in-jsx-prop",
|
|
1192
|
+
"react-list-missing-key",
|
|
1193
|
+
"react-missing-cleanup",
|
|
1194
|
+
"react-state-mutated-in-place",
|
|
1195
|
+
"react-unthrottled-input-fetch",
|
|
1196
|
+
"rebuild-lookup-in-loop",
|
|
1197
|
+
"redis-command-in-loop",
|
|
1198
|
+
"redis-incr-then-expire",
|
|
1199
|
+
"redis-keys-command",
|
|
1200
|
+
"reduce-copy-accumulator",
|
|
1201
|
+
"redundant-promise-wrapper",
|
|
1202
|
+
"reflected-xss-response",
|
|
1203
|
+
"regex-catastrophic-backtracking",
|
|
1204
|
+
"regex-from-input",
|
|
1205
|
+
"repeated-workbook-decode",
|
|
1206
|
+
"request-number-unvalidated",
|
|
1207
|
+
"request-selected-executable",
|
|
1208
|
+
"retry-without-backoff",
|
|
1209
|
+
"return-in-finally",
|
|
1210
|
+
"return-newline",
|
|
1211
|
+
"ruby-active-record-query-in-loop",
|
|
1212
|
+
"rust-blocking-std-in-async",
|
|
1213
|
+
"rust-clone-in-loop",
|
|
1214
|
+
"rust-command-shell",
|
|
1215
|
+
"rust-fixed-regex-in-loop",
|
|
1216
|
+
"rust-format-in-loop",
|
|
1217
|
+
"rust-mutex-guard-across-await",
|
|
1218
|
+
"rust-reqwest-danger-accept-invalid-certs",
|
|
1219
|
+
"rust-unsafe-raw-pointer-deref",
|
|
1220
|
+
"rust-unwrap-in-production",
|
|
1221
|
+
"same-file-stream-truncation",
|
|
1222
|
+
"secret-compared-non-constant-time",
|
|
1223
|
+
"secret-in-log",
|
|
1224
|
+
"secret-in-url-query",
|
|
1225
|
+
"sequelize-dynamic-query-text",
|
|
1226
|
+
"sequential-http-in-loop",
|
|
1227
|
+
"serial-awaits-in-literal",
|
|
1228
|
+
"server-action-missing-auth",
|
|
1229
|
+
"service-query-in-loop",
|
|
1230
|
+
"session-memory-store",
|
|
1231
|
+
"sql-insert-truncated-at-semicolon",
|
|
1232
|
+
"sql-select-star-in-query",
|
|
1233
|
+
"ssrf-redirect-bypass",
|
|
1234
|
+
"ssrf-request-url",
|
|
1235
|
+
"storage-object-public-acl",
|
|
1236
|
+
"stray-console",
|
|
1237
|
+
"stream-pipe-unhandled-error",
|
|
1238
|
+
"swallowed-error",
|
|
1239
|
+
"switch-not-exhaustive",
|
|
1240
|
+
"template-autoescape-disabled",
|
|
1241
|
+
"template-injection",
|
|
1242
|
+
"template-raw-html-binding",
|
|
1243
|
+
"terraform-admin-port-open-to-world",
|
|
1244
|
+
"terraform-database-publicly-accessible",
|
|
1245
|
+
"terraform-hardcoded-credential",
|
|
1246
|
+
"terraform-storage-bucket-public",
|
|
1247
|
+
"terraform-storage-encryption-disabled",
|
|
1248
|
+
"test-cleanup-after-await",
|
|
1249
|
+
"then-chain-in-async",
|
|
1250
|
+
"throw-non-error",
|
|
1251
|
+
"tls-verification-disabled",
|
|
1252
|
+
"trust-boundary-violation",
|
|
1253
|
+
"ts-suppression-without-reason",
|
|
1254
|
+
"tsconfig-strict-disabled",
|
|
1255
|
+
"typeorm-dynamic-query-text",
|
|
1256
|
+
"typeorm-existence-materialization",
|
|
1257
|
+
"typeorm-load-then-save",
|
|
1258
|
+
"typeorm-transaction-client-escape",
|
|
1259
|
+
"typeorm-transaction-in-loop",
|
|
1260
|
+
"typeorm-unused-count",
|
|
1261
|
+
"typeorm-wide-projection",
|
|
1262
|
+
"unbounded-list-query",
|
|
1263
|
+
"unbounded-module-cache",
|
|
1264
|
+
"unbounded-promise-all",
|
|
1265
|
+
"uncaught-exception-continues",
|
|
1266
|
+
"unchecked-json-cast",
|
|
1267
|
+
"unguarded-boundary-access",
|
|
1268
|
+
"unreachable-code",
|
|
1269
|
+
"unreferenced-file",
|
|
1270
|
+
"unsafe-wide-type",
|
|
1271
|
+
"unused-dependency",
|
|
1272
|
+
"unused-export",
|
|
1273
|
+
"unused-import",
|
|
1274
|
+
"unused-local-function",
|
|
1275
|
+
"unused-local-variable",
|
|
1276
|
+
"upload-client-filename",
|
|
1277
|
+
"upload-without-size-limit",
|
|
1278
|
+
"var-declaration",
|
|
1279
|
+
"vm-sandbox-escape",
|
|
1280
|
+
"vue-v-for-missing-key",
|
|
1281
|
+
"vue-v-html-unsanitized",
|
|
1282
|
+
"vue-v-if-with-v-for",
|
|
1283
|
+
"vue-watch-missing-cleanup",
|
|
1284
|
+
"weak-hash",
|
|
1285
|
+
"weak-password-hash",
|
|
1286
|
+
"web-server-directory-listing",
|
|
1287
|
+
"web-server-legacy-tls",
|
|
1288
|
+
"web-server-version-exposed",
|
|
1289
|
+
"webhook-body-without-verification",
|
|
1290
|
+
"webhook-missing-idempotency-check",
|
|
1291
|
+
"whole-payload-in-memory",
|
|
1292
|
+
"xml-external-entities",
|
|
1293
|
+
"xpath-injection",
|
|
1294
|
+
"zip-slip-extraction"
|
|
1295
|
+
]
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"pattern": "^project-[a-z0-9]+(?:-[a-z0-9]+)*--[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
1299
|
+
}
|
|
912
1300
|
]
|
|
913
1301
|
},
|
|
914
1302
|
"additionalProperties": {
|
|
@@ -1084,7 +1472,8 @@
|
|
|
1084
1472
|
"properties": {
|
|
1085
1473
|
"minCost": {
|
|
1086
1474
|
"type": "integer",
|
|
1087
|
-
"minimum": 1
|
|
1475
|
+
"minimum": 1,
|
|
1476
|
+
"maximum": 31
|
|
1088
1477
|
}
|
|
1089
1478
|
},
|
|
1090
1479
|
"additionalProperties": false
|
|
@@ -1095,7 +1484,7 @@
|
|
|
1095
1484
|
}
|
|
1096
1485
|
]
|
|
1097
1486
|
},
|
|
1098
|
-
"
|
|
1487
|
+
"duplicate-implementation": {
|
|
1099
1488
|
"oneOf": [
|
|
1100
1489
|
{
|
|
1101
1490
|
"enum": ["off", "warn", "error"]
|
|
@@ -1109,9 +1498,10 @@
|
|
|
1109
1498
|
"options": {
|
|
1110
1499
|
"type": "object",
|
|
1111
1500
|
"properties": {
|
|
1112
|
-
"
|
|
1501
|
+
"minNodes": {
|
|
1113
1502
|
"type": "integer",
|
|
1114
|
-
"minimum": 1
|
|
1503
|
+
"minimum": 1,
|
|
1504
|
+
"maximum": 8192
|
|
1115
1505
|
}
|
|
1116
1506
|
},
|
|
1117
1507
|
"additionalProperties": false
|
|
@@ -1122,7 +1512,7 @@
|
|
|
1122
1512
|
}
|
|
1123
1513
|
]
|
|
1124
1514
|
},
|
|
1125
|
-
"
|
|
1515
|
+
"orm-deep-offset": {
|
|
1126
1516
|
"oneOf": [
|
|
1127
1517
|
{
|
|
1128
1518
|
"enum": ["off", "warn", "error"]
|
|
@@ -1136,7 +1526,7 @@
|
|
|
1136
1526
|
"options": {
|
|
1137
1527
|
"type": "object",
|
|
1138
1528
|
"properties": {
|
|
1139
|
-
"
|
|
1529
|
+
"maxOffset": {
|
|
1140
1530
|
"type": "integer",
|
|
1141
1531
|
"minimum": 1
|
|
1142
1532
|
}
|
|
@@ -1149,7 +1539,7 @@
|
|
|
1149
1539
|
}
|
|
1150
1540
|
]
|
|
1151
1541
|
},
|
|
1152
|
-
"
|
|
1542
|
+
"upload-without-size-limit": {
|
|
1153
1543
|
"oneOf": [
|
|
1154
1544
|
{
|
|
1155
1545
|
"enum": ["off", "warn", "error"]
|
|
@@ -1163,7 +1553,7 @@
|
|
|
1163
1553
|
"options": {
|
|
1164
1554
|
"type": "object",
|
|
1165
1555
|
"properties": {
|
|
1166
|
-
"
|
|
1556
|
+
"maxBytes": {
|
|
1167
1557
|
"type": "integer",
|
|
1168
1558
|
"minimum": 1
|
|
1169
1559
|
}
|
|
@@ -1176,7 +1566,7 @@
|
|
|
1176
1566
|
}
|
|
1177
1567
|
]
|
|
1178
1568
|
},
|
|
1179
|
-
"
|
|
1569
|
+
"pool-without-connection-timeout": {
|
|
1180
1570
|
"oneOf": [
|
|
1181
1571
|
{
|
|
1182
1572
|
"enum": ["off", "warn", "error"]
|
|
@@ -1190,9 +1580,68 @@
|
|
|
1190
1580
|
"options": {
|
|
1191
1581
|
"type": "object",
|
|
1192
1582
|
"properties": {
|
|
1193
|
-
"
|
|
1583
|
+
"connectionTimeoutMillis": {
|
|
1194
1584
|
"type": "integer",
|
|
1195
|
-
"minimum": 1
|
|
1585
|
+
"minimum": 1,
|
|
1586
|
+
"maximum": 2147483647
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"additionalProperties": false
|
|
1590
|
+
}
|
|
1591
|
+
},
|
|
1592
|
+
"required": ["level"],
|
|
1593
|
+
"additionalProperties": false
|
|
1594
|
+
}
|
|
1595
|
+
]
|
|
1596
|
+
},
|
|
1597
|
+
"llm-call-without-max-tokens": {
|
|
1598
|
+
"oneOf": [
|
|
1599
|
+
{
|
|
1600
|
+
"enum": ["off", "warn", "error"]
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"type": "object",
|
|
1604
|
+
"properties": {
|
|
1605
|
+
"level": {
|
|
1606
|
+
"enum": ["off", "warn", "error"]
|
|
1607
|
+
},
|
|
1608
|
+
"options": {
|
|
1609
|
+
"type": "object",
|
|
1610
|
+
"properties": {
|
|
1611
|
+
"maxOutputTokens": {
|
|
1612
|
+
"type": "integer",
|
|
1613
|
+
"minimum": 1,
|
|
1614
|
+
"maximum": 9007199254740991
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
"additionalProperties": false
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"required": ["level"],
|
|
1621
|
+
"additionalProperties": false
|
|
1622
|
+
}
|
|
1623
|
+
]
|
|
1624
|
+
},
|
|
1625
|
+
"stray-console": {
|
|
1626
|
+
"oneOf": [
|
|
1627
|
+
{
|
|
1628
|
+
"enum": ["off", "warn", "error"]
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"type": "object",
|
|
1632
|
+
"properties": {
|
|
1633
|
+
"level": {
|
|
1634
|
+
"enum": ["off", "warn", "error"]
|
|
1635
|
+
},
|
|
1636
|
+
"options": {
|
|
1637
|
+
"type": "object",
|
|
1638
|
+
"properties": {
|
|
1639
|
+
"allowedMethods": {
|
|
1640
|
+
"type": "array",
|
|
1641
|
+
"items": {
|
|
1642
|
+
"type": "string",
|
|
1643
|
+
"enum": ["log", "info", "debug", "warn", "error", "trace", "dir", "table"]
|
|
1644
|
+
}
|
|
1196
1645
|
}
|
|
1197
1646
|
},
|
|
1198
1647
|
"additionalProperties": false
|
|
@@ -1212,7 +1661,7 @@
|
|
|
1212
1661
|
},
|
|
1213
1662
|
"performance": {
|
|
1214
1663
|
"type": "object",
|
|
1215
|
-
"description": "The query policy: prismaScopes, drizzleScopes, parallelReads and fireAndForget.",
|
|
1664
|
+
"description": "The query policy: prismaScopes, drizzleScopes, kyselyScopes, parallelReads and fireAndForget.",
|
|
1216
1665
|
"properties": {
|
|
1217
1666
|
"prismaScopes": {
|
|
1218
1667
|
"type": "object"
|
|
@@ -1220,8 +1669,34 @@
|
|
|
1220
1669
|
"drizzleScopes": {
|
|
1221
1670
|
"type": "object"
|
|
1222
1671
|
},
|
|
1672
|
+
"kyselyScopes": {
|
|
1673
|
+
"type": "object"
|
|
1674
|
+
},
|
|
1223
1675
|
"parallelReads": {
|
|
1224
|
-
"type": "array"
|
|
1676
|
+
"type": "array",
|
|
1677
|
+
"minItems": 1,
|
|
1678
|
+
"items": {
|
|
1679
|
+
"type": "object",
|
|
1680
|
+
"properties": {
|
|
1681
|
+
"from": {
|
|
1682
|
+
"type": "string",
|
|
1683
|
+
"description": "A stable module specifier for the read functions.",
|
|
1684
|
+
"pattern": "^(?:#|@(?:[\\w-][\\w.-]*)?/)?[\\w-][\\w.-]*(?:/[\\w-][\\w.-]*)*$"
|
|
1685
|
+
},
|
|
1686
|
+
"exports": {
|
|
1687
|
+
"type": "array",
|
|
1688
|
+
"description": "Distinct named exports that can be read independently.",
|
|
1689
|
+
"minItems": 2,
|
|
1690
|
+
"uniqueItems": true,
|
|
1691
|
+
"items": {
|
|
1692
|
+
"type": "string",
|
|
1693
|
+
"pattern": "^[A-Za-z_$][\\w$]*$"
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
"required": ["from", "exports"],
|
|
1698
|
+
"additionalProperties": false
|
|
1699
|
+
}
|
|
1225
1700
|
},
|
|
1226
1701
|
"fireAndForget": {
|
|
1227
1702
|
"type": "array",
|
|
@@ -1235,6 +1710,35 @@
|
|
|
1235
1710
|
"minProperties": 1,
|
|
1236
1711
|
"additionalProperties": false
|
|
1237
1712
|
},
|
|
1713
|
+
"security": {
|
|
1714
|
+
"type": "object",
|
|
1715
|
+
"description": "Optional trusted imports for review guidance on security findings.",
|
|
1716
|
+
"properties": {
|
|
1717
|
+
"trustedBindings": {
|
|
1718
|
+
"type": "array",
|
|
1719
|
+
"uniqueItems": true,
|
|
1720
|
+
"items": {
|
|
1721
|
+
"type": "object",
|
|
1722
|
+
"properties": {
|
|
1723
|
+
"module": {
|
|
1724
|
+
"type": "string",
|
|
1725
|
+
"pattern": "^[A-Za-z0-9_@./:#-]+$"
|
|
1726
|
+
},
|
|
1727
|
+
"export": {
|
|
1728
|
+
"type": "string",
|
|
1729
|
+
"pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$"
|
|
1730
|
+
},
|
|
1731
|
+
"use": {
|
|
1732
|
+
"enum": ["auth-route-middleware", "redirect-target-predicate"]
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
"required": ["module", "export", "use"],
|
|
1736
|
+
"additionalProperties": false
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"additionalProperties": false
|
|
1741
|
+
},
|
|
1238
1742
|
"maintainability": {
|
|
1239
1743
|
"type": "object",
|
|
1240
1744
|
"description": "The content of the maintainability policy file.",
|
|
@@ -1246,7 +1750,25 @@
|
|
|
1246
1750
|
}
|
|
1247
1751
|
},
|
|
1248
1752
|
"boundaries": {
|
|
1249
|
-
"type": "array"
|
|
1753
|
+
"type": "array",
|
|
1754
|
+
"items": {
|
|
1755
|
+
"type": "object",
|
|
1756
|
+
"properties": {
|
|
1757
|
+
"from": {
|
|
1758
|
+
"$ref": "#/definitions/projectRelativeFolder"
|
|
1759
|
+
},
|
|
1760
|
+
"disallow": {
|
|
1761
|
+
"type": "array",
|
|
1762
|
+
"description": "Folders that source files under from may not import.",
|
|
1763
|
+
"minItems": 1,
|
|
1764
|
+
"items": {
|
|
1765
|
+
"$ref": "#/definitions/projectRelativeFolder"
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"required": ["from", "disallow"],
|
|
1770
|
+
"additionalProperties": false
|
|
1771
|
+
}
|
|
1250
1772
|
},
|
|
1251
1773
|
"placement": {
|
|
1252
1774
|
"type": "array"
|
|
@@ -1259,6 +1781,21 @@
|
|
|
1259
1781
|
}
|
|
1260
1782
|
},
|
|
1261
1783
|
"additionalProperties": false
|
|
1784
|
+
},
|
|
1785
|
+
"extends": {
|
|
1786
|
+
"type": "string",
|
|
1787
|
+
"minLength": 1,
|
|
1788
|
+
"pattern": "^(?![\\w+.-]+:|[/\\\\]|\\s)(?!.*\\u0000).*[^\\s]$",
|
|
1789
|
+
"description": "Path to a local parent configuration, relative to the declaring file."
|
|
1790
|
+
},
|
|
1791
|
+
"rulePacks": {
|
|
1792
|
+
"type": "array",
|
|
1793
|
+
"description": "Project rule packs relative to this configuration file.",
|
|
1794
|
+
"items": {
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"minLength": 1,
|
|
1797
|
+
"pattern": "\\.loadwise-rules\\.json$"
|
|
1798
|
+
}
|
|
1262
1799
|
}
|
|
1263
1800
|
},
|
|
1264
1801
|
"additionalProperties": false
|