René's URL Explorer Experiment


Title: Faultmark scanned this repo and found 4 verified bugs · Issue #8145 · formbricks/formbricks · GitHub

Open Graph Title: Faultmark scanned this repo and found 4 verified bugs · Issue #8145 · formbricks/formbricks

X Title: Faultmark scanned this repo and found 4 verified bugs · Issue #8145 · formbricks/formbricks

Description: Hey formbricks team, I've been building Faultmark, an AI scanner that runs a multi-model debate to verify bugs before surfacing them. Ran it on this repo as a real-world test and found 4 confirmed bugs, 0 disputed. Sharing before posting...

Open Graph Description: Hey formbricks team, I've been building Faultmark, an AI scanner that runs a multi-model debate to verify bugs before surfacing them. Ran it on this repo as a real-world test and found 4 confirmed ...

X Description: Hey formbricks team, I've been building Faultmark, an AI scanner that runs a multi-model debate to verify bugs before surfacing them. Ran it on this repo as a real-world test and found 4 confir...

Opengraph URL: https://github.com/formbricks/formbricks/issues/8145

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Faultmark scanned this repo and found 4 verified bugs","articleBody":"Hey formbricks team,\n\nI've been building Faultmark, an AI scanner that runs a \nmulti-model debate to verify bugs before surfacing them. Ran it on this repo \nas a real-world test and found 4 confirmed bugs, 0 disputed. Sharing before \nposting anything publicly.\n\n---\n\n## 🔴 High Severity (1)\n\n**1. doesNotIncludeAllOf logic is inverted**\n`apps/web/lib/surveyLogic/utils.ts:445`\n\nThe `doesNotIncludeAllOf` operator currently returns true only when NONE of \nthe right values are in the left array, which is `doesNotIncludeAnyOf` \nsemantics. It should return true when at least one right value is missing \nfrom the left array (negation of includesAllOf). This means survey logic \nconditions using this operator silently evaluate to the wrong result.\n\n**Fix:** Change `rightValue.every((v) =\u003e !leftValue.includes(v))` to \n`!rightValue.every((v) =\u003e leftValue.includes(v))`\n\n---\n\n## 🟡 Medium Severity (3)\n\n\u003cdetails\u003e\n\u003csummary\u003e2. loadInitialDisplays error swallowed — displaysError state never set on load failure\u003c/summary\u003e\n\n`apps/web/app/(app)/workspaces/[workspaceId]/surveys/[surveyId]/(analysis)/summary/components/SummaryPage.tsx:108`\n\nWhen `loadInitialDisplays` catches an error, it calls `toast.error()` but \nnever calls `setDisplaysError()`. The `displaysError` state stays null, so \nerror-aware UI components like `SummaryImpressions` never show a retry \ninterface. Users see an empty list and a toast that disappears, with no way \nto retry.\n\n**Fix:** Add `setDisplaysError(error instanceof Error ? error.message : String(error))` \nin the catch block alongside the toast call.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e3. enabledLanguageIds may contain undefined values, breaking language enable/disable logic\u003c/summary\u003e\n\n`apps/web/lib/survey/service.ts`\n\n`enabledLanguageIds` is built with `.map()` using an early return for \ndisabled languages, which creates undefined gaps in the array. The \n`deleteMany` condition `enabled: enabledLanguageIds.includes(languageId)` \nthen always evaluates to false for disabled languages, making the deletion \nfilter semantically wrong. The `enabled` field also should not be part of \na `deleteMany` where clause on a join table.\n\n**Fix:** Use `.filter(l =\u003e l.enabled).map(l =\u003e l.language.id)` instead of \n`.map()` with a conditional return, and remove the `enabled` field from the \n`deleteMany` where clause.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e4. createSurvey returns stale segment state after connecting a segment\u003c/summary\u003e\n\n`apps/web/lib/survey/service.ts:673`\n\nAfter `prisma.survey.update()` connects the segment, the function returns a \n`TSurvey` built from the pre-connect survey fetch. The returned object has \n`segment: null` because the database row was updated but never re-read. \nCallers will always see the wrong segment state after survey creation.\n\n**Fix:** After the segment connect, re-fetch the survey with \n`prisma.survey.findUnique({ where: { id: survey.id }, select: selectSurvey })` \nand use that for the `transformedSurvey` construction.\n\u003c/details\u003e\n\n---\n\nHappy to share the full report or answer any questions. No strings attached, \njust wanted to be useful and get real-world feedback on the tool.\n\n— Rohit\nfaultmark.com","author":{"url":"https://github.com/R0hit-Sriram","@type":"Person","name":"R0hit-Sriram"},"datePublished":"2026-05-26T06:07:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/8145/formbricks/issues/8145"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8fed251f-0ed7-26a4-f18a-d06879dab692
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA82C:2F88AB:3C523A:563DAF:6A4BC77D
html-safe-nonce7aa1b22a69dbe4de5a14ea4492d56594e4887a93ce991426b842a8f4cd16cc11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODJDOjJGODhBQjozQzUyM0E6NTYzREFGOjZBNEJDNzdEIiwidmlzaXRvcl9pZCI6IjU1NTk1NDIzMzEyOTAxNDI1ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6a6e32737727a5e48e340c6cd7dd22e7d1f780efb24e78785555e8af85b04e37
hovercard-subject-tagissue:4521818733
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/formbricks/formbricks/8145/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c14c9a72b84ba04fc364e66f52428c31bb466ee26f9efe58ccbdbc6f2079f651/formbricks/formbricks/issues/8145
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c14c9a72b84ba04fc364e66f52428c31bb466ee26f9efe58ccbdbc6f2079f651/formbricks/formbricks/issues/8145
og:image:altHey formbricks team, I've been building Faultmark, an AI scanner that runs a multi-model debate to verify bugs before surfacing them. Ran it on this repo as a real-world test and found 4 confirmed ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameR0hit-Sriram
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-preview
go-importgithub.com/formbricks/formbricks git https://github.com/formbricks/formbricks.git
octolytics-dimension-user_id105877416
octolytics-dimension-user_loginformbricks
octolytics-dimension-repository_id500289888
octolytics-dimension-repository_nwoformbricks/formbricks
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id500289888
octolytics-dimension-repository_network_root_nwoformbricks/formbricks
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/formbricks/formbricks/issues/8145#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fformbricks%2Fformbricks%2Fissues%2F8145
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fformbricks%2Fformbricks%2Fissues%2F8145
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=formbricks%2Fformbricks
Reloadhttps://github.com/formbricks/formbricks/issues/8145
Reloadhttps://github.com/formbricks/formbricks/issues/8145
Reloadhttps://github.com/formbricks/formbricks/issues/8145
Please reload this pagehttps://github.com/formbricks/formbricks/issues/8145
formbricks https://github.com/formbricks
formbrickshttps://github.com/formbricks/formbricks
Notifications https://github.com/login?return_to=%2Fformbricks%2Fformbricks
Fork 2.4k https://github.com/login?return_to=%2Fformbricks%2Fformbricks
Star 12.5k https://github.com/login?return_to=%2Fformbricks%2Fformbricks
Code https://github.com/formbricks/formbricks
Issues 196 https://github.com/formbricks/formbricks/issues
Pull requests 22 https://github.com/formbricks/formbricks/pulls
Discussions https://github.com/formbricks/formbricks/discussions
Actions https://github.com/formbricks/formbricks/actions
Security and quality 1 https://github.com/formbricks/formbricks/security
Insights https://github.com/formbricks/formbricks/pulse
Code https://github.com/formbricks/formbricks
Issues https://github.com/formbricks/formbricks/issues
Pull requests https://github.com/formbricks/formbricks/pulls
Discussions https://github.com/formbricks/formbricks/discussions
Actions https://github.com/formbricks/formbricks/actions
Security and quality https://github.com/formbricks/formbricks/security
Insights https://github.com/formbricks/formbricks/pulse
Faultmark scanned this repo and found 4 verified bugshttps://github.com/formbricks/formbricks/issues/8145#top
https://github.com/R0hit-Sriram
R0hit-Sriramhttps://github.com/R0hit-Sriram
on May 26, 2026https://github.com/formbricks/formbricks/issues/8145#issue-4521818733
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.