flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Frontend] sitemap.xml lists wallet-gated app routes as publicly crawlable pages

Open K1NGD4VID opened this issue 2 months ago • 6 comments

Labels: frontend, enhancement, third-wave-audit File/location: frontend/src/app/sitemap.ts:13-42

Description: sitemap.ts lists /dashboard, /streams/create, /activity, /incoming, and /settings with daily/weekly change frequencies and static lastModified: new Date() timestamps. All of these routes require a connected wallet and show empty/prompt states to crawlers and unauthenticated visitors, so indexing them as content pages is misleading to search engines and the changeFrequency/priority values are meaningless for a per-visitor authenticated view.

Acceptance Criteria:

  • [ ] sitemap.ts only lists genuinely public, crawlable routes (e.g. the landing page)
  • [ ] Wallet-gated routes are excluded from the sitemap or the sitemap generation reflects real content changes rather than the current request time

Relation to prior issue: #872 (CLOSED) '[Frontend] No robots and no sitemap - site has no crawl directives or sitemap' introduced this exact sitemap.ts file. This finding is about the correctness of that fix's content rather than the absence of a sitemap, but the topic area (robots/sitemap) is the same file #872 already touched, so it may be considered part of that same resolved scope rather than a new gap.

K1NGD4VID avatar Sep 27 '26 21:09 K1NGD4VID

Hi,

I have experience with similar implementations and would like to take this on.

Plan:

  1. Audit authorization boundaries and enforce defensive validation barriers.
  2. Implement multi-role permission checks and invocation validation.
  3. Write adversarial unit tests simulating edge failure modes and invalid callers.
  4. Ensure zero regressions across existing test suites and CI workflows.

Ready to implement immediately upon assignment. Please feel free to assign!

Ranjeet2063 avatar Oct 04 '26 18:10 Ranjeet2063

Hello, I would like to take this issue.

I have gone through the details and I am interested in contributing a fix. I will work on the implementation and open a PR once it is ready for review.

Thanks!

Chigybillionz avatar Oct 15 '26 13:10 Chigybillionz

@oyeyemidavid-gif has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

I would like to work on this issue.

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

oyeyemidavid-gif avatar Oct 16 '26 23:10 oyeyemidavid-gif

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

Hello maintainer, i would like to work on this issue

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

dollfins avatar Oct 16 '26 23:10 dollfins

Congratulations, @dollfins! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

🧑‍💻 @dollfins: 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 🌊

drips-wave[bot] avatar Oct 16 '26 23:10 drips-wave[bot]

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

😎 @dollfins: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, 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.

drips-wave[bot] avatar Oct 18 '26 01:10 drips-wave[bot]