← All skills
detecting-serverless-function-injection
79 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a security skill usually runs scanners and checks websites.
By mukul975/Anthropic-Cybersecurity-Skills (GitHub) · security · 35,906 stars · scanned at commit 54a7988
'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 security skill.
Found in 42 places.
Show 17 more
- skills/detecting-serverless-function-injection/SKILL.md, line 76
aws apigateway get-rest-apis --query 'items[*].[id,name]' --output table - skills/detecting-serverless-function-injection/SKILL.md, line 81
aws s3api get-bucket-notification-configuration --bucket <bucket-name> - skills/detecting-serverless-function-injection/SKILL.md, line 85
aws lambda get-function-configuration --function-name <name> \ - skills/detecting-serverless-function-injection/SKILL.md, line 90
aws iam list-attached-role-policies --role-name <lambda-exec-role> - skills/detecting-serverless-function-injection/SKILL.md, line 100
aws lambda get-function --function-name <name> --query 'Code.Location' --output text | xargs curl -o function.zip - skills/detecting-serverless-function-injection/SKILL.md, line 108
os.system(event['command']) # OS command injection - skills/detecting-serverless-function-injection/SKILL.md, line 109
subprocess.call(event['cmd'], shell=True) # Shell injection - skills/detecting-serverless-function-injection/SKILL.md, line 110
os.popen(event['input']) # Command injection - skills/detecting-serverless-function-injection/SKILL.md, line 119
child_process.exec(event.command); // OS command injection - skills/detecting-serverless-function-injection/SKILL.md, line 120
child_process.execSync(event.cmd); // Synchronous command injection - skills/detecting-serverless-function-injection/SKILL.md, line 122
require('child_process').exec(event.input); // Import-and-execute pattern - skills/detecting-serverless-function-injection/SKILL.md, line 126
semgrep --config "p/owasp-top-ten" --config "p/command-injection" \ - skills/detecting-serverless-function-injection/SKILL.md, line 131
bandit -r function_code/ -f json -o bandit_results.json \ - skills/detecting-serverless-function-injection/SKILL.md, line 134
These test IDs specifically target `exec`, `pickle`, `eval`, `subprocess` with `shell=True`, and other injection-relevant patterns. - skills/detecting-serverless-function-injection/SKILL.md, line 158
os.system(f"aws s3 cp s3://{bucket}/{key} /tmp/file") - skills/detecting-serverless-function-injection/SKILL.md, line 178
subprocess.run(f"echo {user_agent} >> /tmp/access.log", shell=True) - skills/detecting-serverless-function-injection/SKILL.md, line 195
| 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. Expected for a security skill.
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 (security) 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/mukul975/Anthropic-Cybersecurity-Skills' "$d" && git -C "$d" checkout --quiet '54a798831d2266a3ca61ce68a7acb80b81160d57' -- 'skills/detecting-serverless-function-injection' && mkdir -p ~/.agents/skills && cp -R "$d"/'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 mukul975/Anthropic-Cybersecurity-Skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/mukul975/Anthropic-Cybersecurity-Skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | 54a7988 | 79 |
| 2026-11-07 | 54a7988 | 69 |