Skip to content

robots.ts allows crawling of every route with zero disallow rules, letting search engines index /dashboard/* demo data and the token-only /auth/callback page #247

Closed

Description

@chonilius

src/app/robots.ts allows everything, unconditionally:

export default function robots(): MetadataRoute.Robots {
  return {
    rules: { userAgent: "*", allow: "/" },
  };
}

There isn't a single disallow entry. Two concrete, real consequences of this blanket
policy:

  1. /dashboard/contributor, /dashboard/maintainer, and /dashboard/sponsor are all
    fully server/client-renderable for a signed-out crawler — each falls back to its
    "Demo data" mode and renders realistic-looking mock financial figures ("$42,500 total
    funded," "9 active bounties," specific contributor earnings) with an amber "Demo data"
    badge that's only a visual cue, not a noindex signal. A search engine has no reason
    not to index these pages' fabricated numbers as if they were real platform statistics.
  2. /auth/callback is not a content page at all — it's purely an OAuth redirect target
    that expects a ?token= query param from GitHub and shows "No token was returned by
    GitHub sign-in" for any crawler that requests it plainly. There's no reason for this
    route to be crawlable/indexable at all.

Neither of these is a security issue (nothing sensitive is exposed — the dashboards show
only mock data when signed out), but both represent search engines indexing pages whose
content is either explicitly fake or functionally meaningless outside a real OAuth
redirect flow, hurting the quality of what a search result for "MergeFi" actually shows.

Suggested fix: add disallow entries for /dashboard/* and /auth/callback in
robots.ts (or pair them with per-route noindex metadata), consistent with how
sitemap.ts already deliberately excludes these same routes from its listing.

Activity

  1. added
    documentation
    security
    very hard
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. bellofuad34-ctrl commented on Aug 24, 2026

    @bellofuad34-ctrl

    @bellofuad34-ctrl has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, please i can fix the issue and make sure everything works as expected.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @bellofuad34-ctrl to this issue.

  4. edehvictor commented on Aug 24, 2026

    @edehvictor
    Contributor

    @edehvictor has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainers!
    I’d love to help out with this issue. I’ve checked the current codebase/documentation and know exactly what needs to be updated to make this clearer. I will ensure everything aligns perfectly with your existing contribution guidelines.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @edehvictor to this issue.

  5. Jaamaldeen commented on Aug 25, 2026

    @Jaamaldeen

    @Jaamaldeen has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I’ve reviewed the issue requirements in detail and have a clear understanding of the expected design and acceptance criteria. I’m confident I can deliver an implementation that satisfies all the specified requirements.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Jaamaldeen to this issue.

  6. drips-wave commented on Aug 25, 2026

    @drips-wave

    Congratulations, @edehvictor! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @edehvictor: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  7. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @edehvictor as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @edehvictor: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  8. removed
    Stellar Wave
    on Oct 15, 2026
  9. added
    Stellar Wave
    on Oct 15, 2026
  10. removed
    Stellar Wave
    on Oct 15, 2026
  11. added
    Stellar Wave
    on Oct 15, 2026
  12. removed
    Stellar Wave
    on Oct 15, 2026
  13. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavedocumentationhelp wantedsecurityvery hard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions