Is jacqueskang/ms-foundry-image-gen safe?
Yes. jacqueskang/ms-foundry-image-gen is safe to install. Oathe's behavioral security audit gave the ms-foundry-image-gen skill by jacqueskang a trust score of 87/100 with 6 findings, none critical or high.
https://github.com/openclaw/skills/tree/main/skills/jacqueskang/ms-foundry-image-gen
Is jacqueskang/ms-foundry-image-gen safe to install?
The ms-foundry-image-gen skill is a minimal SKILL.md wrapper around the Azure Foundry image generation REST API with no executable code, no install hooks, no git submodules, and no prompt injection content. The primary risk is a weak FOUNDRY_ENDPOINT validation regex that permits any HTTPS URL (including cloud metadata and internal addresses), meaning the FOUNDRY_API_KEY credential and user prompts could be sent to an unintended server if the environment variable is misconfigured or manipulated. All canary honeypot files remained intact and canary accesses are consistent with the audit framework's own pre/post verification checks.
What security issues were found in jacqueskang/ms-foundry-image-gen?
Category Scores
Findings (6)
MEDIUM Weak FOUNDRY_ENDPOINT validation enables SSRF to any HTTPS target -13 ▶
The endpoint validation regex accepts any hostname or IP, including cloud metadata endpoints (169.254.169.254), internal network addresses, and non-Azure services. If an attacker or misconfiguration controls FOUNDRY_ENDPOINT, the skill will POST the FOUNDRY_API_KEY credential and user prompts to an arbitrary server.
Evidence: grep -Eq '^https?://[A-Za-z0-9._:-]+/?$' — no domain restriction, allows raw IP addresses
MEDIUM SSRF/credential theft risk in combination with env-var writing skills -15 ▶
If a co-installed skill can modify environment variables, FOUNDRY_ENDPOINT could be redirected to an attacker-controlled server, causing the FOUNDRY_API_KEY and image prompts to be exfiltrated. This is a compositional risk absent from this skill in isolation.
Evidence: FOUNDRY_API_KEY passed as -H 'api-key: ...' to FOUNDRY_ENDPOINT with no domain enforcement
LOW Primary API credential sent to fully user-configurable endpoint -9 ▶
FOUNDRY_API_KEY is always transmitted as a request header to whatever URL FOUNDRY_ENDPOINT resolves to. Credential exposure depends entirely on correct endpoint configuration.
Evidence: -H "api-key: ${FOUNDRY_API_KEY}" in curl invocation
LOW API response written to /tmp may carry injected content into agent context -7 ▶
If FOUNDRY_ENDPOINT points to an attacker-controlled server, the response JSON could embed prompt-injection payloads that the agent processes after reading /tmp/generation_result.json.
Evidence: curl ... -o /tmp/generation_result.json; jq -r '.data[0].b64_json' /tmp/generation_result.json
INFO Clean install via sparse monorepo checkout — no unexpected activity -12 ▶
The skill installed via a standard shallow sparse checkout from github.com/openclaw/skills. Only two files were deposited. No unexpected processes, persistent connections, or filesystem changes outside the skill directory were detected.
Evidence: Baseline filesystem diff: only _meta.json and SKILL.md added; post-install connection diff: no new listeners or established connections attributable to the skill
INFO Canary file accesses attributed to audit framework — no exfiltration -8 ▶
Honeypot credential files were opened read-only at two points matching the audit framework's expected pre-install baseline and post-install verification sweep. All files remain unmodified.
Evidence: CLOSE_NOWRITE on all canary paths; ✅ All canary files intact per integrity check
Should I install jacqueskang/ms-foundry-image-gen?
Oathe's verdict for jacqueskang/ms-foundry-image-gen is SAFE with a trust score of 87/100. Recommendation: Install with caution.