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.cookieandmodel.json, from the user's home directory (~/.office-claw). Additionally,scripts/check_runtime.pydisables TLS certificate verification (ssl.CERT_NONE) when connecting to the local API at127.0.0.1:3004. - [PRIVILEGE_ESCALATION]: The script
scripts/check_runtime.pyuses the Windows Data Protection API (CryptUnprotectData) viactypesto 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.runandsys.executable. - [DYNAMIC_EXECUTION]: Migration logic and test routines are dynamically loaded at runtime using
importlib.import_moduleand__import__inscripts/migrate.pyandtests/run_regression_tests.pyto 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/*.mdandplugin.jsonfrom 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
personalityfield 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