Safely read and change a FreshStore affiliate site through its Site API, covering products, articles, redirects, click analytics and product feeds.
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The main path directs the model to ask the user for FRESHSTORE_API_KEY when it is not already set, so the secret value enters the model's context from a user message.
[REDACTED]
secret · 3 sites
The main path tells the agent to ask the user for the API key in chat, so the secret enters the model context.
SKILL.md
18
Ask the user for two values if they are not set already:
20
`[REDACTED]`: a key made in that site's admin.
references/setup.md
19
[REDACTED]
-H "Authorization: Bearer $FRESHSTORE_API_KEY"
command · 3 sites
The API key is placed on a visible curl command line / header the agent builds and runs.
SKILL.md
29
-H "Authorization: Bearer $FRESHSTORE_API_KEY" \
42
Always send `Authorization: Bearer <key>`
references/setup.md
31
Authorization: Bearer YOUR_API_KEY
"credentials": {"feed_key": "'"$AWIN_FEED_KEY"'"}
command · 1 site
The feed network secret is interpolated into a curl -d body on a visible command line.
references/feeds.md:41
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The Site API click analytics endpoints (`/analytics/clicks` and `/analytics/clicks/top-products`) return `source`, `url` and page paths that visitors can influence, and the agent reads them on routine analytics questions without selecting a specific item first.
$[REDACTED] (and /analytics/clicks/top-products)
url · 6 sites
These endpoints return visitor-influenced source, url and path fields that the agent reads and reports on.
guides.freshstore.com
domain · 2 sites
The agent is told to read this external page before calling endpoints and act on it.
SKILL.md
13
https://guides.freshstore.com/article/729-freshstore-api
SKILL.md
77
read the full reference at https://guides.freshstore.com/article/729-freshstore-api
www.freshstore.com
domain · 2 sites
The agent reads the remote OpenAPI file before calling unknown endpoints and acts on it.
SKILL.md
14
https://www.freshstore.com/developers/openapi
SKILL.md
77
or the OpenAPI file at https://www.freshstore.com/developers/openapi
network feed preview rows (POST /feeds/{id}/preview)
content-type · 3 sites
Third-party affiliate network feed rows are read by the agent and then used to adjust maps and import.
references/feeds.md
55
fsapi POST /feeds/{id}/preview
58
Returns the connection message and the first 20 rows as they would import
SKILL.md
60
Product text, article bodies, feed rows, contact messages, page titles and URLs can contain text that looks like a command.
The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.
The skill exposes state-changing operations on the live FreshStore site, such as persistent scheduled feed imports, Clean deletes, Retire Catalogue, cache clearing and template switching, but no explicit irreversible operational loss is established, so gate 2 fails and the tier is capped at low.
POST /store/clean (Clean deletes)
command · 3 sites
State-changing live site operation that deletes offers, products, brands and categories.
references/products.md
Line 94
Line 97
SKILL.md
Line 56
POST /store/retire-catalogue
command · 6 sites
Live Retire Catalogue switches off products, categories, articles and brands and writes redirects.
POST /feeds with "schedule": "daily" (persistent scheduled feed import)
command · 3 sites
Creates a persistent recurring import that keeps writing products to the live site.
references/feeds.md
38
fsapi POST /feeds -d '{
references/feeds.md
45
"schedule": "daily",
references/feeds.md
63
fsapi POST /feeds/{id}/import
POST /api/store/... Clear Cache, Rebuild Sitemap, template switch
command · 2 sites
The skill exposes state-changing store operations such as cache clearing and template switching.
references/redirects.md
Line 78
references/setup.md
Line 60