react-runtime-config

Pass

Audited by Gen Agent Trust Hub on Aug 11, 2026

Risk Level: SAFE
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill utilizes a shell script (40-runtime-env.sh) that runs envsubst at container startup to generate a JavaScript configuration file (runtime-env.js) from a template. This is a low-risk, standard pattern for providing dynamic configuration to frontend applications without requiring a rebuild.
  • [COMMAND_EXECUTION]: The Dockerfile performs routine setup operations, including package installation via apk add and modifying file permissions with chmod +x for the entrypoint script. These commands are typical for container environment preparation and are restricted to the container's build and initialization stages.
  • [INDIRECT_PROMPT_INJECTION]: While the skill establishes a path for external environment variables to enter the application's runtime context, it incorporates safety measures by using envsubst with an explicit allowlist (e.g., envsubst '${API_URL}'). This ensures that only authorized variables are substituted into the configuration file, reducing the risk of accidental or malicious variable injection.
  • [DATA_EXPOSURE_AND_EXFILTRATION]: The skill explicitly instructs users not to version secrets or real values in templates or code, and includes a command to remove the template file (rm runtime-env.template.js) after the configuration is generated to prevent metadata leakage.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 11, 2026, 12:53 PM