Skip to main content

instagram

Integrates with the Instagram Graph API to fetch and publish media, enabling effective social media management.

Install this skill

or
15/100

Security score

The instagram skill was audited on Feb 12, 2026 and we found 23 security issues across 3 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 76

Template literal with variable interpolation in command context

SourceSKILL.md
76```bash
medium line 97

Template literal with variable interpolation in command context

SourceSKILL.md
97```bash
medium line 113

Template literal with variable interpolation in command context

SourceSKILL.md
113```bash
medium line 123

Template literal with variable interpolation in command context

SourceSKILL.md
123```bash
medium line 149

Template literal with variable interpolation in command context

SourceSKILL.md
149```bash
medium line 175

Template literal with variable interpolation in command context

SourceSKILL.md
175```bash
high line 60

Curl to non-GitHub URL

SourceSKILL.md
60> bash -c 'curl -s "https://api.example.com" -H "Authorization: Bearer $API_KEY"' | jq '.'
medium line 77

Curl to non-GitHub URL

SourceSKILL.md
77bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media?fields=id,caption,media_type,media_url,permalink,timestamp" --header "Authorization: Bearer ${INSTAGRAM
medium line 98

Curl to non-GitHub URL

SourceSKILL.md
98bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/<your-media-id>?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username" --header "Authorization: Bearer ${INSTAGRAM
medium line 114

Curl to non-GitHub URL

SourceSKILL.md
114bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/ig_hashtag_search?user_id=${INSTAGRAM_BUSINESS_ACCOUNT_ID}&q=<hashtag-name>" --header "Authorization: Bearer ${INSTAGRAM_ACCESS_TOKEN}"'
medium line 124

Curl to non-GitHub URL

SourceSKILL.md
124bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/<hashtag-id>/recent_media?user_id=${INSTAGRAM_BUSINESS_ACCOUNT_ID}&fields=id,caption,media_type,media_url,permalink,timestamp" --header "Autho
medium line 150

Curl to non-GitHub URL

SourceSKILL.md
150bash -c 'curl -s -X POST "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media" -H "Content-Type: application/json" -d @/tmp/request.json --header "Authorization: Bearer ${INSTAGRAM
medium line 176

Curl to non-GitHub URL

SourceSKILL.md
176bash -c 'curl -s -X POST "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media_publish" -H "Content-Type: application/json" -d @/tmp/request.json --header "Authorization: Bearer ${I
low line 14

External URL reference

SourceSKILL.md
14> Official docs: `https://developers.facebook.com/docs/instagram-api`
low line 60

External URL reference

SourceSKILL.md
60> bash -c 'curl -s "https://api.example.com" -H "Authorization: Bearer $API_KEY"' | jq '.'
low line 77

External URL reference

SourceSKILL.md
77bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media?fields=id,caption,media_type,media_url,permalink,timestamp" --header "Authorization: Bearer ${INSTAGRAM
low line 98

External URL reference

SourceSKILL.md
98bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/<your-media-id>?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username" --header "Authorization: Bearer ${INSTAGRAM
low line 114

External URL reference

SourceSKILL.md
114bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/ig_hashtag_search?user_id=${INSTAGRAM_BUSINESS_ACCOUNT_ID}&q=<hashtag-name>" --header "Authorization: Bearer ${INSTAGRAM_ACCESS_TOKEN}"'
low line 124

External URL reference

SourceSKILL.md
124bash -c 'curl -s -X GET "https://graph.facebook.com/v21.0/<hashtag-id>/recent_media?user_id=${INSTAGRAM_BUSINESS_ACCOUNT_ID}&fields=id,caption,media_type,media_url,permalink,timestamp" --header "Autho
low line 142

External URL reference

SourceSKILL.md
142"image_url": "https://example.com/image.jpg",
low line 147

External URL reference

SourceSKILL.md
147Replace `https://example.com/image.jpg` with any publicly accessible image URL and update the caption text as needed.
low line 150

External URL reference

SourceSKILL.md
150bash -c 'curl -s -X POST "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media" -H "Content-Type: application/json" -d @/tmp/request.json --header "Authorization: Bearer ${INSTAGRAM
low line 176

External URL reference

SourceSKILL.md
176bash -c 'curl -s -X POST "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media_publish" -H "Content-Type: application/json" -d @/tmp/request.json --header "Authorization: Bearer ${I
Scanned on Feb 12, 2026
View Security Dashboard
Installation guide →