🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
This report summarizes scanner evidence for strapi/strapi, a TypeScript project with 73,414 GitHub stars. SynthScan examined 867,554 lines of code across 6507 source files, recording 504 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 304 finding(s).
Are imports declared and package/API names verified? 155 finding(s).
Are wrappers, guards, and repeated structures necessary? 149 finding(s).
Which changes need focused human review? 504 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 504 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/api/plugins/graphql/crud.test.api.js | 157 | data.posts = res.body.data.posts_connection.data.map(({ documentId, attributes }) => ({ | CODE |
| CRITICAL | …ugins/graphql/custom-resolver-dp-relations.test.api.js | 202 | const article = res.body.data.allArticles.data.find( | CODE |
| CRITICAL⚡ | packages/core/database/src/dialects/postgresql/index.ts | 23 | this.db.connection.client.driver.types.setTypeParser( | CODE |
| CRITICAL⚡ | packages/core/database/src/dialects/postgresql/index.ts | 29 | this.db.connection.client.driver.types.setTypeParser( | CODE |
| CRITICAL⚡ | packages/core/database/src/dialects/postgresql/index.ts | 34 | this.db.connection.client.driver.types.setTypeParser( | CODE |
| CRITICAL | packages/core/core/src/providers/registries.ts | 38 | strapi.db.migrations.providers.internal.register(discardDocumentDrafts); | CODE |
| CRITICAL | …src/services/__tests__/persisted-tables.vitest.test.ts | 17 | strapiMock.db.dialect.schemaInspector.getTables.mockReturnValueOnce([ | CODE |
| CRITICAL | …src/services/__tests__/persisted-tables.vitest.test.ts | 26 | strapiMock.db.dialect.schemaInspector.getTables.mockReturnValueOnce([ | CODE |
| CRITICAL | packages/core/admin/server/src/register.ts | 12 | strapi.db.migrations.providers.internal.register(migrateAdminPreferedLanguageDkToDa); | CODE |
| CRITICAL | packages/core/admin/server/src/bootstrap.ts | 95 | const validPermissions = strapi.contentAPI.permissions.providers.action.keys(); | CODE |
| CRITICAL | packages/core/admin/server/src/services/api-token.ts | 142 | const validPermissions = strapi.contentAPI.permissions.providers.action.keys(); | CODE |
| CRITICAL | packages/core/content-releases/server/src/register.ts | 22 | strapi.db.migrations.providers.internal.register(addEntryDocumentToReleaseActions); | CODE |
| CRITICAL | …ListConfiguration/tests/ListConfigurationPage.test.tsx | 59 | mockData.contentManager.collectionTypeConfiguration.contentType.layouts.list.forEach( | CODE |
| CRITICAL⚡ | packages/core/strapi/src/node/vite/watch.ts | 87 | const existingRoutes = ctx.strapi.server.router.stack.filter( | CODE |
| CRITICAL⚡ | packages/core/strapi/src/node/vite/watch.ts | 91 | const index = ctx.strapi.server.router.stack.indexOf(route); | CODE |
| CRITICAL⚡ | packages/core/strapi/src/node/vite/watch.ts | 93 | ctx.strapi.server.router.stack.splice(index, 1); | CODE |
| CRITICAL | packages/core/upload/server/src/register.ts | 41 | strapi.db.migrations.providers.internal.register(unsignRichtextAndBlocksUrls); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …manager/model/components/tests/AssigneeFilter.test.tsx | 24 | await screen.findByRole('option', { name: 'John Doe' }); | CODE |
| LOW⚡ | …manager/model/components/tests/AssigneeFilter.test.tsx | 34 | await screen.findByRole('option', { name: 'John Doe' }); | CODE |
| LOW⚡ | …manager/model/components/tests/AssigneeFilter.test.tsx | 36 | await user.click(screen.getByRole('option', { name: 'John Doe' })); | CODE |
| LOW⚡ | …manager/model/components/tests/AssigneeFilter.test.tsx | 38 | expect(screen.getByRole('combobox')).toHaveValue('John Doe'); | CODE |
| LOW | …ager/model/id/components/tests/AssigneeSelect.test.tsx | 51 | await waitFor(() => expect(screen.queryByText('John Doe')).not.toBeInTheDocument()); | CODE |
| LOW | …ager/model/id/components/tests/AssigneeSelect.test.tsx | 56 | await screen.findByText('John Doe'); | CODE |
| LOW | …ager/model/id/components/tests/AssigneeSelect.test.tsx | 236 | await waitFor(() => expect(screen.getByRole('combobox')).toHaveValue('John Doe')); | CODE |
| LOW | …ager/model/id/components/tests/AssigneeSelect.test.tsx | 329 | await user.click(screen.getByText('John Doe')); | CODE |
| LOW | …s/core/types/src/modules/entity-service/params/data.ts | 48 | * author: 'John Doe', // Optional author property | COMMENT |
| LOW | …ckages/core/types/src/modules/documents/params/data.ts | 49 | * author: 'John Doe', // Optional author property | COMMENT |
| LOW | …e/admin/ee/admin/src/pages/tests/AuthResponse.test.tsx | 71 | (getCookieValue as jest.Mock).mockReturnValue('fake-token'); | CODE |
| LOW | …e/admin/ee/admin/src/pages/tests/AuthResponse.test.tsx | 77 | token: 'fake-token', | CODE |
| LOW | …s/SettingsPage/pages/AuditLogs/tests/ListPage.test.tsx | 424 | expect(await screen.findByRole('option', { name: 'John Doe' })).toBeInTheDocument(); | CODE |
| LOW | …ages/AuditLogs/utils/tests/getDisplayedFilters.test.ts | 6 | email: 'test@test.com', | CODE |
| LOW | …hentication-utils/__tests__/middlewares.vitest.test.ts | 46 | const user = { id: 42, email: 'admin@example.com' }; | CODE |
| LOW | packages/core/admin/admin/tests/server.ts | 613 | { id: 1, email: 'john@testing.com', displayName: 'John Doe' }, | CODE |
| LOW | packages/core/admin/admin/src/types/forms.ts | 13 | 'hint' | 'label' | 'placeholder' | CODE |
| LOW | packages/core/admin/admin/src/utils/tests/users.test.ts | 15 | expect(getDisplayName({ firstname: 'John', lastname: 'Doe' })).toBe('John Doe'); | CODE |
| LOW | packages/core/admin/admin/src/utils/tests/users.test.ts | 23 | expect(getDisplayName({ email: 'user@example.com' })).toBe('user@example.com'); | CODE |
| LOW | packages/core/admin/admin/src/utils/tests/users.test.ts | 45 | expect(getInitials({ email: 'user@example.com' })).toBe('U'); | CODE |
| LOW | …in/admin/src/components/MainNav/tests/NavUser.test.tsx | 7 | getDisplayName: jest.fn(() => 'John Doe'), | CODE |
| LOW | …in/admin/src/components/MainNav/tests/NavUser.test.tsx | 27 | const userName = screen.getByText('John Doe'); | CODE |
| LOW | …dmin/admin/src/pages/Settings/pages/Users/EditPage.tsx | 253 | 'placeholder' in field | CODE |
| LOW | packages/core/admin/admin/src/translations/no.json | 35 | "Auth.form.username.placeholder": "John Doe", | CODE |
| LOW | packages/core/admin/admin/src/translations/da.json | 45 | "Auth.form.username.placeholder": "John Doe", | CODE |
| LOW | …re/content-manager/admin/src/utils/tests/users.test.ts | 22 | ).toEqual('John Doe'); | CODE |
| LOW | …min/src/components/ConfigurationForm/EditFieldForm.tsx | 155 | name: 'placeholder', | CODE |
| LOW | …min/src/components/ConfigurationForm/EditFieldForm.tsx | 245 | return field.name !== 'placeholder' && field.name !== 'mainField'; | CODE |
| LOW | …min/src/components/ConfigurationForm/EditFieldForm.tsx | 250 | return field.name !== 'placeholder' && field.name !== 'mainField' && field.name !== 'size'; | CODE |
| LOW | …anager/admin/src/components/ConfigurationForm/Form.tsx | 51 | | (Pick<EditFieldLayout, 'label' | 'size' | 'name' | 'placeholder' | 'mainField'> & { | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 15 | 'Certainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. Nu | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 15 | 'Certainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. Nu | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 17 | '\nCertainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 17 | '\nCertainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 449 | 'Certainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. Nu | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 449 | 'Certainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. Nu | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 451 | '\nCertainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. | CODE |
| LOW⚡ | …re/content-manager/admin/src/history/tests/mockData.ts | 451 | '\nCertainly! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac libero ac urna dictum eleifend. | CODE |
| LOW | …ger/admin/src/pages/EditView/utils/tests/forms.test.ts | 54 | default: 'test@test.com', | CODE |
| LOW | …ger/admin/src/pages/EditView/utils/tests/forms.test.ts | 63 | email: 'test@test.com', | CODE |
| LOW | …in/src/pages/ListConfiguration/components/Settings.tsx | 18 | 'hint' | 'label' | 'placeholder' | CODE |
| LOW | …r/src/mcp/sanitizers/__tests__/shape-relations.test.ts | 225 | const createdBy = { id: 1, email: 'admin@example.com', firstname: 'Admin' }; | CODE |
| LOW | …r/server/src/services/utils/configuration/metadatas.ts | 62 | 'placeholder', | CODE |
| LOW⚡ | …e/email/documentation/1.0.0/overrides/email-Email.json | 39 | "example": "Lorem ipsum title" | CODE |
| LOW⚡ | …e/email/documentation/1.0.0/overrides/email-Email.json | 43 | "example": "Lorem ipsum" | CODE |
| LOW⚡ | …e/email/documentation/1.0.0/overrides/email-Email.json | 48 | "example": "<h1>Lorem ipsum</h1>" | CODE |
| LOW | packages/core/email/shared/email-address-parser.ts | 156 | * - "\"John Doe\"" -> "John Doe" | COMMENT |
| LOW | …ges/Assets/components/tests/AssetsSearchInput.test.tsx | 56 | expect(screen.getByRole('searchbox')).toHaveAttribute('placeholder', 'Search'); | CODE |
| LOW | …ugins/users-permissions/admin/src/translations/da.json | 38 | "PopUpForm.Email.options.from.name.placeholder": "John Doe", | CODE |
| LOW | …rc/utils/__tests__/trim-grant-session-response.test.js | 166 | email: 'user@example.com', | CODE |
| LOW | …rc/utils/__tests__/trim-grant-session-response.test.js | 175 | raw: { email: 'user@example.com', user_id: 42 }, | CODE |
| LOW | …rc/graphql/mutations/auth/__tests__/rate-limit.test.js | 294 | args: { input: { identifier: 'user@example.com', password: 'Strapi1234' } }, | CODE |
| LOW | …rc/graphql/mutations/auth/__tests__/rate-limit.test.js | 301 | args: { input: { username: 'user', email: 'user@example.com', password: 'Strapi1234' } }, | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 147 | const result = await googleProvider.authCallback({ accessToken: 'fake-token' }); | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 155 | const result = await googleProvider.authCallback({ accessToken: 'fake-token' }); | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 163 | await expect(googleProvider.authCallback({ accessToken: 'fake-token' })).rejects.toThrow( | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 171 | await expect(googleProvider.authCallback({ accessToken: 'fake-token' })).rejects.toThrow( | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 179 | await expect(googleProvider.authCallback({ accessToken: 'fake-token' })).rejects.toThrow( | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 200 | const result = await discordProvider.authCallback({ accessToken: 'fake-token' }); | CODE |
| LOW⚡ | …rver/src/services/__tests__/providers-registry.test.js | 210 | await expect(discordProvider.authCallback({ accessToken: 'fake-token' })).rejects.toThrow( | CODE |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 263 | // Step 2: Publish Tag FIRST - this triggers ghost relation creation | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 273 | // Step 3: Publish Product - creates published component version | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 294 | // Step 1: Create and publish a tag | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 304 | // Step 2: Create Product with component tag relation (published) | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 314 | // Step 3: Poublish the product | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 324 | // Step 4: Update the tag and publish | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 421 | // Step 1: Create and publish a tag | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 429 | // Step 2: Create Product with nested component tag relation (published) | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 437 | // Step 3: Publish the product | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 447 | // Step 4: Update the tag and publish | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 246 | // Step 1: Create Product with component tag relation (draft) | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 335 | // Step 5: Republish the parent | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 366 | // Step 1: Create Product with nested component tag relation (draft) | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 386 | // Step 2: Publish Tag FIRST | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 400 | // Step 3: Publish Product - creates published component version | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 466 | // Step 5: Republish the parent | COMMENT |
| LOW | …-service/relations/bidirectional-relations.test.api.ts | 135 | // Step 2: Create Article with relations to all three authors in order (not creation order) | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 147 | // Step 3: Publish everything (authors in non-alphabetical publish order, then article) | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 153 | // Step 4: Verify Article published shows A, B, C in order | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 167 | // Step 5: Unpublish Author B | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 170 | // Step 6: Republish Author B | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 173 | // Step 7: Verify Article published relations still show A, B, C in correct order | COMMENT |
| LOW | tests/e2e/tests/settings/rbac/actions/see-role.spec.ts | 22 | // Step 1: click the "Editor" role row | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 32 | // Step 1: click the "Editor" role row | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 36 | // Step 2: fill in the new role name and description | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 40 | // Step 3: modify the public permissions for articles | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 49 | // Step 4: save the updated role | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 52 | // Step 5: verify the changes in the role list | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 37 | // Step 1: locate the "Author" role row | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 40 | // Step 2: delete the role | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 43 | // Step 3: confirm deletion in the alert dialog | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 49 | // Step 4: verify the role no longer appears in the list | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 28 | // Step 1: find the "Editor" user | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 31 | // Step 2: go to the user view, wait for the page to load | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 34 | // Step 3: update the user's roles | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 45 | // Step 3: save the modifications | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 48 | // Step 4: navigate back to the Users management page | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 51 | // Step 5: make sure the user has the correct role and that the old one has been removed | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 32 | // Step 1: click "Create new role" | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 35 | // Step 2: fill in the role name and description | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 39 | // Step 3: assign the public "publish" permission for articles | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 43 | // Step 4: save the newly created role | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 46 | // Step 5: verify the newly created role in the list | COMMENT |
| LOW | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 37 | // Step 1: create a new role | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 49 | // Step 2: assign the new role to a user | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 59 | // Step 3: edit the permissions of the role | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 67 | // Step 4: revert the roles' assignment for the user | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 70 | // Step 5: delete the created role | COMMENT |
| LOW | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 15 | // Step 1: Remove publish permission from the Author role. | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 29 | // Step 2: Log out as admin | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 33 | // Step 3: Log in as the Author user | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 36 | // Step 4: Navigate to an article. | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 44 | // Step 5: Assert the UI hides the action — the Publish button is disabled | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 47 | // Step 6: Assert the API enforces it too — a direct publish call returns 403. | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 390 | // Step 1: wipe DB (destructive; explicit per plan) | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 397 | // Step 2: run v4 seed via the v4 project's seed-with-db wrapper. | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 405 | // Step 3: snapshot | COMMENT |
| LOW | …ages/core/content-manager/admin/src/utils/relations.ts | 7 | * so we need to check if the mainFieldKey is defined and if the relation has a value | COMMENT |
| LOW | …re/content-manager/server/src/controllers/relations.ts | 230 | // We need to check if the entity exists | COMMENT |
| LOW | packages/core/strapi/src/node/core/plugins.ts | 189 | * This variable stores the import paths for plugins. | COMMENT |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 101 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 103 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 151 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 153 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 215 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/admin/admin-tokens.spec.ts | 217 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/content-releases/fixtures.ts | 25 | // ── Value fixtures ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e/tests/content-releases/fixtures.ts | 38 | // ── Auto setup fixture ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 29 | // ─── argument parsing ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 71 | // ─── result loading ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 150 | // ─── formatting helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 192 | // ─── per-cell detail ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 205 | // ─── representative pick (for setup block) ─────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 237 | // ─── markdown rendering ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 343 | // ─── HTML rendering ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench-compare.ts | 655 | // ─── emit ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 37 | // ─── arg parsing ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 69 | // ─── environment capture ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 176 | // ─── snapshot helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 194 | // ─── row count collection ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 222 | // ─── migrate-then-exit runner ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 278 | // ─── subcommand: run ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 366 | // ─── subcommand: seed ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 416 | // ─── subcommand: suite ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/complex/scripts/bench.ts | 449 | // ─── main ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 70 | // ── Logger ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 116 | // ── Source skill discovery ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 153 | // ── Ownership detection ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 194 | // ── sync ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 242 | // ── unlink ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/ai-tooling/links.ts | 263 | // ── status ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/mcp/sanitizers/__tests__/shape-relations.test.ts | 21 | // ── to-one ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/mcp/sanitizers/__tests__/shape-relations.test.ts | 69 | // ── to-many ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/mcp/sanitizers/__tests__/shape-relations.test.ts | 125 | // ── status preservation (calculate, then strip) ───────────────────────── | COMMENT |
| MEDIUM | …r/src/mcp/sanitizers/__tests__/shape-relations.test.ts | 144 | // ── cardinality predicate ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/mcp/__tests__/derive-content-type-mcp-tools.test.ts | 1022 | // ── relation fixtures ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/mcp/__tests__/derive-content-type-mcp-tools.test.ts | 1032 | // ── xOne relation tests ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/mcp/__tests__/derive-content-type-mcp-tools.test.ts | 1096 | // ── xMany relation tests ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/mcp/__tests__/derive-content-type-mcp-tools.test.ts | 1245 | // ── JSON Schema regression tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-pr-lifecycle.yml | 26 | # ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-pr-lifecycle.yml | 28 | # ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-pr-lifecycle.yml | 69 | # ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-pr-lifecycle.yml | 71 | # ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/community-pr-lifecycle.ts | 211 | // ── stale long enough → close ───────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/community-pr-lifecycle.ts | 249 | // ── waiting on author long enough → stale ───────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 263 | // Step 2: Publish Tag FIRST - this triggers ghost relation creation | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 273 | // Step 3: Publish Product - creates published component version | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 294 | // Step 1: Create and publish a tag | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 304 | // Step 2: Create Product with component tag relation (published) | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 314 | // Step 3: Poublish the product | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 324 | // Step 4: Update the tag and publish | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 421 | // Step 1: Create and publish a tag | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 429 | // Step 2: Create Product with nested component tag relation (published) | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 437 | // Step 3: Publish the product | COMMENT |
| LOW⚡ | …service/relations/unidirectional-relations.test.api.ts | 447 | // Step 4: Update the tag and publish | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 246 | // Step 1: Create Product with component tag relation (draft) | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 335 | // Step 5: Republish the parent | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 366 | // Step 1: Create Product with nested component tag relation (draft) | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 386 | // Step 2: Publish Tag FIRST | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 400 | // Step 3: Publish Product - creates published component version | COMMENT |
| LOW | …service/relations/unidirectional-relations.test.api.ts | 466 | // Step 5: Republish the parent | COMMENT |
| LOW | …-service/relations/bidirectional-relations.test.api.ts | 135 | // Step 2: Create Article with relations to all three authors in order (not creation order) | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 147 | // Step 3: Publish everything (authors in non-alphabetical publish order, then article) | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 153 | // Step 4: Verify Article published shows A, B, C in order | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 167 | // Step 5: Unpublish Author B | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 170 | // Step 6: Republish Author B | COMMENT |
| LOW⚡ | …-service/relations/bidirectional-relations.test.api.ts | 173 | // Step 7: Verify Article published relations still show A, B, C in correct order | COMMENT |
| LOW | tests/e2e/tests/settings/rbac/actions/see-role.spec.ts | 22 | // Step 1: click the "Editor" role row | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 32 | // Step 1: click the "Editor" role row | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 36 | // Step 2: fill in the new role name and description | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 40 | // Step 3: modify the public permissions for articles | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 49 | // Step 4: save the updated role | COMMENT |
| LOW⚡ | tests/e2e/tests/settings/rbac/actions/edit-role.spec.ts | 52 | // Step 5: verify the changes in the role list | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 37 | // Step 1: locate the "Author" role row | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 40 | // Step 2: delete the role | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 43 | // Step 3: confirm deletion in the alert dialog | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/delete-role.spec.ts | 49 | // Step 4: verify the role no longer appears in the list | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 28 | // Step 1: find the "Editor" user | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 31 | // Step 2: go to the user view, wait for the page to load | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 34 | // Step 3: update the user's roles | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 45 | // Step 3: save the modifications | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 48 | // Step 4: navigate back to the Users management page | COMMENT |
| LOW⚡ | …ests/settings/rbac/actions/assign-role-to-user.spec.ts | 51 | // Step 5: make sure the user has the correct role and that the old one has been removed | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 32 | // Step 1: click "Create new role" | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 35 | // Step 2: fill in the role name and description | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 39 | // Step 3: assign the public "publish" permission for articles | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 43 | // Step 4: save the newly created role | COMMENT |
| LOW⚡ | …ts/e2e/tests/settings/rbac/actions/create-role.spec.ts | 46 | // Step 5: verify the newly created role in the list | COMMENT |
| LOW | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 37 | // Step 1: create a new role | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 49 | // Step 2: assign the new role to a user | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 59 | // Step 3: edit the permissions of the role | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 67 | // Step 4: revert the roles' assignment for the user | COMMENT |
| LOW⚡ | …ttings/rbac/scenarios/create-new-role.scenario.spec.ts | 70 | // Step 5: delete the created role | COMMENT |
| LOW | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 15 | // Step 1: Remove publish permission from the Author role. | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 29 | // Step 2: Log out as admin | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 33 | // Step 3: Log in as the Author user | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 36 | // Step 4: Navigate to an article. | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 44 | // Step 5: Assert the UI hides the action — the Publish button is disabled | COMMENT |
| LOW⚡ | …ettings/rbac/scenarios/permissions-enforcement.spec.ts | 47 | // Step 6: Assert the API enforces it too — a direct publish call returns 403. | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 390 | // Step 1: wipe DB (destructive; explicit per plan) | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 397 | // Step 2: run v4 seed via the v4 project's seed-with-db wrapper. | COMMENT |
| LOW⚡ | examples/complex/scripts/bench.ts | 405 | // Step 3: snapshot | COMMENT |
| LOW⚡ | packages/core/email/shared/email-address-parser.ts | 224 | // Step 1: Decode any RFC 2047 encoded-words | COMMENT |
| LOW⚡ | packages/core/email/shared/email-address-parser.ts | 227 | // Step 2: Extract and remove comments, but save them | COMMENT |
| LOW⚡ | packages/core/email/shared/email-address-parser.ts | 231 | // Step 3: Try to parse "Name <email>" format | COMMENT |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils/cli-transfer-remote-e2e/seed-media.js | 13 | function createDeterministicTransferTestFile(fileIndex, byteLength) { | CODE |
| LOW | tests/cli/tests/create-strapi-app/scaffold.test.cli.js | 25 | function expectGeneratedUploadPolicy(pluginsConfig) { | CODE |
| LOW | …api/core/database/pool-timeout-diagnostics.test.api.ts | 57 | async function rawQueryOutsideTransaction(strapi: Core.Strapi) { | CODE |
| LOW | …pi/api/populate/query-array-limit-populate.test.api.js | 40 | function buildIndexedPopulateQuery(count) { | CODE |
| LOW | …core/upload/content-api/upload-concurrency.test.api.js | 24 | function attachUploadConcurrencyInstrumentation() { | CODE |
| LOW | …core/upload/content-api/upload-concurrency.test.api.js | 76 | function postPlainTextMultipartUpload(strapiInstance, fixtures) { | CODE |
| LOW | …core/upload/content-api/upload-concurrency.test.api.js | 95 | function createDistinctTextFixtures(count) { | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 30 | async function validateDocumentIdBackfill(strapi: Strapi): Promise<CheckErrors> { | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 64 | async function validateDraftPublishPairingForUid( | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 93 | async function validateDraftPublishPairing( | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 113 | async function validateRelationsPresence( | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 344 | async function validateNestedComponentRelationParityForUid( | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 414 | async function verifyMigrationFixAtDbLevel(strapi: Strapi): Promise<CheckLines> { | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 705 | async function validateJoinTableSourceParityForDp( | CODE |
| LOW | tests/migration/fixture/check-impl.ts | 767 | async function validateRelationParityForDp(strapi: Strapi, uid: string): Promise<CheckErrors> { | CODE |
| LOW | tests/migration/fixture/derive-expectations.ts | 42 | function deriveExpectationsForProfile( | CODE |
| LOW | tests/migration/fixture/derive-expectations.ts | 130 | function getActiveEntriesForProfile(spec: FixtureSpec, dataOrigin: string): ActiveEntry[] { | CODE |
| LOW | tests/migration/fixture/relation-summary.ts | 38 | function areRelationSummariesEqual(a: RelationSummary, b: RelationSummary): boolean { | CODE |
| LOW | tests/migration/fixture/relation-summary.ts | 42 | function describeRelationSummaryDiff( | CODE |
| LOW | tests/migration/fixture/db-helpers.ts | 41 | function buildPopulateFromAttributes( | CODE |
| LOW | tests/migration/framework/resolve-strapi-version.ts | 49 | function materializeScenarioVersions(scenario: Scenario): Scenario { | CODE |
| LOW | tests/migration/framework/shared.ts | 104 | function buildDatabaseEnvForClient( | CODE |
| LOW | tests/migration/scripts/run-migration-scenario.ts | 261 | function assertCliInitialOrScenario(): void { | CODE |
| LOW | …rc/api/config/utils/resync-super-admin-after-import.js | 14 | module.exports = async function resyncSuperAdminAfterImport(strapi) { | CODE |
| LOW | examples/complex/scripts/bench-hook.ts | 70 | function instrumentMigrationRunner(createMigrationRunner) { | CODE |
| LOW | scripts/release.js | 145 | function rewriteInternalPeerDependencies(version, dryRun) { | CODE |
| LOW | packages/core/database/src/pool-diagnostics/index.ts | 118 | client.acquireConnection = async function acquireConnectionWithDiagnostics( | CODE |
| LOW | …database/src/__tests__/pool-diagnostics.vitest.test.ts | 46 | async function queryOutsideTheTransaction(db: Database) { | CODE |
| LOW | packages/core/review-workflows/server/src/register.ts | 45 | function extendReviewWorkflowContentTypes({ strapi }: { strapi: Core.Strapi }) { | CODE |
| LOW | …e/review-workflows/server/src/controllers/workflows.ts | 17 | function getWorkflowsPermissionChecker({ strapi }: { strapi: Core.Strapi }, userAbility: unknown) { | CODE |
| LOW | …es/core/review-workflows/server/src/services/stages.ts | 460 | function assertAtLeastOneStageRemain(workflowStages: any, diffStages: any) { | CODE |
| LOW | …ages/core/core/src/services/content-structure/index.ts | 60 | export function createContentStructureService(strapi: Core.Strapi): ContentStructureService { | CODE |
| LOW | …rc/services/document-service/transform/id-transform.ts | 12 | async function transformParamsDocumentId( | CODE |
| LOW | …kages/core/admin/admin/src/utils/retryDynamicImport.ts | 93 | export function wrapRouteObjectLazyWithRetry(route: RouteObject): RouteObject { | CODE |
| LOW | …kages/core/admin/admin/src/utils/retryDynamicImport.ts | 108 | export function wrapRouteObjectsLazyWithRetry(routes: RouteObject[]): RouteObject[] { | CODE |
| LOW | packages/core/utils/src/sort-query.ts | 16 | export function getMeaningfulSortSegments(sort: string): string[] { | CODE |
| LOW | packages/core/utils/src/content-api-route-params.ts | 18 | export function getExtraQueryKeysFromRoute(route?: RouteLike): string[] { | CODE |
| LOW | packages/core/utils/src/content-api-route-params.ts | 25 | export function getExtraRootKeysFromRouteBody(route?: RouteLike): string[] { | CODE |
| LOW | packages/core/utils/src/publication-filter.ts | 174 | .whereExists(function includeModifiedPublishedVersion(this: any) { | CODE |
| LOW | packages/core/utils/src/publication-filter.ts | 188 | .whereExists(function includeModifiedDraftVersion(this: any) { | CODE |
| LOW | packages/core/utils/src/publication-filter.ts | 204 | .whereExists(function includeUnmodifiedPublishedVersion(this: any) { | CODE |
| LOW | packages/core/utils/src/publication-filter.ts | 218 | .whereExists(function includeUnmodifiedDraftVersion(this: any) { | CODE |
| LOW | …/core/permissions/src/engine/abilities/casl-ability.ts | 86 | return function canWithParametrizedAction(...args: Parameters<Ability['can']>) { | CODE |
| LOW | …re/content-manager/admin/src/utils/contentStructure.ts | 134 | export function buildContentStructureSection({ | CODE |
| LOW | …/content-manager/admin/src/preview/utils/fieldUtils.ts | 51 | export function getAttributeSchemaFromPath({ | CODE |
| LOW | …-manager/admin/src/preview/components/InputPopover.tsx | 33 | function usePreviewPopoverBlockIndex() { | CODE |
| LOW | …ew/components/FormInputs/Wysiwyg/utils/continueList.ts | 19 | function newlineAndIndentContinueMarkdownList(cm: CodeMirror.Editor) { | CODE |
| LOW | …ew/components/FormInputs/Wysiwyg/utils/continueList.ts | 68 | function incrementRemainingMarkdownListNumbers(cm: CodeMirror.Editor, pos: CodeMirror.Position) { | CODE |
| LOW | …/content-manager/server/src/mcp/schemas/data-schema.ts | 29 | export function buildComponentInputSchema( | CODE |
| LOW | …nager/server/src/services/utils/configuration/index.ts | 18 | async function createDefaultConfiguration(schema: any) { | CODE |
| LOW | …/strapi/src/cli/commands/export/validate-dir-format.ts | 16 | export function prepareExportDirFormatCli(command: Command) { | CODE |
| LOW | …/strapi/src/cli/commands/export/validate-dir-format.ts | 43 | export function normalizeExportDirFormatOpts(opts: { | CODE |
| LOW | …d/admin/src/legacy/utils/findRecursiveFolderByValue.ts | 11 | export function findRecursiveFolderByValue( | CODE |
| LOW | …ver/src/utils/__tests__/mime-validation-matrix.test.ts | 14 | function createMinimalQuickTimeBuffer(): Buffer { | CODE |
| LOW | …server/src/controllers/validation/admin/folder-file.ts | 63 | async function validateMoveFoldersNotInsideThemselves(value) { | CODE |
| LOW | …server/src/controllers/validation/admin/folder-file.ts | 97 | export async function validateMoveManyFoldersFiles(body: unknown) { | CODE |
| LOW | …s/core/data-transfer/src/utils/transfer-asset-chunk.ts | 5 | export function createTransferAssetStreamChunk( | CODE |
| LOW | …s/core/data-transfer/src/utils/transfer-asset-chunk.ts | 37 | export function createTransferAssetStreamChunkLegacy( | CODE |
| LOW | …s/core/data-transfer/src/utils/transfer-asset-chunk.ts | 58 | export function decodeTransferAssetStreamItem(item: { | CODE |
| LOW | …s/core/data-transfer/src/utils/transfer-asset-chunk.ts | 95 | export function decodeTransferAssetStreamData(data: unknown, encoding?: 'base64'): Buffer { | CODE |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/setup/timezone-environment.js | 1 | 'use strict'; | COMMENT |
| LOW | …sts/api/core/admin/admin-strategy-sessions.test.api.ts | 141 | it.todo( | COMMENT |
| LOW | …sts/api/core/admin/admin-strategy-sessions.test.api.ts | 161 | // .setToken(accessToken) | COMMENT |
| LOW | …missions/content-api/user-update-relations.test.api.js | 1 | 'use strict'; | COMMENT |
| LOW | …ests/media-library/media-library-asset-editing.spec.ts | 281 | // The copy is uploaded with `name: asset.name` (see | COMMENT |
| LOW | tests/app-template/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | examples/empty/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | examples/kitchensink-ts/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | examples/kitchensink-ts/src/admin/app.example.tsx | 1 | import type { StrapiApp } from '@strapi/strapi/admin'; | COMMENT |
| LOW | examples/kitchensink-ts/src/admin/app.example.tsx | 21 | // 'pt-BR', | COMMENT |
| LOW | examples/getstarted/config/src/cron-tasks.js | 21 | // }, | COMMENT |
| LOW | examples/getstarted/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | examples/kitchensink/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | scripts/front/utils/search-files-content.js | 101 | COMMENT | |
| LOW | …Settings/pages/ApplicationInfo/components/PlanCard.tsx | 81 | // 404 here; treat that (or any other error/missing data) the same as "no license". | COMMENT |
| LOW | …kages/core/admin/server/src/utils/debug-dump/redact.ts | 21 | SECRET_KEY_DELIMITED.test(key); | COMMENT |
| LOW | …anager/server/src/preview/controllers/previewScript.js | 1101 | // No exact hit on a marked element — resolve the real clicked | COMMENT |
| LOW | …rc/preview/controllers/__tests__/previewScript.test.ts | 601 | expect(height).toBeGreaterThanOrEqual(355); | COMMENT |
| LOW | packages/core/strapi/src/node/vite/config.ts | 61 | // - The admin entry host (@strapi/strapi) MUST NOT be in optimizeDeps.exclude. | COMMENT |
| LOW | packages/core/strapi/src/node/vite/config.ts | 81 | // context from the root is not seen by components in plugin chunks. | COMMENT |
| LOW | …load/admin/src/pages/Assets/hooks/useInfiniteAssets.ts | 341 | const completedUploads = useTypedSelector(selectCompletedUploads); | COMMENT |
| LOW | …/content-type-builder/admin/src/components/TabForm.tsx | 101 | // When extending the yup schema of an existing field (like in https://github.com/strapi/strapi/blob/293 | COMMENT |
| LOW | …builder/server/src/services/migration-builder/index.ts | 241 | COMMENT | |
| LOW | …/plugins/graphql/server/src/services/builders/utils.ts | 41 | // builders/resolvers/association.ts + rootQueryArgsByPath). Omitting them broke | COMMENT |
| LOW | packages/utils/upgrade/src/modules/version/range.ts | 21 | // patch, or build version to be taken in the range. | COMMENT |
| LOW | …eate-strapi-app/templates/vanilla-js/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | …rapi-app/templates/vanilla-js/src/admin/app.example.js | 1 | const config = { | COMMENT |
| LOW | …/create-strapi-app/templates/example/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | …strapi-app/templates/example/src/admin/app.example.tsx | 1 | import type { StrapiApp } from '@strapi/strapi/admin'; | COMMENT |
| LOW | …strapi-app/templates/example/src/admin/app.example.tsx | 21 | // 'pt-BR', | COMMENT |
| LOW | …eate-strapi-app/templates/example-js/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | …rapi-app/templates/example-js/src/admin/app.example.js | 1 | const config = { | COMMENT |
| LOW | …/create-strapi-app/templates/vanilla/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | …strapi-app/templates/vanilla/src/admin/app.example.tsx | 1 | import type { StrapiApp } from '@strapi/strapi/admin'; | COMMENT |
| LOW | …strapi-app/templates/vanilla/src/admin/app.example.tsx | 21 | // 'pt-BR', | COMMENT |
| LOW | .github/secret_scanning.yml | 1 | # The debug-dump secret scrubber's unit tests contain format-accurate but fake | COMMENT |
| LOW | .github/workflows/draft-release.yml | 1 | name: 'Draft release' | COMMENT |
| LOW | .github/actions/yarn-nm-install/action.yml | 1 | ######################################################################################## | COMMENT |
| LOW | templates/website/public/robots.txt | 1 | # To prevent search engines from seeing the site altogether, uncomment the next two lines: | COMMENT |
| LOW | templates/website/src/admin/app.example.tsx | 1 | import type { StrapiApp } from '@strapi/strapi/admin'; | COMMENT |
| LOW | templates/website/src/admin/app.example.tsx | 21 | // 'pt-BR', | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …pload/admin/src/legacy/ai/components/AIUploadModal.tsx | 188 | '{count, plural, one {# asset uploaded} other {# assets uploaded}}, review AI generated metadata', | CODE |
| HIGH | packages/core/upload/admin/src/translations/en.json | 418 | "ai.modal.title": "{count, plural, one {# asset uploaded} other {# assets uploaded}}, review AI generated metadata", | CODE |
| HIGH | .github/workflows/needs-qa-checklist.yml | 52 | ## AI-generated QA checklist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/empty/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | examples/kitchensink-ts/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/developer-docs/latest/developer-resour | CODE |
| MEDIUM | …s/cli/create-strapi-app/templates/vanilla-js/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | …ages/cli/create-strapi-app/templates/example/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | …s/cli/create-strapi-app/templates/example-js/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | …ages/cli/create-strapi-app/templates/vanilla/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | templates/website/README.md | 3 | Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you sca | CODE |
| MEDIUM | .ai/skills/likec4-dsl/SKILL.md | 30 | ## CLI Canonical Contracts (anti-substitution guardrails) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/plugins/documentation/README.md | 144 | #### I have created a route in a common API (like product) that query another model. How to automate this ? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/filters.yaml | 30 | # Umzug migration sources + v4→v5 integration harness (fixture app at examples/complex; runner at tests/migration/) | COMMENT |
| MEDIUM | .github/workflows/pr-reviewer.yml | 74 | # Tools for comprehensive PR review | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/remove-dist-tag.sh | 18 | # Check if dist tag is latest, beta, alpha or next and reject | COMMENT |
| LOW | .github/actions/pr_diff/script.sh | 200 | # Check if the pull request is merged | COMMENT |
| LOW | .github/actions/pr_diff/script.sh | 236 | # Check if there are merged PRs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/core/database/src/schema/builder.ts | 71 | // TODO: implement force option to disable removal in DB | COMMENT |
| LOW | packages/core/database/src/metadata/relations.ts | 432 | // TODO: implement overwrite logic instead | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …omponents/GuidedTour/Steps/ContentTypeBuilderSteps.tsx | 204 | defaultMessage="Don't forget to add a field to your content type" | CODE |
| LOW | packages/core/admin/admin/src/translations/en.json | 534 | "app.components.GuidedTour.CM.create.content": "<p>Create and manage all the content here in the Content Manager.</p>< | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/front/utils/search-files-content.js | 100 | // Usage example | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/core/core/src/services/server/http-server.ts | 15 | const listener: http.RequestListener = function handleRequest(req, res) { | CODE |