Repository Analysis

documenso/documenso

The Open Source DocuSign Alternative.

3.3 Likely human-written View on GitHub
3.3
Adjusted Score
3.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
13,130
Stars
TypeScript
Language
250,303
Lines of Code
2052
Files
268
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 41HIGH 0MEDIUM 77LOW 150

Pattern Findings

268 matches across 10 categories. Click a row to expand file-level details.

Hallucination Indicators41 hits · 410 pts
SeverityFileLineSnippet
CRITICAL…/ui/primitives/template-flow/add-template-settings.tsx125 const { data: emailData, isLoading: isLoadingEmails } = trpc.enterprise.organisation.email.find.useQuery({
CRITICALpackages/ui/primitives/document-flow/add-subject.tsx90 const { data: emailData, isLoading: isLoadingEmails } = trpc.enterprise.organisation.email.find.useQuery({
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts217 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts235 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts254 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts282 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts298 const adminTitles = adminJson.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts466 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…app-tests/e2e/templates/organisation-templates.spec.ts502 const titles = json.result.data.json.data.map((t: { title: string }) => t.title);
CRITICAL…ponents/tables/organisation-billing-invoices-table.tsx26 const { data, isLoading, isLoadingError } = trpc.enterprise.billing.invoices.get.useQuery(
CRITICAL…components/tables/organisation-email-domains-table.tsx35 trpc.enterprise.organisation.emailDomain.verify.useMutation({
CRITICAL…components/tables/organisation-email-domains-table.tsx44 const { data, isLoading, isLoadingError } = trpc.enterprise.organisation.emailDomain.find.useQuery(
CRITICAL…omponents/tables/organisation-member-invites-table.tsx39 const { data, isLoading, isLoadingError } = trpc.organisation.member.invite.find.useQuery(
CRITICAL…omponents/tables/organisation-member-invites-table.tsx52 const { mutateAsync: resendOrganisationMemberInvitation } = trpc.organisation.member.invite.resend.useMutation({
CRITICAL…omponents/tables/organisation-member-invites-table.tsx68 const { mutateAsync: deleteOrganisationMemberInvitations } = trpc.organisation.member.invite.deleteMany.useMutation({
CRITICAL…/remix/app/components/forms/email-preferences-form.tsx55 const { data: emailData, isLoading: isLoadingEmails } = trpc.enterprise.organisation.email.find.useQuery({
CRITICALapps/remix/app/components/general/billing-plans.tsx170 trpc.enterprise.billing.subscription.create.useMutation();
CRITICALapps/remix/app/components/general/billing-plans.tsx328 const { mutateAsync: createSubscription, isPending } = trpc.enterprise.billing.subscription.create.useMutation();
CRITICAL…l/organisations/organisation-billing-portal-button.tsx23 const { mutateAsync: manageSubscription, isPending } = trpc.enterprise.billing.subscription.manage.useMutation();
CRITICAL…/general/organisations/organisation-billing-banner.tsx35 const { mutateAsync: manageSubscription, isPending } = trpc.enterprise.billing.subscription.manage.useMutation();
CRITICAL…nts/general/organisations/organisation-invitations.tsx25 const { data, isLoading } = trpc.organisation.member.invite.getMany.useQuery({
CRITICAL…nts/general/organisations/organisation-invitations.tsx125 } = trpc.organisation.member.invite.accept.useMutation({
CRITICAL…nts/general/organisations/organisation-invitations.tsx165 } = trpc.organisation.member.invite.decline.useMutation({
CRITICAL…x/app/components/general/teams/team-email-dropdown.tsx27 trpc.team.email.verification.resend.useMutation({
CRITICAL…al/envelope-editor/envelope-editor-settings-dialog.tsx209 const { data: emailData, isLoading: isLoadingEmails } = trpc.enterprise.organisation.email.find.useQuery(
CRITICAL…/app/components/dialogs/organisation-create-dialog.tsx78 const { data: plansData } = trpc.enterprise.billing.plans.get.useQuery(undefined, {
CRITICAL…ts/dialogs/organisation-email-domain-create-dialog.tsx67 const { mutateAsync: createOrganisationEmail } = trpc.enterprise.organisation.emailDomain.create.useMutation();
CRITICAL…remix/app/components/dialogs/team-email-add-dialog.tsx53 const { mutateAsync: sendTeamEmailVerification, isPending } = trpc.team.email.verification.send.useMutation();
CRITICAL…ts/dialogs/organisation-email-domain-delete-dialog.tsx56 trpc.enterprise.organisation.emailDomain.delete.useMutation({
CRITICAL…omponents/dialogs/organisation-email-update-dialog.tsx62 const { mutateAsync: updateOrganisationEmail, isPending } = trpc.enterprise.organisation.email.update.useMutation();
CRITICAL…omponents/dialogs/organisation-email-delete-dialog.tsx32 const { mutateAsync: deleteEmail, isPending: isDeleting } = trpc.enterprise.organisation.email.delete.useMutation({
CRITICAL…omponents/dialogs/organisation-email-create-dialog.tsx70 const { mutateAsync: createOrganisationEmail, isPending } = trpc.enterprise.organisation.email.create.useMutation();
CRITICAL…/app/components/dialogs/envelope-distribute-dialog.tsx97 const { data: emailData, isLoading: isLoadingEmails } = trpc.enterprise.organisation.email.find.useQuery(
CRITICAL…mponents/dialogs/organisation-member-invite-dialog.tsx119 const { mutateAsync: createOrganisationMemberInvites } = trpc.organisation.member.invite.createMany.useMutation();
CRITICAL…ix/app/components/dialogs/team-email-delete-dialog.tsx67 trpc.team.email.verification.delete.useMutation({
CRITICAL…uthenticated+/organisation.sso.confirmation.$token.tsx124 trpc.enterprise.organisation.authenticationPortal.declineLinkAccount.useMutation({
CRITICAL…uthenticated+/organisation.sso.confirmation.$token.tsx141 trpc.enterprise.organisation.authenticationPortal.linkAccount.useMutation({
CRITICAL…/routes/_authenticated+/o.$orgUrl.settings.billing.tsx27 trpc.enterprise.billing.subscription.get.useQuery({
CRITICAL…/app/routes/_authenticated+/o.$orgUrl.settings.sso.tsx67 trpc.enterprise.organisation.authenticationPortal.get.useQuery({
CRITICAL…/app/routes/_authenticated+/o.$orgUrl.settings.sso.tsx98 trpc.enterprise.organisation.authenticationPortal.update.useMutation();
CRITICAL…uthenticated+/o.$orgUrl.settings.email-domains.$id.tsx40 const { data: emailDomain, isLoading: isLoadingEmailDomain } = trpc.enterprise.organisation.emailDomain.get.useQuery(
Decorative Section Separators75 hits · 225 pts
SeverityFileLineSnippet
MEDIUM…kills/agent-browser/templates/authenticated-session.sh27# ================================================================
MEDIUM…kills/agent-browser/templates/authenticated-session.sh29# ================================================================
MEDIUM…kills/agent-browser/templates/authenticated-session.sh46# ================================================================
MEDIUM…kills/agent-browser/templates/authenticated-session.sh48# ================================================================
MEDIUM…kills/agent-browser/templates/authenticated-session.sh68# ================================================================
MEDIUM…kills/agent-browser/templates/authenticated-session.sh70# ================================================================
MEDIUMpackages/lib/server-only/document/find-documents.ts138 // ─── Base query with common filters ──────────────────────────────────
MEDIUMpackages/lib/server-only/document/find-documents.ts205 // ─── Personal path filters ───────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/find-documents.ts297 // ─── Team path filters ───────────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/find-documents.ts435 // ─── Assemble and execute ────────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/find-documents.ts475 // ─── Hydrate with Prisma ─────────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/get-stats.ts99 // ─── Base query builder ──────────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/get-stats.ts152 // ─── Shared filter helpers ───────────────────────────────────────────
MEDIUMpackages/lib/server-only/document/get-stats.ts176 // ─── Per-status query builders ───────────────────────────────────────
MEDIUMpackages/lib/server-only/document/get-stats.ts261 // ─── Execute all counts in parallel ──────────────────────────────────
MEDIUMpackages/lib/server-only/envelope/find-envelopes.ts127 // ─── Build Kysely query ──────────────────────────────────────────────
MEDIUMpackages/lib/server-only/envelope/find-envelopes.ts185 // ─── Access control ──────────────────────────────────────────────────
MEDIUMpackages/lib/server-only/envelope/find-envelopes.ts219 // ─── Execute: paginated data + count ──────────────────────────────────
MEDIUMpackages/lib/server-only/envelope/find-envelopes.ts244 // ─── Hydrate with Prisma ─────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts63// ─── Happy path ──────────────────────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts101// ─── Confirmation text validation ────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts154// ─── Cancel ──────────────────────────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts182// ─── Email checkbox ──────────────────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts237// ─── Documents are orphaned, not deleted ─────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts251 // ── Owner-authored envelopes ──────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts266 // ── Member-authored envelopes ─────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts281 // ── Manager-authored envelope (third author for good measure) ─────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts293 // ── Trigger the deletion via the admin UI ─────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts316 // ── Owner-authored envelopes ──────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts336 // ── Member-authored envelopes (the critical case) ─────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts356 // ── Manager-authored rejected envelope: also orphaned ─────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts365 // ── Original team is gone, member users still exist ───────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts382// ─── Owner can no longer access the deleted organisation ─────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts417// ─── Access control: UI ──────────────────────────────────────────────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts477// ─── Org with multiple members triggers email to the OWNER only ─────────────
MEDIUM…ts/e2e/admin/organisations/delete-organisation.spec.ts539// ─── EnvelopeType.TEMPLATE is also cleaned up via orphan flow ───────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts33// ─── Happy path ──────────────────────────────────────────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts66// ─── emailVerified is set + password is null for admin-created users ────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts109// ─── Welcome email side effect: a PasswordResetToken is issued ───────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts173// ─── Duplicate email is rejected ─────────────────────────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts217// ─── Validation: empty form ──────────────────────────────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts249// ─── Validation: malformed email ─────────────────────────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts293// ─── Cancel button closes dialog without creating ───────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts326// ─── Email is lowercased when stored ─────────────────────────────────────────
MEDIUMpackages/app-tests/e2e/admin/users/create-user.spec.ts362// ─── Access control: non-admin cannot see the Create User affordance ────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts40// ─── Visibility ──────────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts166// ─── Cross-Team Isolation ────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts280// ─── Recipient Search ────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts306// ─── Token Masking ───────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts386// ─── Filtering ───────────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-documents.spec.ts454// ─── Authentication ──────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-templates.spec.ts39// ─── Visibility ──────────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-templates.spec.ts111// ─── Cross-Team Isolation ────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-templates.spec.ts170// ─── Recipient Email Search ──────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-templates.spec.ts216// ─── Filtering ───────────────────────────────────────────────────────────────
MEDIUM…ckages/app-tests/e2e/api/trpc/search-templates.spec.ts247// ─── Authentication ──────────────────────────────────────────────────────────
MEDIUM…p-tests/e2e/api/trpc/admin/delete-organisation.spec.ts27// ─── Access control ──────────────────────────────────────────────────────────
MEDIUM…p-tests/e2e/api/trpc/admin/delete-organisation.spec.ts105// ─── Validation ──────────────────────────────────────────────────────────────
MEDIUM…p-tests/e2e/api/trpc/admin/delete-organisation.spec.ts173// ─── Happy path via tRPC (admin) ────────────────────────────────────────────
MEDIUM…p-tests/e2e/api/trpc/admin/delete-organisation.spec.ts211// ─── Idempotency: calling delete twice does not throw ───────────────────────
15 more matches not shown…
Verbosity Indicators45 hits · 75 pts
SeverityFileLineSnippet
LOW…ents/skills/agent-browser/templates/form-automation.sh20# Step 1: Navigate to form
LOW…ents/skills/agent-browser/templates/form-automation.sh24# Step 2: Snapshot to discover form elements
LOW…ents/skills/agent-browser/templates/form-automation.sh29# Step 3: Fill form fields (customize these refs based on snapshot output)
LOW…ents/skills/agent-browser/templates/form-automation.sh46# Step 4: Wait for submission
LOW…ents/skills/agent-browser/templates/form-automation.sh50# Step 5: Verify result
LOW…c/server/embedding-router/update-embedding-envelope.ts95 // Step 1: Update the envelope items.
LOW…c/server/embedding-router/update-embedding-envelope.ts312 // Step 2: Update the general envelope data and meta.
LOW…c/server/embedding-router/update-embedding-envelope.ts332 // Step 3: Update the recipients
LOW…c/server/embedding-router/update-embedding-envelope.ts380 // Step 4: Update the fields.
LOW…c/server/embedding-router/update-embedding-envelope.ts451 // Step 5: Handle attachments (set semantics: delete all existing, create new).
LOW…-tests/e2e/templates-flow/duplicate-recipients.spec.ts15 // Step 1: Settings - Continue with defaults
LOW…-tests/e2e/templates-flow/duplicate-recipients.spec.ts19 // Step 2: Add duplicate recipients with real emails for testing
LOW…-tests/e2e/templates-flow/duplicate-recipients.spec.ts37 // Step 3: Add fields for each recipient instance
LOW…-tests/e2e/templates-flow/duplicate-recipients.spec.ts179 // Step 1: Settings
LOW…-tests/e2e/templates-flow/duplicate-recipients.spec.ts182 // Step 2: Add multiple recipients with duplicate emails
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts345 // Step 1: Create initial envelope with Prisma (with first envelope item)
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts387 // Step 2: Create second envelope item via API
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts404 // Step 3: Update envelope via API
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts421 // Step 4: Create recipient via API
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts443 // Step 5: Get envelope to retrieve recipients and envelope items
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts465 // Step 6: Create fields for first PDF (alignment fields)
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts489 // Step 7: Create fields for second PDF (field-meta fields)
LOWpackages/app-tests/e2e/api/v2/envelopes-api.spec.ts513 // Step 8: Verify final envelope structure
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts306 // Step 1: Get a 3-page PDF loaded.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts319 // Step 2: Add a recipient.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts322 // Step 3: Navigate to addFields step and verify 3-page PDF is loaded.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts327 // Step 4: Place a Signature field on page 1.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts332 // Step 5: Scroll to page 2 and place a Text field.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts340 // Step 6: Navigate back to upload step.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts344 // Step 7: Replace with 1-page PDF.
LOW…ts/e2e/envelope-editor-v2/envelope-replace-pdf.spec.ts347 // Step 8: Navigate to addFields step to verify.
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts17 // Step 1: Settings - Continue with defaults
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts21 // Step 2: Add duplicate recipients
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts39 // Step 3: Add fields for each recipient
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts62 // Step 4: Complete with subject and send
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts105 // Step 1: Settings - Continue with defaults
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts109 // Step 2: Add initial recipient
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts230 // Step 1: Settings
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts233 // Step 2: Add duplicate recipients with different roles
LOW…p-tests/e2e/document-flow/duplicate-recipients.spec.ts251 // Step 3: Add different field types for each duplicate
LOW…/e2e/document-flow/duplicate-recipients-simple.spec.ts18 // Step 1: Settings - Continue with defaults
LOW…/e2e/document-flow/duplicate-recipients-simple.spec.ts22 // Step 2: Add duplicate recipients
LOW…/e2e/document-flow/duplicate-recipients-simple.spec.ts34 // Step 3: Add fields
LOW…ges/app-tests/e2e/envelopes/envelope-alignment.spec.ts73 // Step 1: Create initial envelope with Prisma (with first envelope item)
LOW…ages/app-tests/e2e/envelopes/envelope-overflow.spec.ts72 // Step 1: Create initial envelope with overflow PDF
Fake / Example Data39 hits · 42 pts
SeverityFileLineSnippet
LOWWRITING_STYLE.md218 recipients: [{ email: "signer@example.com", name: "John Doe" }],
LOWWRITING_STYLE.md226 recipients: [{ email: "signer@example.com", name: "John Doe" }],
LOW.agents/skills/agent-browser/SKILL.md23agent-browser fill @e1 "user@example.com"
LOW.agents/skills/agent-browser/SKILL.md74agent-browser fill @e1 "Jane Doe"
LOW…ents/skills/agent-browser/references/authentication.md31agent-browser fill @e1 "user@example.com"
LOW…ents/skills/agent-browser/references/authentication.md50agent-browser fill @e1 "user@example.com"
LOW…ents/skills/agent-browser/references/authentication.md107agent-browser fill @e1 "user@example.com"
LOW…gents/skills/agent-browser/references/snapshot-refs.md72agent-browser fill @e10 "user@example.com"
LOW…/skills/agent-browser/references/session-management.md29agent-browser --session auth fill @e1 "user@example.com"
LOW…ents/skills/agent-browser/templates/form-automation.sh32# agent-browser fill @e1 "John Doe" # Text input
LOW…ents/skills/agent-browser/templates/form-automation.sh33# agent-browser fill @e2 "user@example.com" # Email input
LOW…ib/server-only/ai/envelope/detect-recipients/prompt.ts33- "Signed: _________ John Doe" → { name: "John Doe", role: "SIGNER", signingOrder: 1 }
LOW…b/server-only/webhooks/trigger/generate-sample-data.ts58 name: 'John Doe',
LOW…b/server-only/webhooks/trigger/generate-sample-data.ts79 name: 'John Doe',
LOWpackages/api/v1/examples/05-add-a-recipient.ts20 name: 'John Doe',
LOWpackages/api/v1/examples/01-create-and-send-document.ts18 name: 'John Doe',
LOWpackages/api/v1/examples/01-create-and-send-document.ts23 name: 'Jane Doe',
LOWpackages/app-tests/constants/field-overflow-pdf.ts371 signature: 'John Doe',
LOWpackages/app-tests/constants/field-overflow-pdf.ts400 signature: 'John Doe',
LOWpackages/app-tests/constants/field-alignment-pdf.ts121 customText: 'John Doe',
LOWpackages/app-tests/constants/field-alignment-pdf.ts131 customText: 'John Doe',
LOWpackages/app-tests/constants/field-alignment-pdf.ts142 customText: 'John Doe',
LOWpackages/app-tests/constants/field-alignment-pdf.ts713 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/constants/field-alignment-pdf.ts713 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/constants/field-alignment-pdf.ts726 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/constants/field-alignment-pdf.ts726 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/constants/field-alignment-pdf.ts739 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/constants/field-alignment-pdf.ts739 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWpackages/app-tests/e2e/user/update-name.spec.ts13 await page.getByLabel('Full Name').fill('John Doe');
LOWpackages/app-tests/e2e/user/update-name.spec.ts24 expect((await getUserByEmail({ email: user.email })).name).toEqual('John Doe');
LOW…kages/app-tests/e2e/templates/direct-templates.spec.ts480 const currentName = 'John Doe';
LOWpackages/email/templates/document-recipient-signed.tsx18 recipientName = 'John Doe',
LOWpackages/email/templates/organisation-invite.tsx21 senderName = 'John Doe',
LOWpackages/email/templates/recipient-expired.tsx14 recipientName = 'John Doe',
LOWpackages/email/templates/organisation-join.tsx22 memberName = 'John Doe',
LOWpackages/email/templates/organisation-leave.tsx22 memberName = 'John Doe',
LOW…il/templates/document-created-from-direct-template.tsx21 recipientName = 'John Doe',
LOWpackages/email/templates/document-reminder.tsx22 recipientName = 'John Doe',
LOW…mix/app/components/forms/document-preferences-form.tsx110 const placeholderEmail = user.email ?? 'user@example.com';
Hyper-Verbose Identifiers33 hits · 33 pts
SeverityFileLineSnippet
LOW…mponents/document/envelope-recipient-field-tooltip.tsx45export function EnvelopeRecipientFieldTooltip({
LOWpackages/lib/utils/embed-config.ts14export function buildEmbeddedEditorOptions(
LOW…ges/lib/server-only/recipient/get-is-recipient-turn.ts8export async function getIsRecipientsTurnToSign({ token }: GetIsRecipientTurnOptions) {
LOW…erver-only/admin/get-organisation-detailed-insights.ts58export async function getOrganisationDetailedInsights({
LOW…e-components/template-document-rejection-confirmed.tsx12export function TemplateDocumentRejectionConfirmed({
LOW…kages/email/templates/document-rejection-confirmed.tsx17export function DocumentRejectionConfirmedEmail({
LOW…cument-signing/document-signing-recipient-provider.tsx51export function useDocumentSigningRecipientContext() {
LOW…al/document-signing/document-signing-reject-dialog.tsx36export function DocumentSigningRejectDialog({
LOW…p/components/dialogs/assistant-confirmation-dialog.tsx43export function AssistantConfirmationDialog({
LOW…/components/dialogs/template-move-to-folder-dialog.tsx44export function TemplateMoveToFolderDialog({
LOW…uthenticated+/organisation.sso.confirmation.$token.tsx114export default function OrganisationSsoConfirmationTokenPage({ loaderData }: Route.ComponentProps) {
LOW…x/app/routes/_unauthenticated+/verify-email._index.tsx13export default function EmailVerificationWithoutTokenPage() {
LOW…routes/_authenticated+/o.$orgUrl.settings.branding.tsx29export default function OrganisationSettingsBrandingPage() {
LOW…/routes/_authenticated+/o.$orgUrl.settings.general.tsx18export default function OrganisationSettingsGeneral() {
LOW…enticated+/o.$orgUrl.settings.email-domains._index.tsx20export default function OrganisationSettingsEmailDomains() {
LOW…routes/_authenticated+/o.$orgUrl.settings.document.tsx30export default function OrganisationSettingsDocumentPage() {
LOW…/app/routes/_authenticated+/o.$orgUrl.settings.sso.tsx62export default function OrganisationSettingSSOLoginPage() {
LOW…pp/routes/_authenticated+/o.$orgUrl.settings.email.tsx16export default function OrganisationSettingsGeneral() {
LOW…uthenticated+/o.$orgUrl.settings.email-domains.$id.tsx33export default function OrganisationEmailDomainSettingsPage({ params }: Route.ComponentProps) {
LOW…pp/routes/_authenticated+/o.$orgUrl.settings.teams.tsx11export default function OrganisationSettingsTeamsPage() {
LOW…/remix/app/routes/_authenticated+/o.$orgUrl._index.tsx33export default function OrganisationSettingsTeamsPage() {
LOW…utes/_authenticated+/o.$orgUrl.settings.groups.$id.tsx42export default function OrganisationGroupSettingsPage({ params }: Route.ComponentProps) {
LOW…_authenticated+/settings+/security.linked-accounts.tsx30export default function SettingsSecurityLinkedAccounts() {
LOW…pp/routes/_authenticated+/admin+/organisations.$id.tsx60export default function OrganisationGroupSettingsPage({ params, loaderData }: Route.ComponentProps) {
LOW…pp/routes/_authenticated+/admin+/email-domains.$id.tsx41export default function AdminEmailDomainDetailPage({ loaderData }: Route.ComponentProps) {
LOW…s/_authenticated+/admin+/unsealed-documents._index.tsx19export default function AdminUnsealedDocumentsPage() {
LOW…app/routes/embed+/v2+/authoring+/envelope.edit.$id.tsx105export default function EmbeddingAuthoringEnvelopeEditPage() {
LOW…outes/embed+/v2+/authoring+/envelope.create._index.tsx88export default function EmbeddingAuthoringEnvelopeCreatePage() {
LOW…/app/routes/embed+/v1+/authoring_.completed.create.tsx6export default function EmbeddingAuthoringCompletedPage() {
LOW…x/app/routes/embed+/v1+/authoring+/template.create.tsx19export default function EmbeddingAuthoringTemplateCreatePage() {
LOW…app/routes/embed+/v1+/authoring+/template.edit.$id.tsx81export default function EmbeddingAuthoringTemplateEditPage() {
LOW…x/app/routes/embed+/v1+/authoring+/document.create.tsx20export default function EmbeddingAuthoringDocumentCreatePage() {
LOW…app/routes/embed+/v1+/authoring+/document.edit.$id.tsx81export default function EmbeddingAuthoringDocumentEditPage() {
Over-Commented Block27 hits · 27 pts
SeverityFileLineSnippet
LOWdocker/development/compose.yml61 # Basic auth credentials Gotenberg checks when `--api-enable-basic-auth`
LOW…nts/skills/agent-browser/templates/capture-workflow.sh1#!/bin/bash
LOW…ents/skills/agent-browser/templates/form-automation.sh1#!/bin/bash
LOW…ents/skills/agent-browser/templates/form-automation.sh21agent-browser open "$FORM_URL"
LOW…kills/agent-browser/templates/authenticated-session.sh1#!/bin/bash
LOW…kills/agent-browser/templates/authenticated-session.sh61echo " 2. Update the LOGIN FLOW section below with your refs"
LOW…kills/agent-browser/templates/authenticated-session.sh81# agent-browser click @e3
LOW…ment-flow/field-items-advanced-settings/date-field.tsx21 // const handleInput = (field: keyof DateFieldMeta, value: string | boolean) => {
LOWpackages/trpc/server/team-router/update-team.types.ts1import { z } from 'zod';
LOW…pc/server/envelope-router/bulk-move-envelopes.types.ts1import { EnvelopeType } from '@prisma/client';
LOW…/server/envelope-router/bulk-delete-envelopes.types.ts1import { z } from 'zod';
LOWpackages/lib/constants/crypto.ts1import { env } from '../utils/env';
LOWpackages/lib/constants/crypto.ts21// console.warn('*');
LOWpackages/lib/server-only/user/create-user.ts41 // const user = await prisma.$transaction(async (tx) => {
LOWpackages/lib/server-only/user/forgot-password.ts21 // Find a token that was created in the last hour and hasn't expired
LOWpackages/lib/server-only/envelope/update-envelope.ts261 data: {
LOWpackages/lib/server-only/envelope/update-envelope.ts281 // );
LOWpackages/lib/jobs/client/index.ts1// Empty file for build reasons.
LOWpackages/app-tests/playwright.config.ts121 // use: { ...devices['Pixel 5'] },
LOWpackages/app-tests/playwright.config.ts141 // command: 'npm run start',
LOW…tests/e2e/templates-flow/template-signers-step.spec.ts1import { seedBlankTemplate } from '@documenso/prisma/seed/templates';
LOW…tests/e2e/templates-flow/template-signers-step.spec.ts21// await seedUserSubscription({
LOW…tests/e2e/templates-flow/template-signers-step.spec.ts41// await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
LOW…/app-tests/e2e/api/v1/organisation-rate-limits.spec.ts441
LOW…p/routes/_authenticated+/settings+/security._index.tsx21 return appMetaTags(msg`Security`);
LOWapps/remix/server/middleware.ts61// 1. Starts with /api/, /ingest/, /__manifest/, or /assets/
LOWapps/remix/server/security-headers.ts81 `script-src 'self' 'nonce-${nonce}' 'strict-dynamic'`,
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOW.github/workflows/publish.yml111 # Check if the version is stable (no rc or beta in the version)
LOW.github/workflows/publish.yml152 # Check if the version is stable (no rc or beta in the version)
LOWapps/remix/.bin/stripe-dev.sh37# Check if NEXT_PUBLIC_FEATURE_BILLING_ENABLED is equal to true
LOWapps/remix/.bin/stripe-dev.sh46# Check if NEXT_PRIVATE_STRIPE_API_KEY exists
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMapps/remix/app/routes/embed+/_v0+/direct.$token.tsx47 // TODO: Make this more robust, we need to ensure the owner is either
MEDIUMapps/remix/app/routes/embed+/_v0+/sign.$token.tsx67 // TODO: Make this more robust, we need to ensure the owner is either
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWpackages/lib/server-only/email/get-email-context.ts56 * Force meta options as a typesafe way to ensure developers don't forget to
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWapps/remix/app/entry.server.tsx17export default async function handleRequest(