tiangong-wiki-skill
Fail
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted files from the configured vault directory using an agentic workflow, creating a surface for indirect prompt injection where malicious content within a file could attempt to override agent behavior.
- Ingestion points:
src/core/vault-processing.tsclaims and reads files from thevault/directory for processing. - Boundary markers: Absent. The workflow prompt in
src/core/workflow-context.tsprovides context but does not use strong delimiters or explicit instructions to ignore commands embedded in the vault files. - Capability inventory: The
CodexSdkWorkflowRunnerinsrc/core/codex-workflow.tsenablesworkspace-writesandbox mode andnetworkAccessEnabled: true. The agent can execute thetiangong-wikiCLI and other system commands via the provided PATH. - Sanitization: Absent. The system relies on the LLM's own filters to handle untrusted file content.
- [REMOTE_CODE_EXECUTION]: The
references/vault-to-wiki-instruction.mdguide instructs the agent to "attempt to install (e.g., pip install, npm install)" runtime dependencies if a parser skill fails. This instruction could be exploited if malicious file content or environment state tricks the agent into installing unauthorized third-party packages. - [EXTERNAL_DOWNLOADS]: The
skill addcommand and thetiangong-wiki setupwizard facilitate the download and installation of additional agent skills from external sources. While the default source (github.com/anthropics/skills) is a trusted repository, the tool is designed to support arbitrary URLs or local paths provided during operation. - [COMMAND_EXECUTION]: The skill creates a local CLI wrapper script in
src/core/workflow-context.tsto allow the agent to execute wiki commands. This wrapper is generated at runtime and placed on the agent's PATH, granting it the capability to perform structured indexing and query operations.
Recommendations
- Contains 1 malicious URL(s) - DO NOT USE
Audit Metadata