malware-analyst

malware-analyst is an agent for Claude Code from mukul975/Threatswarm. It costs 99 tokens per session (3,614 once invoked), scanned A, original, MIT.

A specialist agent for analyzing suspected malware in Windows, Linux, and Android files. It covers code inspection, controlled behavior analysis, indicators of compromise, detection rules, and attacker-technique mapping.

In plain words
What is it for?
Use it to triage malware samples, inspect PE, ELF, or APK files, extract indicators, write YARA rules, study command-and-control behavior, or interpret sandbox results.
Why use it?
It gives investigators a structured way to understand what a suspicious file does and what traces it leaves. It also emphasizes authorization, isolation, and safe handling before analysis.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/mukul975/threatswarm/malware-analyst
Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for malware-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/mukul975/threatswarm/malware-analyst.svg)](https://agentmods.dev/agents/mukul975/threatswarm/malware-analyst)
Your own site
<a href="https://agentmods.dev/agents/mukul975/threatswarm/malware-analyst"><img src="https://agentmods.dev/badge/agents/mukul975/threatswarm/malware-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00099 $0.03614
Opus 5 $0.00049 $0.01807
Sonnet 5 $0.00020 $0.00723
Haiku 4.5 $0.00010 $0.00361

Measured 5d ago against content hash 78dca32e6873, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

malware-analyst scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://www.virustotal.com/api/v3/files/$SHA256" \
.claude/agents/malware-analyst.md · 299 lines

How it starts

The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cybersecurity Skills (Invoke First)

Before starting malware analysis, invoke these skills via the Skill tool:

  • cybersecurity-skills:analyzing-linux-elf-malware
  • cybersecurity-skills:analyzing-macro-malware-in-office-documents
  • cybersecurity-skills:performing-malware-triage-with-yara
  • cybersecurity-skills:performing-malware-hash-enrichment-with-virustotal
  • cybersecurity-skills:extracting-iocs-from-malware-samples
  • cybersecurity-skills:performing-static-malware-analysis-with-pe-studio
  • cybersecurity-skills:deobfuscating-powershell-obfuscated-malware

Scope Enforcement

Verify malware sample is from authorized incident or research context listed in scope.txt. NEVER execute malware samples outside an isolated, non-networked analysis environment. All samples must be handled with OPSEC controls: isolated VM, no host-shared folders for network.

Sample Triage

mkdir -p evidence/$(date +%Y%m%d)/$TARGET/malware/{static,dynamic,iocs,yara,reports}

# CRITICAL: Work with samples in isolated environment only
# Compute hashes FIRST for VT lookups and provenance tracking
sha256sum $SAMPLE | tee evidence/$(date +%Y%m%d)/$TARGET/malware/static/hashes.txt
md5sum $SAMPLE >> evidence/$(date +%Y%m%d)/$TARGET/malware/static/hashes.txt
sha1sum $SAMPLE >> evidence/$(date +%Y%m%d)/$TARGET/malware/static/hashes.txt

export SHA256=$(sha256sum $SAMPLE | awk '{print $1}')
export MD5=$(md5sum $SAMPLE | awk '{print $1}')

# File type identification
file $SAMPLE 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/malware/static/file_type.txt
exiftool $SAMPLE 2>/dev/null | tee evidence/$(date +%Y%m%d)/$TARGET/malware/static/exiftool.txt

# VirusTotal lookup (hash — no upload, preserves OPSEC)
curl -s "https://www.virustotal.com/api/v3/files/$SHA256" \
  -H "x-apikey: $VT_KEY" 2>&1 | \
  python3 -c "
import sys, json
data = json.load(sys.stdin)
attrs = data.get('data', {}).get('attributes', {})
stats = attrs.get('last_analysis_stats', {})
print(f\"Detections: {stats.get('malicious',0)}/{sum(stats.values())}\")
print(f\"Family: {list(attrs.get('popular_threat_classification',{}).get('suggested_threat_label','Unknown').split('/'))}\")
names = attrs.get('names', [])
print(f\"Common names: {', '.join(names[:5])}\")
print(f\"First seen: {attrs.get('first_submission_date','Unknown')}\")
" 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/malware/static/vt_result.txt

Read the full file on GitHub · 299 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 299 lines · 0 tokens per session scan A 78dca32e6873

Subscribe to this mod's changes

malware-analyst is an agent published in the GitHub repository mukul975/Threatswarm (77 stars, last pushed 4mo ago), licensed MIT. It adds 99 tokens to every session and 3,614 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

token-auditor

Fast meme coin and token security auditor. Checks 8 token-specific bug classes (hidden mint, honeypot, fee manipulation, LP lock bypass, bonding curve exploits, authority retention, fake renounce, sandwich/MEV amplification). Runs tokenscanner.py for automated red flag detection. Covers EVM (Solidity) and Solana…

Awarexone/Agentic-Bug-Hunter · 97 tokens

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Awarexone/Agentic-Bug-Hunter · 101 tokens

validator

Finding validator. Runs the 7-Question Gate and 4-gate checklist on a described finding. Kills weak/theoretical findings fast before report writing. Prevents N/A submissions. Use before writing any report — describe the finding and this agent decides PASS, KILL, or DOWNGRADE with explanation.

Awarexone/Agentic-Bug-Hunter · 64 tokens

recon-ranker

Attack surface ranking agent. Takes recon output and hunt memory, produces a prioritized attack plan. Ranks by IDOR likelihood, API surface, tech stack match with past successes, feature age, and nuclei findings. Use after recon to decide what to test first.

Awarexone/Agentic-Bug-Hunter · 57 tokens

osint-collector

Delegates to this agent when the user asks about OSINT, reconnaissance, information gathering, target profiling, email harvesting, subdomain enumeration, social media recon, breach data, open source intelligence, or building a target dossier for authorized engagements.

0xSteph/pentest-ai-agents · 53 tokens

threat-modeler

Delegates to this agent when the user asks about threat modeling, attack surface analysis, STRIDE, DREAD, attack trees, data flow diagrams, trust boundaries, or security architecture review.

0xSteph/pentest-ai-agents · 42 tokens