visual-architect

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The scripts/freeze.py script dynamically modifies the sys.path search list using the VISUAL_ARCHITECT_META_DIR environment variable. This allows for the redirection of imports for critical foundation modules if an attacker can control the environment. The sys.path.insert(0, ...) call ensures that the overridden path takes precedence over standard locations.\n- [CREDENTIALS_UNSAFE]: The skill is designed to read and utilize a sensitive session key file (.forge/session.key). Access to this file is gated by the --forge-session-key argument. The key material is used to generate HMAC-SHA256 signatures for design artifacts, making it a high-value target for exposure.\n- [COMMAND_EXECUTION]: The tests/test_visual_architect.py script invokes external system commands. It uses subprocess.run to call openssl for generating random hex keys for test fixtures.\n- [INDIRECT_PROMPT_INJECTION]: The skill acts as a data processor for potentially untrusted files.\n
  • Ingestion points: Data is ingested through the _load_yaml and _load_user_edits functions in scripts/freeze.py from files provided via --draft and --user-edits arguments.\n
  • Boundary markers: There are no explicit instructions or delimiters to prevent the agent from following instructions embedded within the YAML or JSON values.\n
  • Capability inventory: The skill uses trusted_runner.bundle_write to write files to the disk and claims.file_challenge to interact with the project ledger.\n
  • Sanitization: While it uses yaml.safe_load, it does not sanitize the semantic content of the URIs or token paths provided in the user edits before they are incorporated into the signed frozen artifacts.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 12:52 PM