setup-github-pages

Pass

Audited by Gen Agent Trust Hub on Oct 25, 2026

Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONOBFUSCATIONDYNAMIC_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill downloads and installs the docs-site binary from the vendor's GitHub repository (Fandhe-AI/fandhe-frontend) via cargo install --git. This process is secured by pinning the installation to a specific, verified 40-character commit SHA (FF_REV).
  • [COMMAND_EXECUTION]: Orchestrates the local environment using standard automation tools including git, gh (GitHub CLI), cargo, and curl for repository management and site deployment.
  • [EXTERNAL_DOWNLOADS]: Retrieves LICENSE-MIT and Cargo.lock files from raw.githubusercontent.com. These downloads are scoped to the official vendor repository and include size and timeout limits.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Markdown and TOML configuration files from the target repository. It implements significant defensive measures, specifically a sanitize function in scripts/_common.py that detects and escapes control characters, BIDI overrides, and invisible Unicode characters (such as tags and zero-width spaces). The SKILL.md also contains explicit instructions for the agent to treat repository-derived data as non-authoritative.
  • [OBFUSCATION]: Static analysis identified steganographic Unicode characters within tests/test_rebrand.py. These serve as test vectors for the skill's sanitization engine to ensure hidden instructions or characters are correctly neutralized.
  • [DYNAMIC_EXECUTION]: The scripts/build-local.sh script performs a mandatory dependency check by analyzing the vendor's Cargo.lock. It enforces a policy where the SSG tool must have zero external registry or git dependencies (allowing only path-based dependencies within the vendor repo), mitigating potential supply chain attacks.
  • [PATH_VALIDATION]: Multiple scripts (_common.py, scaffold.py, update-snapshot.sh) implement a resolves_inside guard. This logic ensures that all file operations are restricted to the target repository root and explicitly blocks access to the .git directory and sensitive files outside the project scope.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 25, 2026, 12:11 AM