gaelic-ghost/socket/analyze-suspicious-script-or-document
Claude Code and agent skill by gaelic-ghost/socket
- community
Checking that the SKILL.md file is still in the repository.
Decode and analyze suspicious scripts and active documents without triggering them. Use for shell, AppleScript, JavaScript, Python, PowerShell, shortcuts, Office files, PDFs, profiles, macros, embedded objects, and staged payloads.
Install
npx vskill@latest install gaelic-ghost/socket/analyze-suspicious-script-or-documentSKILL.md
Analyze Suspicious Script Or Document
Overview
Recover the execution chain as data. Use parsers and text extraction in isolation, avoid native handlers, and make each decoding transformation reproducible.
Read references/script-document-analysis.md for language and document-specific checks.
Workflow
- Preserve the original and identify the real container/type.
- Extract without activation.
- List document members and relationships; extract text, metadata, macros, JavaScript, forms, links, embedded files, and external references with non-executing tooling.
- Render URLs and commands as inert text.
- Normalize one layer at a time.
- Decode base64/hex/URL escapes, string concatenation, compression, character arithmetic, environment substitution, and generated commands.
- Record input, operation, tool, and output hash for every layer.
- Reconstruct control and data flow.
- Identify entry conditions, interpreter, downloaded content, execution methods, persistence, credential/file access, network destinations, cleanup, and environment gates.
- Separate capability from execution.
- State which branches are present, which inputs activate them, and which behaviors remain inferred.
- Route payloads.
- Send recovered binaries to static/reverse analysis and use dynamic analysis only inside chosen isolation.
Guardrails
- Do not paste decoded commands into an executing shell.
- Do not enable macros, install profiles, follow links, or import shortcuts during static analysis.
- Do not use a cloud document parser for private content without approval.
Output
Return container identity, recovered layers, execution chain, indicators, activation conditions, likely impact, uncertainty, and safe next step.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/analyze-suspicious-script-or-document/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gaelic-ghost/socket/analyze-suspicious-script-or-document)