historical-map
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external GeoJSON data and interpolates properties into HTML popups and tooltips without sufficient sanitization. If an attacker provides a malicious GeoJSON file via a URL or local data, it could lead to Cross-Site Scripting (XSS) when the user opens the generated HTML file.
- Ingestion points:
add_geojson(accepts arbitrary dictionaries) andadd_geojson_url(fetches data from external URLs) inscripts/map_builder.py. - Boundary markers: None identified for external GeoJSON properties.
- Capability inventory: The script performs file-system write operations via
save_htmlinscripts/map_builder.py. - Sanitization: While the map title is escaped using
_escape_html, feature properties used inbindPopupandbindTooltipare concatenated directly into HTML strings in the generated JavaScript. - [EXTERNAL_DOWNLOADS]: The skill references and fetches resources from several well-known and trusted external services.
- Evidence: Fetches historical boundary data from
github.com/aourednik/historical-basemaps. - Evidence: Loads marker icons from
github.com/pointhi/leaflet-color-markers. - Evidence: Loads the Leaflet.js library and CSS from the
unpkg.comCDN. - Evidence: Utilizes map tile services from OpenStreetMap, Stadia Maps, CartoDB, MapWarper, and Academia Sinica (CCTS).
- [COMMAND_EXECUTION]: The skill instructions suggest executing shell commands to view the generated output.
- Evidence:
SKILL.mdcontains instructions to use theopencommand to view the generated standalone HTML files in a browser.
Audit Metadata