huawei-cloud-officeace-expert-migration

Pass

Audited by Gen Agent Trust Hub on Nov 28, 2026

Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill accesses sensitive application data, including session.cookie and model.json, from the user's home directory (~/.office-claw). Additionally, scripts/check_runtime.py disables TLS certificate verification (ssl.CERT_NONE) when connecting to the local API at 127.0.0.1:3004.
  • [PRIVILEGE_ESCALATION]: The script scripts/check_runtime.py uses the Windows Data Protection API (CryptUnprotectData) via ctypes to decrypt local session tokens, which is a privileged capability for accessing user-specific secrets. The skill also implements path traversal protections (normalize_slug) to ensure that file writes remain within the intended data directory.
  • [COMMAND_EXECUTION]: The skill performs various migration and verification tasks by executing local Python scripts and internal verification tools using subprocess.run and sys.executable.
  • [DYNAMIC_EXECUTION]: Migration logic and test routines are dynamically loaded at runtime using importlib.import_module and __import__ in scripts/migrate.py and tests/run_regression_tests.py to route tasks based on the identified source platform.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes third-party expert packages consisting of markdown and JSON files to generate agent personalities.
  • Ingestion points: Reads agents/*.md and plugin.json from external expert packages located in marketplace or staging directories.
  • Boundary markers: No explicit boundary markers or isolation instructions are used when interpolating the content of these files into the personality field of the expert configuration.
  • Capability inventory: The skill can write to the application's configuration directories, execute local commands, and access decrypted session tokens.
  • Sanitization: While it validates slugs to prevent path traversal, it does not sanitize the markdown content from source files, which could contain instructions intended to influence the agent's behavior at runtime.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 28, 2026, 01:27 PM