loadwise 0.7.0 → 0.9.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 +238 -705
- package/agent/hooks/check-edited-file.mjs +682 -0
- package/dist/bin/github-action.js +143 -18
- package/dist/bin/loadwise.js +27 -52
- package/dist/lib/accessibility/analyze.js +5 -3
- package/dist/lib/accessibility/angular-inline.js +9 -11
- package/dist/lib/accessibility/angular-literal.js +39 -0
- 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 +133 -0
- package/dist/lib/accessibility/form-context.js +41 -0
- package/dist/lib/accessibility/frame-head.js +92 -0
- package/dist/lib/accessibility/frame-viewport.js +149 -0
- 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 +147 -12
- package/dist/lib/accessibility/language-tags.js +18 -0
- package/dist/lib/accessibility/markup-files.js +49 -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 +107 -0
- package/dist/lib/accessibility/rule-ids.js +33 -0
- package/dist/lib/accessibility/rule-utilities.js +92 -0
- package/dist/lib/accessibility/rules.js +176 -154
- package/dist/lib/accessibility/site-fixes/buttons.js +9 -12
- package/dist/lib/accessibility/site-fixes/email-autocomplete.js +103 -0
- package/dist/lib/accessibility/site-fixes/html-language.js +48 -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 +18 -5
- package/dist/lib/accessibility/template-binding-scope.js +122 -0
- package/dist/lib/accessibility/template-elements.js +278 -111
- package/dist/lib/accessibility/template-file.js +145 -41
- 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 +11 -1
- package/dist/lib/editor/actions.js +57 -12
- package/dist/lib/editor/apply-fix.js +99 -6
- package/dist/lib/editor/configured-setup.js +14 -17
- package/dist/lib/editor/diagnostics.js +215 -43
- package/dist/lib/editor/dismissals.js +104 -34
- package/dist/lib/editor/doctor.js +167 -0
- package/dist/lib/editor/editor-document.js +22 -3
- package/dist/lib/editor/editor-launcher.js +67 -28
- package/dist/lib/editor/fix-edits.js +87 -8
- package/dist/lib/editor/jetbrains-setup.js +2 -1
- package/dist/lib/editor/language-server.js +279 -67
- package/dist/lib/editor/native-setup.js +10 -4
- package/dist/lib/editor/perf-watch.js +12 -8
- 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 +51 -0
- package/dist/lib/editor/scan-session.js +237 -67
- package/dist/lib/editor/security-examples.js +24 -14
- package/dist/lib/editor/server-commands.js +60 -20
- package/dist/lib/editor/setup-server.js +1 -1
- package/dist/lib/editor/setup-vim.js +6 -4
- package/dist/lib/editor/setup.js +7 -12
- package/dist/lib/editor/standalone-performance-examples.js +3 -0
- package/dist/lib/editor/workspace-files.js +93 -15
- package/dist/lib/editor/workspace-paths.js +69 -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 +7 -4
- 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 +4 -4
- 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 +14 -102
- 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 +21 -12
- package/dist/lib/maintainability/cli/scan-arguments.js +33 -0
- package/dist/lib/maintainability/cli/site-fix.js +28 -13
- package/dist/lib/maintainability/cli.js +29 -35
- package/dist/lib/maintainability/entry-points/entry-points.js +52 -64
- package/dist/lib/maintainability/entry-points/html-entry-points.js +5 -1
- package/dist/lib/maintainability/examples.js +12 -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/functions.js +9 -6
- package/dist/lib/maintainability/quality/generic-assertion-target.js +75 -0
- package/dist/lib/maintainability/quality/limits.js +23 -0
- package/dist/lib/maintainability/quality/size-limits.js +10 -3
- package/dist/lib/maintainability/quality/stray-console.js +93 -8
- package/dist/lib/maintainability/quality/tsconfig-strict.js +127 -6
- 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 +9 -0
- package/dist/lib/maintainability/scan-changed.js +10 -2
- package/dist/lib/maintainability/scan-worker.js +9 -7
- package/dist/lib/maintainability/scan.js +36 -10
- 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/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.js +51 -24
- package/dist/lib/maintainability/unused/unused-modules.js +40 -11
- 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 +10 -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 +23 -13
- package/dist/lib/performance/analysis/source-options.js +7 -6
- package/dist/lib/performance/analysis/unscanned-javascript.js +6 -5
- package/dist/lib/performance/analyze.js +35 -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 +2 -2
- 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 +1 -0
- package/dist/lib/performance/cli/cli-policy.js +150 -16
- package/dist/lib/performance/cli/cli-scan.js +155 -106
- 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/watch-security.js +33 -0
- package/dist/lib/performance/cli/watch.js +17 -9
- package/dist/lib/performance/cli.js +15 -9
- 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 +47 -3
- package/dist/lib/performance/collections/collection-reduce.js +0 -4
- package/dist/lib/performance/collections/collections.js +6 -2
- package/dist/lib/performance/collections/json-clone.js +137 -17
- package/dist/lib/performance/collections/memory-growth.js +55 -12
- package/dist/lib/performance/collections/regex-allocation.js +156 -0
- package/dist/lib/performance/collections/repeated.js +2 -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 +329 -21
- package/dist/lib/performance/contracts/git-files.js +57 -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 +175 -227
- 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 +63 -23
- package/dist/lib/performance/datastores/pg-session-release.js +114 -0
- package/dist/lib/performance/datastores/pg-session-sql.js +144 -0
- package/dist/lib/performance/datastores/pooling.js +58 -3
- package/dist/lib/performance/datastores/redis-keys.js +4 -3
- package/dist/lib/performance/datastores/redis.js +102 -19
- 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 -6
- package/dist/lib/performance/datastores/supabase.js +73 -0
- package/dist/lib/performance/db/checks.js +19 -8
- 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/gateway.js +3 -1
- 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 +50 -11
- 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 +47 -21
- package/dist/lib/performance/engine/review-config-inputs.js +57 -0
- package/dist/lib/performance/evidence/plans.js +21 -21
- package/dist/lib/performance/evidence/trace-formats.js +182 -0
- package/dist/lib/performance/evidence/traces.js +27 -7
- package/dist/lib/performance/frontend/angular-bootstrap.js +309 -0
- package/dist/lib/performance/frontend/angular-teardown.js +96 -0
- package/dist/lib/performance/frontend/barrel-subpaths.js +204 -0
- package/dist/lib/performance/frontend/effect-cleanup.js +174 -0
- package/dist/lib/performance/frontend/frontend-dom-perf.js +25 -9
- package/dist/lib/performance/frontend/frontend-helpers.js +1 -9
- package/dist/lib/performance/frontend/frontend-perf.js +76 -62
- package/dist/lib/performance/frontend/frontend-render-perf.js +10 -10
- package/dist/lib/performance/frontend/layout-binary-probe.js +186 -0
- package/dist/lib/performance/frontend/next-fetch-waterfall.js +88 -0
- package/dist/lib/performance/frontend/template-tracking.js +131 -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 +19 -4
- package/dist/lib/performance/migrations/extract-code.js +14 -5
- package/dist/lib/performance/migrations/extract-sql.js +126 -41
- package/dist/lib/performance/migrations/extract-sqlite.js +302 -0
- package/dist/lib/performance/migrations/operations.js +175 -18
- package/dist/lib/performance/migrations/postgres-lock-timeout.js +52 -0
- package/dist/lib/performance/migrations/postgres-registry.js +127 -26
- package/dist/lib/performance/migrations/postgres-settings.js +78 -0
- package/dist/lib/performance/migrations/postgres-table-history.js +147 -0
- package/dist/lib/performance/migrations/rules-postgres-add-column.js +3 -3
- package/dist/lib/performance/migrations/rules-postgres-shared.js +12 -5
- package/dist/lib/performance/migrations/rules-postgres.js +155 -52
- 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/offset-pagination.js +6 -4
- 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-aggregates.js +69 -18
- package/dist/lib/performance/orm/prisma-integrity.js +24 -3
- package/dist/lib/performance/orm/prisma.js +31 -8
- 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-chain.js +29 -0
- package/dist/lib/performance/orm/unbounded-list-page-size.js +179 -0
- package/dist/lib/performance/orm/unbounded-list-queries.js +81 -159
- package/dist/lib/performance/polyglot.js +261 -52
- 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 -90
- 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 +7 -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 +48 -17
- package/dist/lib/performance/query-loops/throw-on-miss-loops.js +141 -0
- package/dist/lib/performance/request/backend-mastery.js +160 -63
- 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 +139 -0
- package/dist/lib/performance/request/llm-max-tokens.js +27 -8
- package/dist/lib/performance/request/mongoose-lean.js +190 -20
- 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 +124 -115
- package/dist/lib/performance/request/pure-js-hashing.js +2 -1
- package/dist/lib/performance/request/request-handlers.js +1 -3
- package/dist/lib/performance/request/request-inputs.js +121 -26
- package/dist/lib/performance/request/sql-select-star.js +150 -0
- package/dist/lib/performance/request/unbounded-promise-all.js +186 -32
- package/dist/lib/performance/request/upload-limits.js +5 -1
- package/dist/lib/performance/rule-ids.js +47 -4
- 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 +36 -11
- package/dist/lib/performance/site-fixes/backend-mastery-fixes.js +298 -16
- 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 +397 -25
- 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-context.js +8 -1
- package/dist/lib/performance/site-fixes/migration-lock-rules.js +72 -33
- package/dist/lib/performance/site-fixes/migrations.js +4 -0
- package/dist/lib/performance/site-fixes/prisma-aggregates.js +29 -9
- 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 +194 -10
- package/dist/lib/performance/site-fixes/sync-calls.js +14 -12
- package/dist/lib/performance/site-fixes/template-tracking-fixes.js +82 -0
- package/dist/lib/performance/site-fixes/upload-limits.js +13 -7
- 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 +39 -16
- 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 +146 -82
- 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 +19 -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/required-member.js +19 -0
- package/dist/lib/reliability/resource-leak-intervals.js +255 -0
- package/dist/lib/reliability/resource-leaks.js +211 -200
- package/dist/lib/reliability/rule-ids.js +80 -2
- 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/site-fixes/resource-leaks.js +16 -1
- 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 +110 -28
- package/dist/lib/reliability/switch-exhaustive.js +195 -5
- package/dist/lib/reliability/test-cleanup-after-await.js +94 -20
- 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/walk.js +3 -2
- 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 +45 -12
- 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 +58 -27
- 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 +54 -3
- package/dist/lib/security/auth-crypto/shared.js +4 -5
- package/dist/lib/security/auth-crypto/signature-verification.js +29 -0
- package/dist/lib/security/auth-crypto/signing-algorithm.js +79 -0
- package/dist/lib/security/auth-crypto/transport-and-ciphers.js +128 -4
- 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 +87 -26
- package/dist/lib/security/cookie-credentials.js +115 -0
- package/dist/lib/security/cookie-csrf.js +550 -0
- package/dist/lib/security/deps/advisory.js +50 -109
- package/dist/lib/security/deps/cargo-lock.js +78 -0
- package/dist/lib/security/deps/cli.js +4 -4
- package/dist/lib/security/deps/cvss-score.js +14 -0
- package/dist/lib/security/deps/fixed-version.js +97 -0
- package/dist/lib/security/deps/lockfiles.js +335 -86
- package/dist/lib/security/deps/osv.js +200 -61
- package/dist/lib/security/deps/scan.js +121 -26
- package/dist/lib/security/deps/yarn-lock.js +158 -0
- 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.cjs → files.js} +9 -3
- package/dist/lib/security/examples/{injection.cjs → injection.js} +17 -3
- package/dist/lib/security/examples/{moved.cjs → moved.js} +1 -3
- package/dist/lib/security/examples/{request-forgery.cjs → request-forgery.js} +1 -3
- 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 +217 -3
- package/dist/lib/security/exposure/cors-origin-regex.js +2 -3
- package/dist/lib/security/exposure/cors.js +63 -4
- package/dist/lib/security/exposure/frontend-security.js +28 -74
- package/dist/lib/security/exposure/index.js +9 -0
- package/dist/lib/security/exposure/js-yaml.js +203 -0
- package/dist/lib/security/exposure/jsx-url.js +18 -33
- package/dist/lib/security/exposure/logging.js +49 -10
- 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 +152 -57
- package/dist/lib/security/exposure/react-html.js +26 -0
- package/dist/lib/security/exposure/reflected-xss.js +81 -17
- 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/component-markup.js +66 -0
- package/dist/lib/security/files/compose.js +128 -2
- package/dist/lib/security/files/dockerfile.js +62 -4
- package/dist/lib/security/files/index.js +122 -28
- package/dist/lib/security/files/kubernetes.js +136 -0
- package/dist/lib/security/files/project-files.js +98 -31
- package/dist/lib/security/files/rule-ids.js +2 -0
- package/dist/lib/security/files/secrets.js +9 -5
- package/dist/lib/security/injection/code.js +33 -5
- package/dist/lib/security/injection/command.js +97 -22
- 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 +7 -1
- package/dist/lib/security/injection/ldap.js +86 -0
- package/dist/lib/security/injection/nosql.js +29 -5
- package/dist/lib/security/injection/redos.js +26 -5
- package/dist/lib/security/injection/rule-ids.js +4 -0
- package/dist/lib/security/injection/shared.js +5 -1
- package/dist/lib/security/injection/shell-output-guard.js +97 -0
- package/dist/lib/security/injection/sql.js +79 -13
- package/dist/lib/security/injection/xpath.js +35 -0
- package/dist/lib/security/lexical-declaration.js +113 -0
- package/dist/lib/security/pg-dynamic-query.js +28 -1
- package/dist/lib/security/pg-identifier-guards.js +164 -8
- package/dist/lib/security/phase5-rules.js +27 -135
- package/dist/lib/security/polyglot.js +35 -3
- package/dist/lib/security/provider-credentials.js +29 -0
- package/dist/lib/security/redirect-settings.js +223 -0
- package/dist/lib/security/request-forgery/contained-helper.js +75 -0
- package/dist/lib/security/request-forgery/open-redirect-query.js +2 -1
- package/dist/lib/security/request-forgery/open-redirect.js +43 -7
- package/dist/lib/security/request-forgery/parsed-host-guard.js +213 -0
- package/dist/lib/security/request-forgery/path-traversal.js +120 -7
- package/dist/lib/security/request-forgery/shared.js +187 -33
- package/dist/lib/security/request-forgery/ssrf.js +319 -13
- package/dist/lib/security/rule-descriptions.js +21 -1
- package/dist/lib/security/rule-ids.js +28 -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 +8 -79
- package/dist/lib/security/site-fixes/exposure.js +21 -3
- package/dist/lib/security/site-fixes/files.js +11 -13
- package/dist/lib/security/site-fixes/frontend-security-fixes.js +2 -2
- package/dist/lib/security/site-fixes/injection.js +17 -4
- package/dist/lib/security/site-fixes/jwt.js +1 -20
- package/dist/lib/security/site-fixes/request-forgery.js +37 -29
- 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 +237 -0
- package/dist/lib/security/taint/field-access.js +80 -0
- package/dist/lib/security/taint/filename-guard.js +125 -50
- package/dist/lib/security/taint/guards.js +163 -24
- package/dist/lib/security/taint/index.js +156 -259
- package/dist/lib/security/taint/propagate.js +47 -14
- package/dist/lib/security/taint/record-writes.js +161 -0
- package/dist/lib/security/taint/resolution-cache.js +22 -7
- package/dist/lib/security/taint/sanitizers.js +94 -10
- 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 +94 -0
- package/dist/lib/security/taint/validators.js +142 -23
- package/dist/lib/security/trusted-bindings.js +44 -0
- package/dist/lib/shared/agent/agent-init.js +84 -8
- 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 +25 -4
- package/dist/lib/shared/agent/git-hook.js +48 -10
- package/dist/lib/shared/agent/notify-editor.js +2 -1
- package/dist/lib/shared/agent/review-mcp.js +75 -15
- 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 +8 -2
- 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/polyglot-compatibility.js +102 -23
- package/dist/lib/shared/analysis/scan-cache-storage.js +180 -0
- package/dist/lib/shared/analysis/scan-cache.js +427 -120
- 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 +73 -37
- package/dist/lib/shared/cli-dispatch.js +17 -0
- 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 +332 -148
- package/dist/lib/shared/declarative-rule-packs.js +173 -0
- package/dist/lib/shared/explain.js +48 -10
- package/dist/lib/shared/fix/fix-convergence.js +49 -130
- package/dist/lib/shared/fix/fix-history.js +130 -26
- package/dist/lib/shared/fix/fix-imports.js +4 -171
- 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-comments.js +23 -9
- 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 +25 -16
- 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 +10 -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 +29 -12
- package/dist/lib/shared/fix/import-text-edits.js +148 -0
- package/dist/lib/shared/fix/project-file-access.js +44 -11
- 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 +192 -32
- package/dist/lib/shared/formats/ci-consumers.js +84 -0
- package/dist/lib/shared/formats/finding-location.js +55 -3
- package/dist/lib/shared/formats/github.js +24 -9
- 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 +181 -33
- package/dist/lib/shared/formats/security-cwe.js +113 -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/report-fp.js +6 -2
- package/dist/lib/shared/reporting/action-summary.js +31 -0
- package/dist/lib/shared/reporting/baseline.js +19 -17
- 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 +44 -20
- 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 +17 -2
- 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 +47 -0
- package/dist/lib/shared/system/glob.js +123 -19
- 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 +31 -9
- 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 +217 -63
- 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 +29 -14
- package/polyglot/performance/rules/csharp.yml +200 -8
- package/polyglot/performance/rules/go.yml +15 -7
- package/polyglot/performance/rules/input.yml +5 -30
- package/polyglot/performance/rules/java.yml +76 -2
- package/polyglot/performance/rules/php.yml +146 -0
- package/polyglot/performance/rules/python.yml +80 -4
- package/polyglot/performance/rules/ruby.yml +81 -0
- package/polyglot/performance/sgconfig.yml +3 -0
- package/polyglot/reliability/rules/csharp.yml +117 -6
- package/polyglot/reliability/rules/go.yml +425 -6
- package/polyglot/reliability/rules/input.yml +6 -0
- package/polyglot/reliability/rules/java.yml +240 -1
- 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 +2 -0
- package/polyglot/security/rules/csharp.yml +143 -3
- package/polyglot/security/rules/go.yml +159 -26
- package/polyglot/security/rules/java.yml +103 -0
- package/polyglot/security/rules/python.yml +465 -5
- package/polyglot/security/rules/rust.yml +241 -3
- package/polyglot/security/sgconfig.yml +3 -0
- package/polyglot/security/utils/java-imported-jca-cipher.yml +32 -0
- package/polyglot/security/utils/java-unshadowed-javax.yml +29 -0
- package/polyglot/shared-rules/input.yml +37 -0
- package/schema/loadwise.config.schema.json +1571 -642
- 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/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 -151
- 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,295 +35,419 @@
|
|
|
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
|
-
|
|
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
|
+
"api-enum-value-removed",
|
|
93
|
+
"api-removed-field",
|
|
94
|
+
"api-removed-operation",
|
|
95
|
+
"api-required-input",
|
|
96
|
+
"api-type-changed",
|
|
97
|
+
"array-repeated-find",
|
|
98
|
+
"array-repeated-membership",
|
|
99
|
+
"array-shift-in-fifo-drain",
|
|
100
|
+
"assignment-in-condition",
|
|
101
|
+
"async-array-predicate",
|
|
102
|
+
"async-callback-unhandled-rejection",
|
|
103
|
+
"async-promise-executor",
|
|
104
|
+
"async-route-unhandled-rejection",
|
|
105
|
+
"auth-route-without-rate-limit",
|
|
106
|
+
"await-before-early-exit",
|
|
107
|
+
"bcrypt-low-cost",
|
|
108
|
+
"browser-not-closed",
|
|
109
|
+
"check-then-update-race",
|
|
110
|
+
"child-process-without-error-listener",
|
|
111
|
+
"client-env-secret-exposed",
|
|
112
|
+
"code-injection",
|
|
113
|
+
"command-injection",
|
|
114
|
+
"committed-secret",
|
|
115
|
+
"compose-hardcoded-secret",
|
|
116
|
+
"cookie-missing-security-flags",
|
|
117
|
+
"cors-credentials-any-origin",
|
|
118
|
+
"cors-origin-regex-unanchored",
|
|
119
|
+
"count-then-page-serial",
|
|
120
|
+
"crlf-unsafe-line-split",
|
|
121
|
+
"csharp-async-void",
|
|
122
|
+
"csharp-binaryformatter-request-deserialization",
|
|
123
|
+
"csharp-disposable-without-using",
|
|
124
|
+
"csharp-ef-count-materialized",
|
|
125
|
+
"csharp-ef-from-sql-raw",
|
|
126
|
+
"csharp-ef-query-in-loop",
|
|
127
|
+
"csharp-fixed-regex-in-loop",
|
|
128
|
+
"csharp-process-start",
|
|
129
|
+
"csharp-string-concat-in-loop",
|
|
130
|
+
"csharp-sync-task-wait-in-async",
|
|
131
|
+
"data-access-boundary",
|
|
132
|
+
"database-error-in-response",
|
|
133
|
+
"db-duplicate-index",
|
|
134
|
+
"db-missing-index",
|
|
135
|
+
"db-pool-client-not-released",
|
|
136
|
+
"db-seq-scan-heavy-table",
|
|
137
|
+
"db-slow-query-plan",
|
|
138
|
+
"db-sqlite-large-scan",
|
|
139
|
+
"db-unindexed-foreign-key",
|
|
140
|
+
"db-unused-index",
|
|
141
|
+
"deep-control-flow",
|
|
142
|
+
"dependency-cycle",
|
|
143
|
+
"dependency-known-vulnerability",
|
|
144
|
+
"deprecated-node-api",
|
|
145
|
+
"discarded-error-result",
|
|
146
|
+
"discarded-file-write-count",
|
|
147
|
+
"discarded-signature-verification-result",
|
|
148
|
+
"dockerfile-add-remote-url",
|
|
149
|
+
"dockerfile-runs-as-root",
|
|
150
|
+
"dockerfile-secret-in-build",
|
|
151
|
+
"dockerfile-unpinned-base-image",
|
|
152
|
+
"dom-layout-thrashing",
|
|
153
|
+
"dom-listener-without-cleanup",
|
|
154
|
+
"dom-unthrottled-scroll-resize",
|
|
155
|
+
"dom-xss-sink",
|
|
156
|
+
"double-type-assertion",
|
|
157
|
+
"drizzle-last-insert-id",
|
|
158
|
+
"drizzle-query-in-loop",
|
|
159
|
+
"drizzle-scope-unverified",
|
|
160
|
+
"drizzle-sql-raw-dynamic",
|
|
161
|
+
"drizzle-unfiltered-write",
|
|
162
|
+
"drizzle-write-preflight",
|
|
163
|
+
"duplicate-implementation",
|
|
164
|
+
"error-logged-without-stack",
|
|
165
|
+
"error-rethrown-without-cause",
|
|
166
|
+
"error-stack-in-response",
|
|
167
|
+
"escape-replace-incomplete",
|
|
168
|
+
"explicit-any",
|
|
169
|
+
"express-cookie-auth-missing-csrf",
|
|
170
|
+
"express-missing-compression",
|
|
171
|
+
"express-missing-helmet",
|
|
172
|
+
"external-call-in-transaction",
|
|
173
|
+
"file-handle-not-closed",
|
|
174
|
+
"file-placement",
|
|
175
|
+
"filter-for-existence",
|
|
176
|
+
"find-then-create-race",
|
|
177
|
+
"floating-promise",
|
|
178
|
+
"focused-test-committed",
|
|
179
|
+
"folder-boundary",
|
|
180
|
+
"frontend-barrel-heavy-import",
|
|
181
|
+
"frontend-storage-secret-token",
|
|
182
|
+
"go-defer-before-error-check",
|
|
183
|
+
"go-error-discarded",
|
|
184
|
+
"go-exec-command-shell",
|
|
185
|
+
"go-fixed-regexp-in-loop",
|
|
186
|
+
"go-http-call-without-deadline",
|
|
187
|
+
"go-http-response-body-not-closed",
|
|
188
|
+
"go-sql-query-in-loop",
|
|
189
|
+
"go-sql-rows-leaked",
|
|
190
|
+
"go-sql-rows-unchecked-err",
|
|
191
|
+
"go-sql-sprintf-injection",
|
|
192
|
+
"go-string-concat-in-loop",
|
|
193
|
+
"go-tls-insecure-skip-verify",
|
|
194
|
+
"graphql-batching-unbounded",
|
|
195
|
+
"graphql-introspection-enabled",
|
|
196
|
+
"graphql-n-plus-one-resolver",
|
|
197
|
+
"graphql-query-depth-unbounded",
|
|
198
|
+
"guard-query-per-request",
|
|
199
|
+
"hardcoded-secret",
|
|
200
|
+
"heavy-media-in-request-handler",
|
|
201
|
+
"high-branch-complexity",
|
|
202
|
+
"http-call-without-timeout",
|
|
203
|
+
"index-missing-filter",
|
|
204
|
+
"index-missing-foreign-key",
|
|
205
|
+
"index-missing-order",
|
|
206
|
+
"index-redundant-prefix",
|
|
207
|
+
"index-unusable-expression",
|
|
208
|
+
"index-unusable-pattern",
|
|
209
|
+
"insecure-cipher",
|
|
210
|
+
"insecure-deserialization",
|
|
211
|
+
"insecure-random-for-secret",
|
|
212
|
+
"interval-not-cleared",
|
|
213
|
+
"invalid-typeof-comparison",
|
|
214
|
+
"java-des-cipher",
|
|
215
|
+
"java-fixed-regex-in-loop",
|
|
216
|
+
"java-jdbc-query-in-loop",
|
|
217
|
+
"java-objectinputstream-request-deserialization",
|
|
218
|
+
"java-resource-without-try",
|
|
219
|
+
"java-runtime-exec",
|
|
220
|
+
"java-shared-date-format",
|
|
221
|
+
"java-sql-string-concat",
|
|
222
|
+
"java-string-concat-in-loop",
|
|
223
|
+
"js-fixed-regexp-in-loop",
|
|
224
|
+
"js-yaml-unsafe-schema",
|
|
225
|
+
"json-parse-unguarded",
|
|
226
|
+
"json-roundtrip-clone",
|
|
227
|
+
"json-stringify-in-loop",
|
|
228
|
+
"jsx-javascript-url",
|
|
229
|
+
"jwt-decode-for-auth",
|
|
230
|
+
"jwt-none-algorithm",
|
|
231
|
+
"jwt-sign-without-expiry",
|
|
232
|
+
"jwt-verify-without-algorithms",
|
|
233
|
+
"jwt-weak-secret-literal",
|
|
234
|
+
"knex-raw-dynamic-text",
|
|
235
|
+
"known-reads-awaited-serially",
|
|
236
|
+
"kotlin-run-blocking-in-suspend",
|
|
237
|
+
"kubernetes-privileged-container",
|
|
238
|
+
"kysely-scope-unverified",
|
|
239
|
+
"large-class",
|
|
240
|
+
"large-module",
|
|
241
|
+
"ldap-filter-injection",
|
|
242
|
+
"list-count-per-request",
|
|
243
|
+
"list-query-overfetch",
|
|
244
|
+
"llm-call-without-max-tokens",
|
|
245
|
+
"long-parameter-list",
|
|
246
|
+
"loop-copy-accumulator",
|
|
247
|
+
"loop-index-past-length",
|
|
248
|
+
"lossy-same-file-text-rewrite",
|
|
249
|
+
"mass-assignment",
|
|
250
|
+
"migration-breaking-drop",
|
|
251
|
+
"migration-breaking-rename",
|
|
252
|
+
"migration-column-type-rewrite",
|
|
253
|
+
"migration-concurrent-in-transaction",
|
|
254
|
+
"migration-constraint-not-valid",
|
|
255
|
+
"migration-constraint-without-index",
|
|
256
|
+
"migration-index-not-concurrent",
|
|
257
|
+
"migration-missing-lock-timeout",
|
|
258
|
+
"migration-mysql-lock-unspecified",
|
|
259
|
+
"migration-mysql-table-copy",
|
|
260
|
+
"migration-not-null-without-default",
|
|
261
|
+
"migration-set-not-null-scan",
|
|
262
|
+
"migration-sqlserver-offline-index",
|
|
263
|
+
"migration-table-access-exclusive-lock",
|
|
264
|
+
"migration-table-rewrite-command",
|
|
265
|
+
"migration-unparsed",
|
|
266
|
+
"migration-volatile-default",
|
|
267
|
+
"mongo-collection-scan-observed",
|
|
268
|
+
"mongoose-aggregate-uncast-id",
|
|
269
|
+
"mongoose-hydrate-for-to-object",
|
|
270
|
+
"mongoose-missing-lean",
|
|
271
|
+
"mysql-dynamic-query-text",
|
|
272
|
+
"nan-comparison",
|
|
273
|
+
"nest-validation-without-whitelist",
|
|
274
|
+
"next-image-any-remote-host",
|
|
275
|
+
"next-server-env-in-client",
|
|
276
|
+
"next-server-fetch-waterfall",
|
|
277
|
+
"node-event-listener-leak",
|
|
278
|
+
"node-sync-compression-in-async",
|
|
279
|
+
"node-sync-crypto-in-async",
|
|
280
|
+
"node-sync-fs-in-async",
|
|
281
|
+
"node-sync-process-in-async",
|
|
282
|
+
"nosql-operator-injection",
|
|
283
|
+
"notification-send-in-loop",
|
|
284
|
+
"numeric-array-default-sort",
|
|
285
|
+
"numeric-sort-for-extreme",
|
|
286
|
+
"open-redirect",
|
|
287
|
+
"orm-cartesian-include",
|
|
288
|
+
"orm-count-materialization",
|
|
289
|
+
"orm-deep-offset",
|
|
290
|
+
"orm-query-in-loop",
|
|
291
|
+
"parse-failure-resets-file",
|
|
292
|
+
"password-hash-in-response",
|
|
293
|
+
"password-hash-pure-js",
|
|
294
|
+
"password-hash-sync-in-async",
|
|
295
|
+
"path-traversal",
|
|
296
|
+
"payment-missing-idempotency-key",
|
|
297
|
+
"pg-advisory-lock-session",
|
|
298
|
+
"pg-count-materialization",
|
|
299
|
+
"pg-dynamic-query-text",
|
|
300
|
+
"pg-filter-materialization",
|
|
301
|
+
"pg-first-materialization",
|
|
302
|
+
"pg-listen-session",
|
|
303
|
+
"pg-query-in-loop",
|
|
304
|
+
"pg-top-k-materialization",
|
|
305
|
+
"pg-transaction-on-pool",
|
|
306
|
+
"pg-unreleased-checkout",
|
|
307
|
+
"php-eloquent-query-in-loop",
|
|
308
|
+
"plaintext-password-storage",
|
|
309
|
+
"pool-created-per-request-or-item",
|
|
310
|
+
"pool-without-connection-timeout",
|
|
311
|
+
"postmessage-missing-origin-check",
|
|
312
|
+
"prisma-count-for-existence",
|
|
313
|
+
"prisma-count-materialization",
|
|
314
|
+
"prisma-dependent-writes",
|
|
315
|
+
"prisma-distinct-in-memory",
|
|
316
|
+
"prisma-filter-materialization",
|
|
317
|
+
"prisma-first-materialization",
|
|
318
|
+
"prisma-query-in-loop",
|
|
319
|
+
"prisma-raw-unsafe-dynamic",
|
|
320
|
+
"prisma-read-modify-write",
|
|
321
|
+
"prisma-relation-count-in-list",
|
|
322
|
+
"prisma-scope-unverified",
|
|
323
|
+
"prisma-top-k-materialization",
|
|
324
|
+
"prisma-transaction-client-escape",
|
|
325
|
+
"promise-combinator-serial-await",
|
|
326
|
+
"promise-return-escapes-catch",
|
|
327
|
+
"prototype-pollution",
|
|
328
|
+
"python-bare-except",
|
|
329
|
+
"python-blocking-sleep-in-async",
|
|
330
|
+
"python-copy-growing-list",
|
|
331
|
+
"python-file-not-closed",
|
|
332
|
+
"python-fixed-regex-in-loop",
|
|
333
|
+
"python-insecure-deserialization",
|
|
334
|
+
"python-interactive-debugger",
|
|
335
|
+
"python-mutated-mutable-default",
|
|
336
|
+
"python-n-plus-one-orm-loop",
|
|
337
|
+
"python-requests-tls-verify-disabled",
|
|
338
|
+
"python-requests-without-timeout",
|
|
339
|
+
"python-sqlite-unbound-value",
|
|
340
|
+
"python-subprocess-shell-true",
|
|
341
|
+
"python-swallowed-exception",
|
|
342
|
+
"python-sync-requests-in-async",
|
|
343
|
+
"python-unbounded-comprehension",
|
|
344
|
+
"python-unsafe-yaml-load",
|
|
345
|
+
"query-mutates-state",
|
|
346
|
+
"query-runner-not-released",
|
|
347
|
+
"queue-add-in-loop",
|
|
348
|
+
"raw-content-disposition-filename",
|
|
349
|
+
"react-async-effect-callback",
|
|
350
|
+
"react-component-defined-in-component",
|
|
351
|
+
"react-context-value-recreated",
|
|
352
|
+
"react-dangerously-set-inner-html",
|
|
353
|
+
"react-effect-sets-state-every-render",
|
|
354
|
+
"react-fetch-in-effect-no-abort",
|
|
355
|
+
"react-index-as-key",
|
|
356
|
+
"react-inline-object-in-jsx-prop",
|
|
357
|
+
"react-list-missing-key",
|
|
358
|
+
"react-missing-cleanup",
|
|
359
|
+
"react-state-mutated-in-place",
|
|
360
|
+
"rebuild-lookup-in-loop",
|
|
361
|
+
"redis-command-in-loop",
|
|
362
|
+
"redis-incr-then-expire",
|
|
363
|
+
"redis-keys-command",
|
|
364
|
+
"reduce-copy-accumulator",
|
|
365
|
+
"reflected-xss-response",
|
|
366
|
+
"regex-catastrophic-backtracking",
|
|
367
|
+
"regex-from-input",
|
|
368
|
+
"repeated-workbook-decode",
|
|
369
|
+
"request-number-unvalidated",
|
|
370
|
+
"request-selected-executable",
|
|
371
|
+
"retry-without-backoff",
|
|
372
|
+
"return-in-finally",
|
|
373
|
+
"return-newline",
|
|
374
|
+
"ruby-active-record-query-in-loop",
|
|
375
|
+
"rust-blocking-std-in-async",
|
|
376
|
+
"rust-clone-in-loop",
|
|
377
|
+
"rust-command-shell",
|
|
378
|
+
"rust-fixed-regex-in-loop",
|
|
379
|
+
"rust-format-in-loop",
|
|
380
|
+
"rust-mutex-guard-across-await",
|
|
381
|
+
"rust-reqwest-danger-accept-invalid-certs",
|
|
382
|
+
"rust-unsafe-raw-pointer-deref",
|
|
383
|
+
"rust-unwrap-in-production",
|
|
384
|
+
"same-file-stream-truncation",
|
|
385
|
+
"secret-compared-non-constant-time",
|
|
386
|
+
"secret-in-log",
|
|
387
|
+
"secret-in-url-query",
|
|
388
|
+
"sequelize-dynamic-query-text",
|
|
389
|
+
"sequential-http-in-loop",
|
|
390
|
+
"serial-awaits-in-literal",
|
|
391
|
+
"server-action-missing-auth",
|
|
392
|
+
"service-query-in-loop",
|
|
393
|
+
"session-memory-store",
|
|
394
|
+
"sql-insert-truncated-at-semicolon",
|
|
395
|
+
"sql-select-star-in-query",
|
|
396
|
+
"ssrf-redirect-bypass",
|
|
397
|
+
"ssrf-request-url",
|
|
398
|
+
"storage-object-public-acl",
|
|
399
|
+
"stray-console",
|
|
400
|
+
"stream-pipe-unhandled-error",
|
|
401
|
+
"swallowed-error",
|
|
402
|
+
"switch-not-exhaustive",
|
|
403
|
+
"template-autoescape-disabled",
|
|
404
|
+
"template-injection",
|
|
405
|
+
"template-raw-html-binding",
|
|
406
|
+
"test-cleanup-after-await",
|
|
407
|
+
"throw-non-error",
|
|
408
|
+
"tls-verification-disabled",
|
|
409
|
+
"trust-boundary-violation",
|
|
410
|
+
"ts-suppression-without-reason",
|
|
411
|
+
"tsconfig-strict-disabled",
|
|
412
|
+
"typeorm-dynamic-query-text",
|
|
413
|
+
"typeorm-existence-materialization",
|
|
414
|
+
"typeorm-load-then-save",
|
|
415
|
+
"typeorm-transaction-client-escape",
|
|
416
|
+
"typeorm-transaction-in-loop",
|
|
417
|
+
"typeorm-unused-count",
|
|
418
|
+
"typeorm-wide-projection",
|
|
419
|
+
"unbounded-list-query",
|
|
420
|
+
"unbounded-module-cache",
|
|
421
|
+
"unbounded-promise-all",
|
|
422
|
+
"uncaught-exception-continues",
|
|
423
|
+
"unchecked-json-cast",
|
|
424
|
+
"unguarded-boundary-access",
|
|
425
|
+
"unreachable-code",
|
|
426
|
+
"unreferenced-file",
|
|
427
|
+
"unsafe-wide-type",
|
|
428
|
+
"unused-export",
|
|
429
|
+
"unused-import",
|
|
430
|
+
"unused-local-function",
|
|
431
|
+
"unused-local-variable",
|
|
432
|
+
"upload-client-filename",
|
|
433
|
+
"upload-without-size-limit",
|
|
434
|
+
"vm-sandbox-escape",
|
|
435
|
+
"vue-v-for-missing-key",
|
|
436
|
+
"vue-v-html-unsanitized",
|
|
437
|
+
"vue-watch-missing-cleanup",
|
|
438
|
+
"weak-hash",
|
|
439
|
+
"weak-password-hash",
|
|
440
|
+
"webhook-body-without-verification",
|
|
441
|
+
"webhook-missing-idempotency-check",
|
|
442
|
+
"whole-payload-in-memory",
|
|
443
|
+
"xml-external-entities",
|
|
444
|
+
"xpath-injection",
|
|
445
|
+
"zip-slip-extraction"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"pattern": "^project-[a-z0-9]+(?:-[a-z0-9]+)*--[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
450
|
+
}
|
|
309
451
|
]
|
|
310
452
|
},
|
|
311
453
|
"additionalProperties": {
|
|
@@ -318,54 +460,349 @@
|
|
|
318
460
|
"properties": {
|
|
319
461
|
"level": {
|
|
320
462
|
"enum": ["off", "warn", "error"]
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"required": ["level"],
|
|
466
|
+
"additionalProperties": false
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
"properties": {
|
|
471
|
+
"deep-control-flow": {
|
|
472
|
+
"oneOf": [
|
|
473
|
+
{
|
|
474
|
+
"enum": ["off", "warn", "error"]
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"type": "object",
|
|
478
|
+
"properties": {
|
|
479
|
+
"level": {
|
|
480
|
+
"enum": ["off", "warn", "error"]
|
|
481
|
+
},
|
|
482
|
+
"options": {
|
|
483
|
+
"type": "object",
|
|
484
|
+
"properties": {
|
|
485
|
+
"maxDepth": {
|
|
486
|
+
"type": "integer",
|
|
487
|
+
"minimum": 1
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"additionalProperties": false
|
|
491
|
+
}
|
|
321
492
|
},
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
493
|
+
"required": ["level"],
|
|
494
|
+
"additionalProperties": false
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
"high-branch-complexity": {
|
|
499
|
+
"oneOf": [
|
|
500
|
+
{
|
|
501
|
+
"enum": ["off", "warn", "error"]
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"type": "object",
|
|
505
|
+
"properties": {
|
|
506
|
+
"level": {
|
|
507
|
+
"enum": ["off", "warn", "error"]
|
|
508
|
+
},
|
|
509
|
+
"options": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"maxComplexity": {
|
|
513
|
+
"type": "integer",
|
|
514
|
+
"minimum": 1
|
|
515
|
+
}
|
|
328
516
|
},
|
|
329
|
-
"
|
|
330
|
-
|
|
331
|
-
|
|
517
|
+
"additionalProperties": false
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": ["level"],
|
|
521
|
+
"additionalProperties": false
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
"long-parameter-list": {
|
|
526
|
+
"oneOf": [
|
|
527
|
+
{
|
|
528
|
+
"enum": ["off", "warn", "error"]
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"level": {
|
|
534
|
+
"enum": ["off", "warn", "error"]
|
|
535
|
+
},
|
|
536
|
+
"options": {
|
|
537
|
+
"type": "object",
|
|
538
|
+
"properties": {
|
|
539
|
+
"maxParams": {
|
|
540
|
+
"type": "integer",
|
|
541
|
+
"minimum": 1
|
|
542
|
+
}
|
|
332
543
|
},
|
|
333
|
-
"
|
|
334
|
-
|
|
335
|
-
|
|
544
|
+
"additionalProperties": false
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"required": ["level"],
|
|
548
|
+
"additionalProperties": false
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
"large-module": {
|
|
553
|
+
"oneOf": [
|
|
554
|
+
{
|
|
555
|
+
"enum": ["off", "warn", "error"]
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"level": {
|
|
561
|
+
"enum": ["off", "warn", "error"]
|
|
562
|
+
},
|
|
563
|
+
"options": {
|
|
564
|
+
"type": "object",
|
|
565
|
+
"properties": {
|
|
566
|
+
"maxLines": {
|
|
567
|
+
"type": "integer",
|
|
568
|
+
"minimum": 1
|
|
569
|
+
}
|
|
336
570
|
},
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
|
|
571
|
+
"additionalProperties": false
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"required": ["level"],
|
|
575
|
+
"additionalProperties": false
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
"large-class": {
|
|
580
|
+
"oneOf": [
|
|
581
|
+
{
|
|
582
|
+
"enum": ["off", "warn", "error"]
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": "object",
|
|
586
|
+
"properties": {
|
|
587
|
+
"level": {
|
|
588
|
+
"enum": ["off", "warn", "error"]
|
|
589
|
+
},
|
|
590
|
+
"options": {
|
|
591
|
+
"type": "object",
|
|
592
|
+
"properties": {
|
|
593
|
+
"maxMethods": {
|
|
594
|
+
"type": "integer",
|
|
595
|
+
"minimum": 1
|
|
596
|
+
},
|
|
597
|
+
"maxLines": {
|
|
598
|
+
"type": "integer",
|
|
599
|
+
"minimum": 1
|
|
600
|
+
}
|
|
340
601
|
},
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
|
|
602
|
+
"additionalProperties": false
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"required": ["level"],
|
|
606
|
+
"additionalProperties": false
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
"bcrypt-low-cost": {
|
|
611
|
+
"oneOf": [
|
|
612
|
+
{
|
|
613
|
+
"enum": ["off", "warn", "error"]
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "object",
|
|
617
|
+
"properties": {
|
|
618
|
+
"level": {
|
|
619
|
+
"enum": ["off", "warn", "error"]
|
|
620
|
+
},
|
|
621
|
+
"options": {
|
|
622
|
+
"type": "object",
|
|
623
|
+
"properties": {
|
|
624
|
+
"minCost": {
|
|
625
|
+
"type": "integer",
|
|
626
|
+
"minimum": 1,
|
|
627
|
+
"maximum": 31
|
|
628
|
+
}
|
|
344
629
|
},
|
|
345
|
-
"
|
|
346
|
-
|
|
347
|
-
|
|
630
|
+
"additionalProperties": false
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"required": ["level"],
|
|
634
|
+
"additionalProperties": false
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
"duplicate-implementation": {
|
|
639
|
+
"oneOf": [
|
|
640
|
+
{
|
|
641
|
+
"enum": ["off", "warn", "error"]
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"level": {
|
|
647
|
+
"enum": ["off", "warn", "error"]
|
|
648
|
+
},
|
|
649
|
+
"options": {
|
|
650
|
+
"type": "object",
|
|
651
|
+
"properties": {
|
|
652
|
+
"minNodes": {
|
|
653
|
+
"type": "integer",
|
|
654
|
+
"minimum": 1,
|
|
655
|
+
"maximum": 8192
|
|
656
|
+
}
|
|
348
657
|
},
|
|
349
|
-
"
|
|
350
|
-
|
|
351
|
-
|
|
658
|
+
"additionalProperties": false
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
"required": ["level"],
|
|
662
|
+
"additionalProperties": false
|
|
663
|
+
}
|
|
664
|
+
]
|
|
665
|
+
},
|
|
666
|
+
"orm-deep-offset": {
|
|
667
|
+
"oneOf": [
|
|
668
|
+
{
|
|
669
|
+
"enum": ["off", "warn", "error"]
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"level": {
|
|
675
|
+
"enum": ["off", "warn", "error"]
|
|
676
|
+
},
|
|
677
|
+
"options": {
|
|
678
|
+
"type": "object",
|
|
679
|
+
"properties": {
|
|
680
|
+
"maxOffset": {
|
|
681
|
+
"type": "integer",
|
|
682
|
+
"minimum": 1
|
|
683
|
+
}
|
|
352
684
|
},
|
|
353
|
-
"
|
|
354
|
-
|
|
355
|
-
|
|
685
|
+
"additionalProperties": false
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"required": ["level"],
|
|
689
|
+
"additionalProperties": false
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
},
|
|
693
|
+
"upload-without-size-limit": {
|
|
694
|
+
"oneOf": [
|
|
695
|
+
{
|
|
696
|
+
"enum": ["off", "warn", "error"]
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"type": "object",
|
|
700
|
+
"properties": {
|
|
701
|
+
"level": {
|
|
702
|
+
"enum": ["off", "warn", "error"]
|
|
703
|
+
},
|
|
704
|
+
"options": {
|
|
705
|
+
"type": "object",
|
|
706
|
+
"properties": {
|
|
707
|
+
"maxBytes": {
|
|
708
|
+
"type": "integer",
|
|
709
|
+
"minimum": 1
|
|
710
|
+
}
|
|
356
711
|
},
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
712
|
+
"additionalProperties": false
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"required": ["level"],
|
|
716
|
+
"additionalProperties": false
|
|
717
|
+
}
|
|
718
|
+
]
|
|
719
|
+
},
|
|
720
|
+
"pool-without-connection-timeout": {
|
|
721
|
+
"oneOf": [
|
|
722
|
+
{
|
|
723
|
+
"enum": ["off", "warn", "error"]
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"level": {
|
|
729
|
+
"enum": ["off", "warn", "error"]
|
|
361
730
|
},
|
|
362
|
-
"
|
|
363
|
-
|
|
731
|
+
"options": {
|
|
732
|
+
"type": "object",
|
|
733
|
+
"properties": {
|
|
734
|
+
"connectionTimeoutMillis": {
|
|
735
|
+
"type": "integer",
|
|
736
|
+
"minimum": 1,
|
|
737
|
+
"maximum": 2147483647
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"additionalProperties": false
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"required": ["level"],
|
|
744
|
+
"additionalProperties": false
|
|
745
|
+
}
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
"llm-call-without-max-tokens": {
|
|
749
|
+
"oneOf": [
|
|
750
|
+
{
|
|
751
|
+
"enum": ["off", "warn", "error"]
|
|
364
752
|
},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
753
|
+
{
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"level": {
|
|
757
|
+
"enum": ["off", "warn", "error"]
|
|
758
|
+
},
|
|
759
|
+
"options": {
|
|
760
|
+
"type": "object",
|
|
761
|
+
"properties": {
|
|
762
|
+
"maxOutputTokens": {
|
|
763
|
+
"type": "integer",
|
|
764
|
+
"minimum": 1,
|
|
765
|
+
"maximum": 9007199254740991
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"additionalProperties": false
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"required": ["level"],
|
|
772
|
+
"additionalProperties": false
|
|
773
|
+
}
|
|
774
|
+
]
|
|
775
|
+
},
|
|
776
|
+
"stray-console": {
|
|
777
|
+
"oneOf": [
|
|
778
|
+
{
|
|
779
|
+
"enum": ["off", "warn", "error"]
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"type": "object",
|
|
783
|
+
"properties": {
|
|
784
|
+
"level": {
|
|
785
|
+
"enum": ["off", "warn", "error"]
|
|
786
|
+
},
|
|
787
|
+
"options": {
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"allowedMethods": {
|
|
791
|
+
"type": "array",
|
|
792
|
+
"items": {
|
|
793
|
+
"type": "string",
|
|
794
|
+
"enum": ["log", "info", "debug", "warn", "error", "trace", "dir", "table"]
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"additionalProperties": false
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"required": ["level"],
|
|
802
|
+
"additionalProperties": false
|
|
803
|
+
}
|
|
804
|
+
]
|
|
805
|
+
}
|
|
369
806
|
}
|
|
370
807
|
},
|
|
371
808
|
"overrides": {
|
|
@@ -384,287 +821,396 @@
|
|
|
384
821
|
"rules": {
|
|
385
822
|
"type": "object",
|
|
386
823
|
"propertyNames": {
|
|
387
|
-
"
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
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
|
-
|
|
824
|
+
"anyOf": [
|
|
825
|
+
{
|
|
826
|
+
"enum": [
|
|
827
|
+
"a11y-aria-hidden-focus",
|
|
828
|
+
"a11y-aria-role-missing-checked",
|
|
829
|
+
"a11y-button-missing-name",
|
|
830
|
+
"a11y-button-missing-type",
|
|
831
|
+
"a11y-clickable-non-interactive",
|
|
832
|
+
"a11y-competing-autofocus",
|
|
833
|
+
"a11y-data-table-missing-headers",
|
|
834
|
+
"a11y-heading-level-skipped",
|
|
835
|
+
"a11y-html-invalid-lang",
|
|
836
|
+
"a11y-html-missing-lang",
|
|
837
|
+
"a11y-iframe-missing-title",
|
|
838
|
+
"a11y-img-missing-alt",
|
|
839
|
+
"a11y-input-missing-autocomplete",
|
|
840
|
+
"a11y-invalid-aria",
|
|
841
|
+
"a11y-invalid-id-reference",
|
|
842
|
+
"a11y-link-text-not-descriptive",
|
|
843
|
+
"a11y-media-autoplay",
|
|
844
|
+
"a11y-missing-form-label",
|
|
845
|
+
"a11y-nested-interactive",
|
|
846
|
+
"a11y-placeholder-link-action",
|
|
847
|
+
"a11y-positive-tabindex",
|
|
848
|
+
"a11y-svg-image-missing-name",
|
|
849
|
+
"a11y-video-captions-review",
|
|
850
|
+
"a11y-viewport-zoom-disabled",
|
|
851
|
+
"angular-bypass-security-trust",
|
|
852
|
+
"angular-default-change-detection",
|
|
853
|
+
"angular-ngfor-missing-trackby",
|
|
854
|
+
"angular-subscribe-without-cleanup",
|
|
855
|
+
"api-enum-value-removed",
|
|
856
|
+
"api-removed-field",
|
|
857
|
+
"api-removed-operation",
|
|
858
|
+
"api-required-input",
|
|
859
|
+
"api-type-changed",
|
|
860
|
+
"array-repeated-find",
|
|
861
|
+
"array-repeated-membership",
|
|
862
|
+
"array-shift-in-fifo-drain",
|
|
863
|
+
"assignment-in-condition",
|
|
864
|
+
"async-array-predicate",
|
|
865
|
+
"async-callback-unhandled-rejection",
|
|
866
|
+
"async-promise-executor",
|
|
867
|
+
"async-route-unhandled-rejection",
|
|
868
|
+
"auth-route-without-rate-limit",
|
|
869
|
+
"await-before-early-exit",
|
|
870
|
+
"bcrypt-low-cost",
|
|
871
|
+
"browser-not-closed",
|
|
872
|
+
"check-then-update-race",
|
|
873
|
+
"child-process-without-error-listener",
|
|
874
|
+
"client-env-secret-exposed",
|
|
875
|
+
"code-injection",
|
|
876
|
+
"command-injection",
|
|
877
|
+
"committed-secret",
|
|
878
|
+
"compose-hardcoded-secret",
|
|
879
|
+
"cookie-missing-security-flags",
|
|
880
|
+
"cors-credentials-any-origin",
|
|
881
|
+
"cors-origin-regex-unanchored",
|
|
882
|
+
"count-then-page-serial",
|
|
883
|
+
"crlf-unsafe-line-split",
|
|
884
|
+
"csharp-async-void",
|
|
885
|
+
"csharp-binaryformatter-request-deserialization",
|
|
886
|
+
"csharp-disposable-without-using",
|
|
887
|
+
"csharp-ef-count-materialized",
|
|
888
|
+
"csharp-ef-from-sql-raw",
|
|
889
|
+
"csharp-ef-query-in-loop",
|
|
890
|
+
"csharp-fixed-regex-in-loop",
|
|
891
|
+
"csharp-process-start",
|
|
892
|
+
"csharp-string-concat-in-loop",
|
|
893
|
+
"csharp-sync-task-wait-in-async",
|
|
894
|
+
"data-access-boundary",
|
|
895
|
+
"database-error-in-response",
|
|
896
|
+
"db-duplicate-index",
|
|
897
|
+
"db-missing-index",
|
|
898
|
+
"db-pool-client-not-released",
|
|
899
|
+
"db-seq-scan-heavy-table",
|
|
900
|
+
"db-slow-query-plan",
|
|
901
|
+
"db-sqlite-large-scan",
|
|
902
|
+
"db-unindexed-foreign-key",
|
|
903
|
+
"db-unused-index",
|
|
904
|
+
"deep-control-flow",
|
|
905
|
+
"dependency-cycle",
|
|
906
|
+
"dependency-known-vulnerability",
|
|
907
|
+
"deprecated-node-api",
|
|
908
|
+
"discarded-error-result",
|
|
909
|
+
"discarded-file-write-count",
|
|
910
|
+
"discarded-signature-verification-result",
|
|
911
|
+
"dockerfile-add-remote-url",
|
|
912
|
+
"dockerfile-runs-as-root",
|
|
913
|
+
"dockerfile-secret-in-build",
|
|
914
|
+
"dockerfile-unpinned-base-image",
|
|
915
|
+
"dom-layout-thrashing",
|
|
916
|
+
"dom-listener-without-cleanup",
|
|
917
|
+
"dom-unthrottled-scroll-resize",
|
|
918
|
+
"dom-xss-sink",
|
|
919
|
+
"double-type-assertion",
|
|
920
|
+
"drizzle-last-insert-id",
|
|
921
|
+
"drizzle-query-in-loop",
|
|
922
|
+
"drizzle-scope-unverified",
|
|
923
|
+
"drizzle-sql-raw-dynamic",
|
|
924
|
+
"drizzle-unfiltered-write",
|
|
925
|
+
"drizzle-write-preflight",
|
|
926
|
+
"duplicate-implementation",
|
|
927
|
+
"error-logged-without-stack",
|
|
928
|
+
"error-rethrown-without-cause",
|
|
929
|
+
"error-stack-in-response",
|
|
930
|
+
"escape-replace-incomplete",
|
|
931
|
+
"explicit-any",
|
|
932
|
+
"express-cookie-auth-missing-csrf",
|
|
933
|
+
"express-missing-compression",
|
|
934
|
+
"express-missing-helmet",
|
|
935
|
+
"external-call-in-transaction",
|
|
936
|
+
"file-handle-not-closed",
|
|
937
|
+
"file-placement",
|
|
938
|
+
"filter-for-existence",
|
|
939
|
+
"find-then-create-race",
|
|
940
|
+
"floating-promise",
|
|
941
|
+
"focused-test-committed",
|
|
942
|
+
"folder-boundary",
|
|
943
|
+
"frontend-barrel-heavy-import",
|
|
944
|
+
"frontend-storage-secret-token",
|
|
945
|
+
"go-defer-before-error-check",
|
|
946
|
+
"go-error-discarded",
|
|
947
|
+
"go-exec-command-shell",
|
|
948
|
+
"go-fixed-regexp-in-loop",
|
|
949
|
+
"go-http-call-without-deadline",
|
|
950
|
+
"go-http-response-body-not-closed",
|
|
951
|
+
"go-sql-query-in-loop",
|
|
952
|
+
"go-sql-rows-leaked",
|
|
953
|
+
"go-sql-rows-unchecked-err",
|
|
954
|
+
"go-sql-sprintf-injection",
|
|
955
|
+
"go-string-concat-in-loop",
|
|
956
|
+
"go-tls-insecure-skip-verify",
|
|
957
|
+
"graphql-batching-unbounded",
|
|
958
|
+
"graphql-introspection-enabled",
|
|
959
|
+
"graphql-n-plus-one-resolver",
|
|
960
|
+
"graphql-query-depth-unbounded",
|
|
961
|
+
"guard-query-per-request",
|
|
962
|
+
"hardcoded-secret",
|
|
963
|
+
"heavy-media-in-request-handler",
|
|
964
|
+
"high-branch-complexity",
|
|
965
|
+
"http-call-without-timeout",
|
|
966
|
+
"index-missing-filter",
|
|
967
|
+
"index-missing-foreign-key",
|
|
968
|
+
"index-missing-order",
|
|
969
|
+
"index-redundant-prefix",
|
|
970
|
+
"index-unusable-expression",
|
|
971
|
+
"index-unusable-pattern",
|
|
972
|
+
"insecure-cipher",
|
|
973
|
+
"insecure-deserialization",
|
|
974
|
+
"insecure-random-for-secret",
|
|
975
|
+
"interval-not-cleared",
|
|
976
|
+
"invalid-typeof-comparison",
|
|
977
|
+
"java-des-cipher",
|
|
978
|
+
"java-fixed-regex-in-loop",
|
|
979
|
+
"java-jdbc-query-in-loop",
|
|
980
|
+
"java-objectinputstream-request-deserialization",
|
|
981
|
+
"java-resource-without-try",
|
|
982
|
+
"java-runtime-exec",
|
|
983
|
+
"java-shared-date-format",
|
|
984
|
+
"java-sql-string-concat",
|
|
985
|
+
"java-string-concat-in-loop",
|
|
986
|
+
"js-fixed-regexp-in-loop",
|
|
987
|
+
"js-yaml-unsafe-schema",
|
|
988
|
+
"json-parse-unguarded",
|
|
989
|
+
"json-roundtrip-clone",
|
|
990
|
+
"json-stringify-in-loop",
|
|
991
|
+
"jsx-javascript-url",
|
|
992
|
+
"jwt-decode-for-auth",
|
|
993
|
+
"jwt-none-algorithm",
|
|
994
|
+
"jwt-sign-without-expiry",
|
|
995
|
+
"jwt-verify-without-algorithms",
|
|
996
|
+
"jwt-weak-secret-literal",
|
|
997
|
+
"knex-raw-dynamic-text",
|
|
998
|
+
"known-reads-awaited-serially",
|
|
999
|
+
"kotlin-run-blocking-in-suspend",
|
|
1000
|
+
"kubernetes-privileged-container",
|
|
1001
|
+
"kysely-scope-unverified",
|
|
1002
|
+
"large-class",
|
|
1003
|
+
"large-module",
|
|
1004
|
+
"ldap-filter-injection",
|
|
1005
|
+
"list-count-per-request",
|
|
1006
|
+
"list-query-overfetch",
|
|
1007
|
+
"llm-call-without-max-tokens",
|
|
1008
|
+
"long-parameter-list",
|
|
1009
|
+
"loop-copy-accumulator",
|
|
1010
|
+
"loop-index-past-length",
|
|
1011
|
+
"lossy-same-file-text-rewrite",
|
|
1012
|
+
"mass-assignment",
|
|
1013
|
+
"migration-breaking-drop",
|
|
1014
|
+
"migration-breaking-rename",
|
|
1015
|
+
"migration-column-type-rewrite",
|
|
1016
|
+
"migration-concurrent-in-transaction",
|
|
1017
|
+
"migration-constraint-not-valid",
|
|
1018
|
+
"migration-constraint-without-index",
|
|
1019
|
+
"migration-index-not-concurrent",
|
|
1020
|
+
"migration-missing-lock-timeout",
|
|
1021
|
+
"migration-mysql-lock-unspecified",
|
|
1022
|
+
"migration-mysql-table-copy",
|
|
1023
|
+
"migration-not-null-without-default",
|
|
1024
|
+
"migration-set-not-null-scan",
|
|
1025
|
+
"migration-sqlserver-offline-index",
|
|
1026
|
+
"migration-table-access-exclusive-lock",
|
|
1027
|
+
"migration-table-rewrite-command",
|
|
1028
|
+
"migration-unparsed",
|
|
1029
|
+
"migration-volatile-default",
|
|
1030
|
+
"mongo-collection-scan-observed",
|
|
1031
|
+
"mongoose-aggregate-uncast-id",
|
|
1032
|
+
"mongoose-hydrate-for-to-object",
|
|
1033
|
+
"mongoose-missing-lean",
|
|
1034
|
+
"mysql-dynamic-query-text",
|
|
1035
|
+
"nan-comparison",
|
|
1036
|
+
"nest-validation-without-whitelist",
|
|
1037
|
+
"next-image-any-remote-host",
|
|
1038
|
+
"next-server-env-in-client",
|
|
1039
|
+
"next-server-fetch-waterfall",
|
|
1040
|
+
"node-event-listener-leak",
|
|
1041
|
+
"node-sync-compression-in-async",
|
|
1042
|
+
"node-sync-crypto-in-async",
|
|
1043
|
+
"node-sync-fs-in-async",
|
|
1044
|
+
"node-sync-process-in-async",
|
|
1045
|
+
"nosql-operator-injection",
|
|
1046
|
+
"notification-send-in-loop",
|
|
1047
|
+
"numeric-array-default-sort",
|
|
1048
|
+
"numeric-sort-for-extreme",
|
|
1049
|
+
"open-redirect",
|
|
1050
|
+
"orm-cartesian-include",
|
|
1051
|
+
"orm-count-materialization",
|
|
1052
|
+
"orm-deep-offset",
|
|
1053
|
+
"orm-query-in-loop",
|
|
1054
|
+
"parse-failure-resets-file",
|
|
1055
|
+
"password-hash-in-response",
|
|
1056
|
+
"password-hash-pure-js",
|
|
1057
|
+
"password-hash-sync-in-async",
|
|
1058
|
+
"path-traversal",
|
|
1059
|
+
"payment-missing-idempotency-key",
|
|
1060
|
+
"pg-advisory-lock-session",
|
|
1061
|
+
"pg-count-materialization",
|
|
1062
|
+
"pg-dynamic-query-text",
|
|
1063
|
+
"pg-filter-materialization",
|
|
1064
|
+
"pg-first-materialization",
|
|
1065
|
+
"pg-listen-session",
|
|
1066
|
+
"pg-query-in-loop",
|
|
1067
|
+
"pg-top-k-materialization",
|
|
1068
|
+
"pg-transaction-on-pool",
|
|
1069
|
+
"pg-unreleased-checkout",
|
|
1070
|
+
"php-eloquent-query-in-loop",
|
|
1071
|
+
"plaintext-password-storage",
|
|
1072
|
+
"pool-created-per-request-or-item",
|
|
1073
|
+
"pool-without-connection-timeout",
|
|
1074
|
+
"postmessage-missing-origin-check",
|
|
1075
|
+
"prisma-count-for-existence",
|
|
1076
|
+
"prisma-count-materialization",
|
|
1077
|
+
"prisma-dependent-writes",
|
|
1078
|
+
"prisma-distinct-in-memory",
|
|
1079
|
+
"prisma-filter-materialization",
|
|
1080
|
+
"prisma-first-materialization",
|
|
1081
|
+
"prisma-query-in-loop",
|
|
1082
|
+
"prisma-raw-unsafe-dynamic",
|
|
1083
|
+
"prisma-read-modify-write",
|
|
1084
|
+
"prisma-relation-count-in-list",
|
|
1085
|
+
"prisma-scope-unverified",
|
|
1086
|
+
"prisma-top-k-materialization",
|
|
1087
|
+
"prisma-transaction-client-escape",
|
|
1088
|
+
"promise-combinator-serial-await",
|
|
1089
|
+
"promise-return-escapes-catch",
|
|
1090
|
+
"prototype-pollution",
|
|
1091
|
+
"python-bare-except",
|
|
1092
|
+
"python-blocking-sleep-in-async",
|
|
1093
|
+
"python-copy-growing-list",
|
|
1094
|
+
"python-file-not-closed",
|
|
1095
|
+
"python-fixed-regex-in-loop",
|
|
1096
|
+
"python-insecure-deserialization",
|
|
1097
|
+
"python-interactive-debugger",
|
|
1098
|
+
"python-mutated-mutable-default",
|
|
1099
|
+
"python-n-plus-one-orm-loop",
|
|
1100
|
+
"python-requests-tls-verify-disabled",
|
|
1101
|
+
"python-requests-without-timeout",
|
|
1102
|
+
"python-sqlite-unbound-value",
|
|
1103
|
+
"python-subprocess-shell-true",
|
|
1104
|
+
"python-swallowed-exception",
|
|
1105
|
+
"python-sync-requests-in-async",
|
|
1106
|
+
"python-unbounded-comprehension",
|
|
1107
|
+
"python-unsafe-yaml-load",
|
|
1108
|
+
"query-mutates-state",
|
|
1109
|
+
"query-runner-not-released",
|
|
1110
|
+
"queue-add-in-loop",
|
|
1111
|
+
"raw-content-disposition-filename",
|
|
1112
|
+
"react-async-effect-callback",
|
|
1113
|
+
"react-component-defined-in-component",
|
|
1114
|
+
"react-context-value-recreated",
|
|
1115
|
+
"react-dangerously-set-inner-html",
|
|
1116
|
+
"react-effect-sets-state-every-render",
|
|
1117
|
+
"react-fetch-in-effect-no-abort",
|
|
1118
|
+
"react-index-as-key",
|
|
1119
|
+
"react-inline-object-in-jsx-prop",
|
|
1120
|
+
"react-list-missing-key",
|
|
1121
|
+
"react-missing-cleanup",
|
|
1122
|
+
"react-state-mutated-in-place",
|
|
1123
|
+
"rebuild-lookup-in-loop",
|
|
1124
|
+
"redis-command-in-loop",
|
|
1125
|
+
"redis-incr-then-expire",
|
|
1126
|
+
"redis-keys-command",
|
|
1127
|
+
"reduce-copy-accumulator",
|
|
1128
|
+
"reflected-xss-response",
|
|
1129
|
+
"regex-catastrophic-backtracking",
|
|
1130
|
+
"regex-from-input",
|
|
1131
|
+
"repeated-workbook-decode",
|
|
1132
|
+
"request-number-unvalidated",
|
|
1133
|
+
"request-selected-executable",
|
|
1134
|
+
"retry-without-backoff",
|
|
1135
|
+
"return-in-finally",
|
|
1136
|
+
"return-newline",
|
|
1137
|
+
"ruby-active-record-query-in-loop",
|
|
1138
|
+
"rust-blocking-std-in-async",
|
|
1139
|
+
"rust-clone-in-loop",
|
|
1140
|
+
"rust-command-shell",
|
|
1141
|
+
"rust-fixed-regex-in-loop",
|
|
1142
|
+
"rust-format-in-loop",
|
|
1143
|
+
"rust-mutex-guard-across-await",
|
|
1144
|
+
"rust-reqwest-danger-accept-invalid-certs",
|
|
1145
|
+
"rust-unsafe-raw-pointer-deref",
|
|
1146
|
+
"rust-unwrap-in-production",
|
|
1147
|
+
"same-file-stream-truncation",
|
|
1148
|
+
"secret-compared-non-constant-time",
|
|
1149
|
+
"secret-in-log",
|
|
1150
|
+
"secret-in-url-query",
|
|
1151
|
+
"sequelize-dynamic-query-text",
|
|
1152
|
+
"sequential-http-in-loop",
|
|
1153
|
+
"serial-awaits-in-literal",
|
|
1154
|
+
"server-action-missing-auth",
|
|
1155
|
+
"service-query-in-loop",
|
|
1156
|
+
"session-memory-store",
|
|
1157
|
+
"sql-insert-truncated-at-semicolon",
|
|
1158
|
+
"sql-select-star-in-query",
|
|
1159
|
+
"ssrf-redirect-bypass",
|
|
1160
|
+
"ssrf-request-url",
|
|
1161
|
+
"storage-object-public-acl",
|
|
1162
|
+
"stray-console",
|
|
1163
|
+
"stream-pipe-unhandled-error",
|
|
1164
|
+
"swallowed-error",
|
|
1165
|
+
"switch-not-exhaustive",
|
|
1166
|
+
"template-autoescape-disabled",
|
|
1167
|
+
"template-injection",
|
|
1168
|
+
"template-raw-html-binding",
|
|
1169
|
+
"test-cleanup-after-await",
|
|
1170
|
+
"throw-non-error",
|
|
1171
|
+
"tls-verification-disabled",
|
|
1172
|
+
"trust-boundary-violation",
|
|
1173
|
+
"ts-suppression-without-reason",
|
|
1174
|
+
"tsconfig-strict-disabled",
|
|
1175
|
+
"typeorm-dynamic-query-text",
|
|
1176
|
+
"typeorm-existence-materialization",
|
|
1177
|
+
"typeorm-load-then-save",
|
|
1178
|
+
"typeorm-transaction-client-escape",
|
|
1179
|
+
"typeorm-transaction-in-loop",
|
|
1180
|
+
"typeorm-unused-count",
|
|
1181
|
+
"typeorm-wide-projection",
|
|
1182
|
+
"unbounded-list-query",
|
|
1183
|
+
"unbounded-module-cache",
|
|
1184
|
+
"unbounded-promise-all",
|
|
1185
|
+
"uncaught-exception-continues",
|
|
1186
|
+
"unchecked-json-cast",
|
|
1187
|
+
"unguarded-boundary-access",
|
|
1188
|
+
"unreachable-code",
|
|
1189
|
+
"unreferenced-file",
|
|
1190
|
+
"unsafe-wide-type",
|
|
1191
|
+
"unused-export",
|
|
1192
|
+
"unused-import",
|
|
1193
|
+
"unused-local-function",
|
|
1194
|
+
"unused-local-variable",
|
|
1195
|
+
"upload-client-filename",
|
|
1196
|
+
"upload-without-size-limit",
|
|
1197
|
+
"vm-sandbox-escape",
|
|
1198
|
+
"vue-v-for-missing-key",
|
|
1199
|
+
"vue-v-html-unsanitized",
|
|
1200
|
+
"vue-watch-missing-cleanup",
|
|
1201
|
+
"weak-hash",
|
|
1202
|
+
"weak-password-hash",
|
|
1203
|
+
"webhook-body-without-verification",
|
|
1204
|
+
"webhook-missing-idempotency-check",
|
|
1205
|
+
"whole-payload-in-memory",
|
|
1206
|
+
"xml-external-entities",
|
|
1207
|
+
"xpath-injection",
|
|
1208
|
+
"zip-slip-extraction"
|
|
1209
|
+
]
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"pattern": "^project-[a-z0-9]+(?:-[a-z0-9]+)*--[a-z0-9]+(?:-[a-z0-9]+)*$"
|
|
1213
|
+
}
|
|
668
1214
|
]
|
|
669
1215
|
},
|
|
670
1216
|
"additionalProperties": {
|
|
@@ -677,54 +1223,349 @@
|
|
|
677
1223
|
"properties": {
|
|
678
1224
|
"level": {
|
|
679
1225
|
"enum": ["off", "warn", "error"]
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"required": ["level"],
|
|
1229
|
+
"additionalProperties": false
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
},
|
|
1233
|
+
"properties": {
|
|
1234
|
+
"deep-control-flow": {
|
|
1235
|
+
"oneOf": [
|
|
1236
|
+
{
|
|
1237
|
+
"enum": ["off", "warn", "error"]
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"type": "object",
|
|
1241
|
+
"properties": {
|
|
1242
|
+
"level": {
|
|
1243
|
+
"enum": ["off", "warn", "error"]
|
|
1244
|
+
},
|
|
1245
|
+
"options": {
|
|
1246
|
+
"type": "object",
|
|
1247
|
+
"properties": {
|
|
1248
|
+
"maxDepth": {
|
|
1249
|
+
"type": "integer",
|
|
1250
|
+
"minimum": 1
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
"additionalProperties": false
|
|
1254
|
+
}
|
|
680
1255
|
},
|
|
681
|
-
"
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
1256
|
+
"required": ["level"],
|
|
1257
|
+
"additionalProperties": false
|
|
1258
|
+
}
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1261
|
+
"high-branch-complexity": {
|
|
1262
|
+
"oneOf": [
|
|
1263
|
+
{
|
|
1264
|
+
"enum": ["off", "warn", "error"]
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"type": "object",
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"level": {
|
|
1270
|
+
"enum": ["off", "warn", "error"]
|
|
1271
|
+
},
|
|
1272
|
+
"options": {
|
|
1273
|
+
"type": "object",
|
|
1274
|
+
"properties": {
|
|
1275
|
+
"maxComplexity": {
|
|
1276
|
+
"type": "integer",
|
|
1277
|
+
"minimum": 1
|
|
1278
|
+
}
|
|
687
1279
|
},
|
|
688
|
-
"
|
|
689
|
-
|
|
690
|
-
|
|
1280
|
+
"additionalProperties": false
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
"required": ["level"],
|
|
1284
|
+
"additionalProperties": false
|
|
1285
|
+
}
|
|
1286
|
+
]
|
|
1287
|
+
},
|
|
1288
|
+
"long-parameter-list": {
|
|
1289
|
+
"oneOf": [
|
|
1290
|
+
{
|
|
1291
|
+
"enum": ["off", "warn", "error"]
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"type": "object",
|
|
1295
|
+
"properties": {
|
|
1296
|
+
"level": {
|
|
1297
|
+
"enum": ["off", "warn", "error"]
|
|
1298
|
+
},
|
|
1299
|
+
"options": {
|
|
1300
|
+
"type": "object",
|
|
1301
|
+
"properties": {
|
|
1302
|
+
"maxParams": {
|
|
1303
|
+
"type": "integer",
|
|
1304
|
+
"minimum": 1
|
|
1305
|
+
}
|
|
691
1306
|
},
|
|
692
|
-
"
|
|
693
|
-
|
|
694
|
-
|
|
1307
|
+
"additionalProperties": false
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"required": ["level"],
|
|
1311
|
+
"additionalProperties": false
|
|
1312
|
+
}
|
|
1313
|
+
]
|
|
1314
|
+
},
|
|
1315
|
+
"large-module": {
|
|
1316
|
+
"oneOf": [
|
|
1317
|
+
{
|
|
1318
|
+
"enum": ["off", "warn", "error"]
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"type": "object",
|
|
1322
|
+
"properties": {
|
|
1323
|
+
"level": {
|
|
1324
|
+
"enum": ["off", "warn", "error"]
|
|
1325
|
+
},
|
|
1326
|
+
"options": {
|
|
1327
|
+
"type": "object",
|
|
1328
|
+
"properties": {
|
|
1329
|
+
"maxLines": {
|
|
1330
|
+
"type": "integer",
|
|
1331
|
+
"minimum": 1
|
|
1332
|
+
}
|
|
695
1333
|
},
|
|
696
|
-
"
|
|
697
|
-
|
|
698
|
-
|
|
1334
|
+
"additionalProperties": false
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
"required": ["level"],
|
|
1338
|
+
"additionalProperties": false
|
|
1339
|
+
}
|
|
1340
|
+
]
|
|
1341
|
+
},
|
|
1342
|
+
"large-class": {
|
|
1343
|
+
"oneOf": [
|
|
1344
|
+
{
|
|
1345
|
+
"enum": ["off", "warn", "error"]
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"type": "object",
|
|
1349
|
+
"properties": {
|
|
1350
|
+
"level": {
|
|
1351
|
+
"enum": ["off", "warn", "error"]
|
|
1352
|
+
},
|
|
1353
|
+
"options": {
|
|
1354
|
+
"type": "object",
|
|
1355
|
+
"properties": {
|
|
1356
|
+
"maxMethods": {
|
|
1357
|
+
"type": "integer",
|
|
1358
|
+
"minimum": 1
|
|
1359
|
+
},
|
|
1360
|
+
"maxLines": {
|
|
1361
|
+
"type": "integer",
|
|
1362
|
+
"minimum": 1
|
|
1363
|
+
}
|
|
699
1364
|
},
|
|
700
|
-
"
|
|
701
|
-
|
|
702
|
-
|
|
1365
|
+
"additionalProperties": false
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
"required": ["level"],
|
|
1369
|
+
"additionalProperties": false
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
"bcrypt-low-cost": {
|
|
1374
|
+
"oneOf": [
|
|
1375
|
+
{
|
|
1376
|
+
"enum": ["off", "warn", "error"]
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"type": "object",
|
|
1380
|
+
"properties": {
|
|
1381
|
+
"level": {
|
|
1382
|
+
"enum": ["off", "warn", "error"]
|
|
1383
|
+
},
|
|
1384
|
+
"options": {
|
|
1385
|
+
"type": "object",
|
|
1386
|
+
"properties": {
|
|
1387
|
+
"minCost": {
|
|
1388
|
+
"type": "integer",
|
|
1389
|
+
"minimum": 1,
|
|
1390
|
+
"maximum": 31
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"additionalProperties": false
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
"required": ["level"],
|
|
1397
|
+
"additionalProperties": false
|
|
1398
|
+
}
|
|
1399
|
+
]
|
|
1400
|
+
},
|
|
1401
|
+
"duplicate-implementation": {
|
|
1402
|
+
"oneOf": [
|
|
1403
|
+
{
|
|
1404
|
+
"enum": ["off", "warn", "error"]
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"properties": {
|
|
1409
|
+
"level": {
|
|
1410
|
+
"enum": ["off", "warn", "error"]
|
|
1411
|
+
},
|
|
1412
|
+
"options": {
|
|
1413
|
+
"type": "object",
|
|
1414
|
+
"properties": {
|
|
1415
|
+
"minNodes": {
|
|
1416
|
+
"type": "integer",
|
|
1417
|
+
"minimum": 1,
|
|
1418
|
+
"maximum": 8192
|
|
1419
|
+
}
|
|
703
1420
|
},
|
|
704
|
-
"
|
|
705
|
-
|
|
706
|
-
|
|
1421
|
+
"additionalProperties": false
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
"required": ["level"],
|
|
1425
|
+
"additionalProperties": false
|
|
1426
|
+
}
|
|
1427
|
+
]
|
|
1428
|
+
},
|
|
1429
|
+
"orm-deep-offset": {
|
|
1430
|
+
"oneOf": [
|
|
1431
|
+
{
|
|
1432
|
+
"enum": ["off", "warn", "error"]
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"type": "object",
|
|
1436
|
+
"properties": {
|
|
1437
|
+
"level": {
|
|
1438
|
+
"enum": ["off", "warn", "error"]
|
|
1439
|
+
},
|
|
1440
|
+
"options": {
|
|
1441
|
+
"type": "object",
|
|
1442
|
+
"properties": {
|
|
1443
|
+
"maxOffset": {
|
|
1444
|
+
"type": "integer",
|
|
1445
|
+
"minimum": 1
|
|
1446
|
+
}
|
|
707
1447
|
},
|
|
708
|
-
"
|
|
709
|
-
|
|
710
|
-
|
|
1448
|
+
"additionalProperties": false
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
"required": ["level"],
|
|
1452
|
+
"additionalProperties": false
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1456
|
+
"upload-without-size-limit": {
|
|
1457
|
+
"oneOf": [
|
|
1458
|
+
{
|
|
1459
|
+
"enum": ["off", "warn", "error"]
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"type": "object",
|
|
1463
|
+
"properties": {
|
|
1464
|
+
"level": {
|
|
1465
|
+
"enum": ["off", "warn", "error"]
|
|
1466
|
+
},
|
|
1467
|
+
"options": {
|
|
1468
|
+
"type": "object",
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"maxBytes": {
|
|
1471
|
+
"type": "integer",
|
|
1472
|
+
"minimum": 1
|
|
1473
|
+
}
|
|
711
1474
|
},
|
|
712
|
-
"
|
|
713
|
-
|
|
714
|
-
|
|
1475
|
+
"additionalProperties": false
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"required": ["level"],
|
|
1479
|
+
"additionalProperties": false
|
|
1480
|
+
}
|
|
1481
|
+
]
|
|
1482
|
+
},
|
|
1483
|
+
"pool-without-connection-timeout": {
|
|
1484
|
+
"oneOf": [
|
|
1485
|
+
{
|
|
1486
|
+
"enum": ["off", "warn", "error"]
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"type": "object",
|
|
1490
|
+
"properties": {
|
|
1491
|
+
"level": {
|
|
1492
|
+
"enum": ["off", "warn", "error"]
|
|
1493
|
+
},
|
|
1494
|
+
"options": {
|
|
1495
|
+
"type": "object",
|
|
1496
|
+
"properties": {
|
|
1497
|
+
"connectionTimeoutMillis": {
|
|
1498
|
+
"type": "integer",
|
|
1499
|
+
"minimum": 1,
|
|
1500
|
+
"maximum": 2147483647
|
|
1501
|
+
}
|
|
715
1502
|
},
|
|
716
|
-
"
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
1503
|
+
"additionalProperties": false
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"required": ["level"],
|
|
1507
|
+
"additionalProperties": false
|
|
1508
|
+
}
|
|
1509
|
+
]
|
|
1510
|
+
},
|
|
1511
|
+
"llm-call-without-max-tokens": {
|
|
1512
|
+
"oneOf": [
|
|
1513
|
+
{
|
|
1514
|
+
"enum": ["off", "warn", "error"]
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"level": {
|
|
1520
|
+
"enum": ["off", "warn", "error"]
|
|
720
1521
|
},
|
|
721
|
-
"
|
|
722
|
-
|
|
1522
|
+
"options": {
|
|
1523
|
+
"type": "object",
|
|
1524
|
+
"properties": {
|
|
1525
|
+
"maxOutputTokens": {
|
|
1526
|
+
"type": "integer",
|
|
1527
|
+
"minimum": 1,
|
|
1528
|
+
"maximum": 9007199254740991
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
"additionalProperties": false
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"required": ["level"],
|
|
1535
|
+
"additionalProperties": false
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
|
+
"stray-console": {
|
|
1540
|
+
"oneOf": [
|
|
1541
|
+
{
|
|
1542
|
+
"enum": ["off", "warn", "error"]
|
|
723
1543
|
},
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
1544
|
+
{
|
|
1545
|
+
"type": "object",
|
|
1546
|
+
"properties": {
|
|
1547
|
+
"level": {
|
|
1548
|
+
"enum": ["off", "warn", "error"]
|
|
1549
|
+
},
|
|
1550
|
+
"options": {
|
|
1551
|
+
"type": "object",
|
|
1552
|
+
"properties": {
|
|
1553
|
+
"allowedMethods": {
|
|
1554
|
+
"type": "array",
|
|
1555
|
+
"items": {
|
|
1556
|
+
"type": "string",
|
|
1557
|
+
"enum": ["log", "info", "debug", "warn", "error", "trace", "dir", "table"]
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
"additionalProperties": false
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
"required": ["level"],
|
|
1565
|
+
"additionalProperties": false
|
|
1566
|
+
}
|
|
1567
|
+
]
|
|
1568
|
+
}
|
|
728
1569
|
}
|
|
729
1570
|
}
|
|
730
1571
|
},
|
|
@@ -734,7 +1575,7 @@
|
|
|
734
1575
|
},
|
|
735
1576
|
"performance": {
|
|
736
1577
|
"type": "object",
|
|
737
|
-
"description": "The query policy: prismaScopes, drizzleScopes, parallelReads and fireAndForget.",
|
|
1578
|
+
"description": "The query policy: prismaScopes, drizzleScopes, kyselyScopes, parallelReads and fireAndForget.",
|
|
738
1579
|
"properties": {
|
|
739
1580
|
"prismaScopes": {
|
|
740
1581
|
"type": "object"
|
|
@@ -742,8 +1583,34 @@
|
|
|
742
1583
|
"drizzleScopes": {
|
|
743
1584
|
"type": "object"
|
|
744
1585
|
},
|
|
1586
|
+
"kyselyScopes": {
|
|
1587
|
+
"type": "object"
|
|
1588
|
+
},
|
|
745
1589
|
"parallelReads": {
|
|
746
|
-
"type": "array"
|
|
1590
|
+
"type": "array",
|
|
1591
|
+
"minItems": 1,
|
|
1592
|
+
"items": {
|
|
1593
|
+
"type": "object",
|
|
1594
|
+
"properties": {
|
|
1595
|
+
"from": {
|
|
1596
|
+
"type": "string",
|
|
1597
|
+
"description": "A stable module specifier for the read functions.",
|
|
1598
|
+
"pattern": "^(?:#|@(?:[\\w-][\\w.-]*)?/)?[\\w-][\\w.-]*(?:/[\\w-][\\w.-]*)*$"
|
|
1599
|
+
},
|
|
1600
|
+
"exports": {
|
|
1601
|
+
"type": "array",
|
|
1602
|
+
"description": "Distinct named exports that can be read independently.",
|
|
1603
|
+
"minItems": 2,
|
|
1604
|
+
"uniqueItems": true,
|
|
1605
|
+
"items": {
|
|
1606
|
+
"type": "string",
|
|
1607
|
+
"pattern": "^[A-Za-z_$][\\w$]*$"
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"required": ["from", "exports"],
|
|
1612
|
+
"additionalProperties": false
|
|
1613
|
+
}
|
|
747
1614
|
},
|
|
748
1615
|
"fireAndForget": {
|
|
749
1616
|
"type": "array",
|
|
@@ -757,6 +1624,35 @@
|
|
|
757
1624
|
"minProperties": 1,
|
|
758
1625
|
"additionalProperties": false
|
|
759
1626
|
},
|
|
1627
|
+
"security": {
|
|
1628
|
+
"type": "object",
|
|
1629
|
+
"description": "Optional trusted imports for review guidance on security findings.",
|
|
1630
|
+
"properties": {
|
|
1631
|
+
"trustedBindings": {
|
|
1632
|
+
"type": "array",
|
|
1633
|
+
"uniqueItems": true,
|
|
1634
|
+
"items": {
|
|
1635
|
+
"type": "object",
|
|
1636
|
+
"properties": {
|
|
1637
|
+
"module": {
|
|
1638
|
+
"type": "string",
|
|
1639
|
+
"pattern": "^[A-Za-z0-9_@./:#-]+$"
|
|
1640
|
+
},
|
|
1641
|
+
"export": {
|
|
1642
|
+
"type": "string",
|
|
1643
|
+
"pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$"
|
|
1644
|
+
},
|
|
1645
|
+
"use": {
|
|
1646
|
+
"enum": ["auth-route-middleware", "redirect-target-predicate"]
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1649
|
+
"required": ["module", "export", "use"],
|
|
1650
|
+
"additionalProperties": false
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
"additionalProperties": false
|
|
1655
|
+
},
|
|
760
1656
|
"maintainability": {
|
|
761
1657
|
"type": "object",
|
|
762
1658
|
"description": "The content of the maintainability policy file.",
|
|
@@ -768,7 +1664,25 @@
|
|
|
768
1664
|
}
|
|
769
1665
|
},
|
|
770
1666
|
"boundaries": {
|
|
771
|
-
"type": "array"
|
|
1667
|
+
"type": "array",
|
|
1668
|
+
"items": {
|
|
1669
|
+
"type": "object",
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"from": {
|
|
1672
|
+
"$ref": "#/definitions/projectRelativeFolder"
|
|
1673
|
+
},
|
|
1674
|
+
"disallow": {
|
|
1675
|
+
"type": "array",
|
|
1676
|
+
"description": "Folders that source files under from may not import.",
|
|
1677
|
+
"minItems": 1,
|
|
1678
|
+
"items": {
|
|
1679
|
+
"$ref": "#/definitions/projectRelativeFolder"
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"required": ["from", "disallow"],
|
|
1684
|
+
"additionalProperties": false
|
|
1685
|
+
}
|
|
772
1686
|
},
|
|
773
1687
|
"placement": {
|
|
774
1688
|
"type": "array"
|
|
@@ -781,6 +1695,21 @@
|
|
|
781
1695
|
}
|
|
782
1696
|
},
|
|
783
1697
|
"additionalProperties": false
|
|
1698
|
+
},
|
|
1699
|
+
"extends": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"minLength": 1,
|
|
1702
|
+
"pattern": "^(?![\\w+.-]+:|[/\\\\]|\\s)(?!.*\\u0000).*[^\\s]$",
|
|
1703
|
+
"description": "Path to a local parent configuration, relative to the declaring file."
|
|
1704
|
+
},
|
|
1705
|
+
"rulePacks": {
|
|
1706
|
+
"type": "array",
|
|
1707
|
+
"description": "Project rule packs relative to this configuration file.",
|
|
1708
|
+
"items": {
|
|
1709
|
+
"type": "string",
|
|
1710
|
+
"minLength": 1,
|
|
1711
|
+
"pattern": "\\.loadwise-rules\\.json$"
|
|
1712
|
+
}
|
|
784
1713
|
}
|
|
785
1714
|
},
|
|
786
1715
|
"additionalProperties": false
|