← All skills
detecting-serverless-function-injection
79 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By yanacuti1121/Yana-AI (GitHub) · coding · 13 stars · scanned at commit 54d4aa9
'Detects and prevents code injection attacks targeting serverless functions
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 42 places.
Show 17 more
- .claude/skills/detecting-serverless-function-injection/SKILL.md, line 79
aws apigateway get-rest-apis --query 'items[*].[id,name]' --output table - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 84
aws s3api get-bucket-notification-configuration --bucket <bucket-name> - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 88
aws lambda get-function-configuration --function-name <name> \ - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 93
aws iam list-attached-role-policies --role-name <lambda-exec-role> - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 103
aws lambda get-function --function-name <name> --query 'Code.Location' --output text | xargs curl -o function.zip - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 111
os.system(event['command']) # OS command injection - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 112
subprocess.call(event['cmd'], shell=True) # Shell injection - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 113
os.popen(event['input']) # Command injection - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 122
child_process.exec(event.command); // OS command injection - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 123
child_process.execSync(event.cmd); // Synchronous command injection - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 125
require('child_process').exec(event.input); // Import-and-execute pattern - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 129
semgrep --config "p/owasp-top-ten" --config "p/command-injection" \ - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 134
bandit -r function_code/ -f json -o bandit_results.json \ - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 137
These test IDs specifically target `exec`, `pickle`, `eval`, `subprocess` with `shell=True`, and other injection-relevant patterns. - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 161
os.system(f"aws s3 cp s3://{bucket}/{key} /tmp/file") - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 181
subprocess.run(f"echo {user_agent} >> /tmp/access.log", shell=True) - .claude/skills/detecting-serverless-function-injection/SKILL.md, line 198
| filter @message like /(?i)(eval|exec|os\.system|child_process|subprocess|import os)/
and 22 more places
Sends data to these websites: attacker.com
This is disclosed by the author in the skill's SKILL.md or README.
Found in 8 places.
Show 5 more
Downloads and installs other software
The author does not mention this.
Found in 3 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'detecting-serverless-function-injection' ] || [ -L ~/.agents/skills/'detecting-serverless-function-injection' ]; then echo 'A skill folder named detecting-serverless-function-injection already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/yanacuti1121/Yana-AI' "$d" && git -C "$d" checkout --quiet '54d4aa9fa3241319f4d37212bd23826658bf6bed' -- '.claude/skills/detecting-serverless-function-injection' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/detecting-serverless-function-injection' ~/.agents/skills/'detecting-serverless-function-injection' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'detecting-serverless-function-injection' ~/.claude/skills/'detecting-serverless-function-injection' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for yanacuti1121/Yana-AI shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/yanacuti1121/Yana-AI/)
Score history
| Date | Version | Score |
|---|
| 2026-11-13 | 54d4aa9 | 79 |
| 2026-11-08 | 4a78f20 | 95 |
Also found in
Identical copies of this skill exist at:
- yanacuti1121/Yana-AI/core/skills/detecting-serverless-function-injection