T09 · Insecure Skill Coding Practices
- Location
SKILL.md:52- Finding
Shell Command Injection Through Unsafe LinkedIn Post Text Substitution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill clearly does what it says, but it posts publicly to LinkedIn and uses an unsafe shell placeholder pattern that could execute unintended local commands if post text is inserted directly.
Review carefully before installing. Use this only if you are comfortable storing a LinkedIn publishing token and having the agent post publicly to your LinkedIn account. Do not paste untrusted or externally supplied post text into the provided curl command; a safer version should build JSON with a serializer such as jq and require confirmation of the account, content, and visibility before posting.
SKILL.md:52Shell Command Injection Through Unsafe LinkedIn Post Text Substitution
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
"https://api.linkedin.com/v2/userinfo"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
"https://api.linkedin.com/v2/userinfo"
Look for the "sub" field — this is your Person URN (format: urn:li:person:XXXXX).
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
"https://api.linkedin.com/v2/userinfo"
Look for the "sub" field — this is your Person URN (format: urn:li:person:XXXXX).
The skill facilitates posting directly to LinkedIn and sets visibility to PUBLIC, but it does not clearly warn users at the point of use that content will be published externally and publicly. This increases the risk of accidental disclosure, unintended publication, or users invoking the skill without understanding that it performs a live social-media action.