travel-planner
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches geolocation and routing information from the Amap (Gaode) official REST API (
restapi.amap.com), which is a well-known map service. It also provides instructions for optionally integrating other common travel information sources via trusted installation methods. - [COMMAND_EXECUTION]: Utility scripts such as
scripts/validate.pyandscripts/render_html.pyare included to process travel data and generate outputs. These scripts run locally using the Python interpreter and are designed for data integrity checks and formatting. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes content retrieved from external social media (Xiaohongshu) and guide platforms (Meituan). It effectively mitigates this risk by validating all ingested data against a strict JSON schema and applying robust escaping to content before rendering it for the user. Evidence chain:
- Ingestion points: External data enters the agent context through tool outputs and is stored in
trip.json(documented inSKILL.mdandreferences/data-sources.md). - Boundary markers: The skill enforces a formal data structure using
references/trip-schema.jsonto isolate external content. - Capability inventory: Subprocess calls are limited to local validation scripts, and network operations are restricted to established service providers.
- Sanitization: Third-party content is passed through
esc()andmdLite()functions inassets/template.htmlandrender_markdown.pyto prevent script injection or layout disruption.
Audit Metadata