geist-learning-lab
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- Indirect Prompt Injection Surface: The architecture described in the skill facilitates the ingestion of MDX content which is then rendered alongside interactive code execution components. This creates a surface where untrusted content could potentially influence the behavior of the learning environment.
- Ingestion points: The
LessonPagecomponent inreferences/architecture.mdreads MDX files from the local file system usingreadFilebased on URL parameters. - Boundary markers: No specific delimiters or "ignore instructions" warnings are present in the provided reference implementations to separate content from instructions.
- Capability inventory: The skill includes components like
CodePlaygroundandTaskRunner(found inreferences/code-learning.md) that are designed to execute code snippets, providing a functional execution environment. - Sanitization: The provided code snippets do not include explicit sanitization or validation of the MDX source content.
- Dynamic File Path Construction: In
references/architecture.md, theLessonPagecomponent usespath.joinwith URL parameters (courseSlug,moduleSlug,lessonSlug) to locate MDX files. This is a common pattern in content-driven sites but is a consideration for directory traversal risks if the parameters are not properly validated to exclude sequences like... - Runtime Content Compilation: The skill utilizes
next-mdx-remotefor runtime compilation of MDX content. While this is essential for providing the interactive features described, it represents a dynamic execution pattern that relies on the integrity of the content files to prevent script injection or other cross-site concerns.
Audit Metadata