mapbox-store-locator-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill demonstrates patterns that ingest GeoJSON data from potentially untrusted external sources (such as an API endpoint) and interpolates property values into the UI.
- Ingestion points:
SKILL.md(Step 3),AGENTS.md, andreferences/search-filter.mdprocess properties from GeoJSON features. - Boundary markers: No delimiters or safety instructions are used to distinguish untrusted data from UI code.
- Capability inventory: The code uses Mapbox's
setHTML()method and standard DOMinnerHTMLto display data. - Sanitization: The skill lacks sanitization, escaping, or validation logic for location properties (like
name,address, orphone) before rendering them as HTML, creating a vulnerability to data-poisoning attacks. - [DYNAMIC_EXECUTION]: Implementation examples in
SKILL.md,AGENTS.md, andreferences/geolocation-directions.mduse.setHTML()onmapboxgl.Popupinstances and.innerHTMLon sidebar listings. This allows for the dynamic execution of arbitrary HTML and JavaScript if malicious content is embedded in the GeoJSON data provided to the skill.
Audit Metadata