mapbox-store-locator-patterns

Warn

Audited by Runlayer on Feb 22, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
78%
Files
2
Flagged
2
Chunks
4
Flagged Files (2)
AGENTS.mdHIGH
78.3%

Malicious tool definition detected

Tool: AGENTS.md Description: # Store Locator Patterns Quick reference for building store locators and location finders with Mapbox.

SKILL.mdHIGH
78.3%

Malicious tool definition detected

Tool: SKILL.md [1/3] Description: --- name: mapbox-store-locator-patterns description: Common patterns for building store locators, restaurant finders, and location-based search applications with Mapbox.

Tool: SKILL.md [2/3] Description: Build the list on load map.on('load', () => { buildLocationList(stores); }); ``` ### Step 4: Add Search/Filter Functionality **Text Search:** ```javascript function filterStores(searchTerm) { const filtered = { type: 'FeatureCollection', features: stores.features.filter((store) => { const name = store.properties.name.toLowerCase(); const address = store.properties.address.toLowerCase(); const search = searchTerm.toLowerCase(); return name.includes(search) || add

Tool: SKILL.md [3/3] Description: Best Practices ### Data Management ```javascript // ✅ GOOD: Load data once, filter in memory const allStores = await fetch('/api/stores').then((r) => r.json()); function filterStores(criteria) { return { type: 'FeatureCollection', features: allStores.features.filter(criteria) }; } // ❌ BAD: Fetch on every filter async function filterStores(criteria) { return await fetch(`/api/stores?filter=${criteria}`).then((r) => r.json()); } ``` ### Error Handling ```javascri

Audit Metadata
Max File Score
78%
Classification
UNKNOWN_SERVER
Files Scanned
2
Files Flagged
2
Chunks Analyzed
4
Analyzed
Feb 22, 2026, 03:25 AM
Security Audit — runlayer — mapbox-store-locator-patterns