deploy
Warn
Audited by Gen Agent Trust Hub on May 17, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The provided loader implementation in
scripts/scripts.jsperforms dynamic loading of JavaScript modules and CSS files using paths computed from the URL pathname. - Evidence:
import(${window.hlx.codeBasePath}/scripts/page-${slug}.js)andloadCSS(${window.hlx.codeBasePath}/styles/page-${slug}.css)whereslugis derived directly fromwindow.location.pathname. - This pattern allows for the execution of scripts from paths determined at runtime, which is a known vector for dynamic code loading risks.
- [PROMPT_INJECTION]: The skill's primary function is to have an AI agent ingest and process 'bespoke' hand-coded HTML/CSS/JS from untrusted external sources.
- Ingestion points: External HTML documents (
{slug}.html) and style/script files (viaindex.html) serve as untrusted data entering the agent's context during the porting process. - Boundary markers: The instructions do not include boundary markers or explicit warnings to the agent to disregard instructions that might be embedded within the source HTML.
- Capability inventory: The agent has the capability to write files to the local filesystem, install Node.js dependencies, and run a local development server (
aem up). - Sanitization: There is no mention of sanitizing or validating the contents of the 'bespoke' pages before the agent processes them, creating a surface for indirect prompt injection.
- [EXTERNAL_DOWNLOADS]: The skill instructs the agent to download the official Adobe AEM boilerplate and references the author's own repositories for implementation examples.
- Fetches configuration and code from
github.com/adobe/aem-boilerplate.git. - References reference implementations at
github.com/paolomoz/of1-edsandgithub.com/paolomoz/of1. - [COMMAND_EXECUTION]: The workflow requires the agent to execute shell commands for project setup and testing.
- Executes
git clone,npm install, and the AEM development server commandaem up --no-open. - Utilizes automated browser tools like Puppeteer or Playwright for visual regression testing.
Audit Metadata