From 27b90d6ba77c3d61f627e35ce8dff075c48a52f5 Mon Sep 17 00:00:00 2001 From: ahmed Date: Sun, 28 Dec 2025 18:33:41 +0200 Subject: [PATCH 1/9] feat(prompts): enhance Next.js framework module with reconnaissance techniques - Add route enumeration section with __BUILD_MANIFEST.sortedPages technique - Add environment variable leakage detection (NEXT_PUBLIC_ prefix) - Add data fetching over-exposure section for __NEXT_DATA__ inspection - Add API route path normalization bypass techniques --- strix/prompts/frameworks/nextjs.jinja | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/strix/prompts/frameworks/nextjs.jinja b/strix/prompts/frameworks/nextjs.jinja index dc8179da..ddd2ce4c 100644 --- a/strix/prompts/frameworks/nextjs.jinja +++ b/strix/prompts/frameworks/nextjs.jinja @@ -31,6 +31,18 @@ + +- __BUILD_MANIFEST.sortedPages: Execute `console.log(__BUILD_MANIFEST.sortedPages.join('\n'))` in browser console to instantly reveal all registered routes (Pages Router and static App Router paths compiled at build time) +- __NEXT_DATA__: Inspect `