The skill facilitates arbitrary code execution through unverified remote script downloads, lacks sandboxing for local Python execution, and exposes credentials to potential attacker-controlled endpoints via insecure configuration patterns.
Findings (19)
Content Injection
Mediumtargets Perception
The framework supports `http_tool` which fetches external content. If the agent processes this content as instructions or uses it to influence agent behavior, it is vulnerable to indirect prompt injection.
url="https://api.weather.com/v1/current?city=${city}"Semantic Manipulation
Criticaltargets Reasoning
The skill includes instructions to download and execute remote scripts directly into a shell, which bypasses security controls and allows for arbitrary code execution without integrity verification.
The 'Updating this skill' section provides a curl-to-bash command: 'curl -sSL https://raw.githubusercontent.com/agentspan-ai/agentspan-skills/main/install.sh | bash -s -- --all --upgrade'.
Cognitive State
Mediumtargets Memory & Learning
Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinning (seen 3 times in this file at lines 13, 54, 660)
npm install -g
Unpinned dependency installation — package installed without version pinning (seen 2 times in this file at lines 67, 107)
pip install agentspan
Behavioural Control
Criticaltargets Action
Remote code download and execution detected
curl -sSL https://raw.githubusercontent.com/agentspan-ai/agentspan-skills/main/install.sh | bash
A remote resource is downloaded with curl/wget and piped directly into a shell interpreter (optionally via sudo). The downloaded script runs with no integrity check (no checksum/signature), so a compromised server, MITM, or hijacked URL leads to arbitrary code execution. Download to a file, verify it (e.g. sha256sum -c against a pinned digest, or a signature), then execute it.
curl -sSL https://raw.githubusercontent.com/agentspan-ai/agentspan-skills/main/install.sh | bash
The 'Updating this skill' section instructs the agent to fetch and execute an install script from a GitHub URL with no integrity check, and the Windows variant writes the script to disk then executes it — both patterns allow a compromised or hijacked URL to deliver arbitrary code. This is a semantic escalation beyond the already-flagged curl-pipe-shell: the skill actively instructs the agent to perform this update autonomously.
`curl -sSL https://raw.githubusercontent.com/agentspan-ai/agentspan-skills/main/install.sh | bash -s -- --all --upgrade` / `irm ... -OutFile install.ps1; .\install.ps1 -All -Upgrade`
Code contains shell execution patterns but Bash is not listed in allowed-tools.
The skill declares `Bash(*)` and `Write` access, which is significantly broader than the stated purpose of managing AI agents, enabling full system compromise.
allowed-tools: Bash(agentspan *), Bash(python3 *), Bash(pip install *), Bash(npm install *), Bash(chmod *), Bash(* --version), Bash(* --help), Bash(echo *), Read, Write, Edit, Grep, Glob
The skill documents and encourages use of `local_code_execution=True` on agents, meaning LLM-generated Python code runs directly in the local process without sandboxing. An adversarial prompt or compromised model response could execute arbitrary code on the host.
Agent(name="data_scientist", model="openai/gpt-4o", instructions="Write and run Python code.", local_code_execution=True, allowed_languages=["python"])
The `local_code_execution=True` feature allows the agent to execute arbitrary Python code locally. Combined with the ability to define tools, this provides a persistent mechanism for arbitrary command execution.
local_code_execution=True
All credentials (API keys, tokens, secrets) are stored on and resolved exclusively from the AgentSpan server with no env-var fallback. Any compromise of the AgentSpan server or its operator gives full access to all stored secrets across all agents.
"Credentials are always resolved from the server. No env var fallback. Missing credentials cause FAILED_WITH_TERMINAL_ERROR." / `agentspan credentials set OPENAI_API_KEY sk-xxxxxxxxxxxx`
Code contains network access patterns (HTTP requests, socket connections).
The skill encourages users to configure a remote server URL and auth keys. If a user is tricked into setting a malicious URL, the `agentspan` CLI will transmit credentials to an attacker-controlled endpoint.
agentspan configure --url https://your-server.example.com --auth-key YOUR_KEY
Systemic
Mediumtargets Multi-Agent Dynamics
The skill instructs the agent to orchestrate multi-agent teams (swarm, router, scatter-gather) where agent prompts and handoff triggers can be driven by external tool output or LLM-generated text, creating a path for indirect prompt injection to propagate across the agent graph.
OnTextMention(text="HANDOFF_TO_QA", target="qa") — handoff triggered by model-generated text; scatter_gather with worker agents receiving external search results as prompts
28 skills in this group reference the uncommon external domain "nodejs.org" (agentspan-ai/agentspan-skills/agentspan, mit-network/Antigravity-awesome-skills/environment-setup-guide, microsoft/power-platform-skills/create-code-app, ai-analyst-lab/ai-analyst-plugin/install-marp, DIMO-Network/dimo-plugin/dimo, emirrtopaloglu/claude-code-virtuoso/bootstrap, jeremylongshore/claude-code-plugins-plus-skills/exa-advanced-troubleshooting, jeremylongshore/claude-code-plugins-plus-skills/linear-debug-bundle, jeremylongshore/claude-code-plugins-plus-skills/navan-performance-tuning, jeremylongshore/claude-code-plugins-plus-skills/exa-ci-integration, jeremylongshore/claude-code-plugins-plus-skills/instantly-performance-tuning, jeremylongshore/claude-code-plugins-plus-skills/maintainx-performance-tuning, jeremylongshore/claude-code-plugins-plus-skills/abridge-webhooks-events, jeremylongshore/claude-code-plugins-plus-skills/lokalise-upgrade-migration, asysta-act/agent-flow/setup-mcp, modbender/skill-library-mcp/moltbot-security, modbender/skill-library-mcp/storacha-upload, modbender/skill-library-mcp/assimilate-mcp, modbender/skill-library-mcp/quantumos, modbender/skill-library-mcp/gandi, modbender/skill-library-mcp/bookmark-intelligence, modbender/skill-library-mcp/agirails, modbender/skill-library-mcp/metabot-basic, modbender/skill-library-mcp/environment-setup-guide, pluginagentmarketplace/custom-plugin-nodejs/streams, pluginagentmarketplace/custom-plugin-nodejs/performance-optimization, jcottam/agent-resources/ship, Ramakrishnan24689/codeapps-toolkit/init-codeapp). Multiple co-located skills sharing one non-platform endpoint can indicate shared command-and-control or coordinated data egress.
nodejs.org
4 skills in this group reference the uncommon external domain "weather.com" (agentspan-ai/agentspan-skills/agentspan, mit-network/Antigravity-awesome-skills/expo-api-routes, modbender/skill-library-mcp/openclaw-plus, modbender/skill-library-mcp/ttt). Multiple co-located skills sharing one non-platform endpoint can indicate shared command-and-control or coordinated data egress.
weather.com
This group composes a potential data relay: skill(s) [netlify/context-and-tools/netlify-deploy, netlify/context-and-tools/netlify-functions, netlify/context-and-tools/netlify-frameworks, netlify/context-and-tools/netlify-edge-functions, netlify/context-and-tools/netlify-cli-and-deploy, CrowdStrike/foundry-skills/e2e-testing, inference-sh/skills/building-apps, inference-sh/skills/javascript-sdk, code-highway-patrol/chp/investigate, LittleBearBond/everything-claude-code/autonomous-agent-harness, LittleBearBond/everything-claude-code/security-review, LittleBearBond/everything-claude-code/database-migrations, LittleBearBond/everything-claude-code/e2e-testing, LittleBearBond/everything-claude-code/agent-payment-x402, LittleBearBond/everything-claude-code/springboot-security, LittleBearBond/everything-claude-code/deployment-patterns, LittleBearBond/everything-claude-code/ai-regression-testing, LittleBearBond/everything-claude-code/nestjs-patterns, LittleBearBond/everything-claude-code/clickhouse-io, LittleBearBond/everything-claude-code/backend-patterns, LittleBearBond/everything-claude-code/kotlin-ktor-patterns, LittleBearBond/everything-claude-code/ui-demo, antongulin/pw-kit/fixtures, infohata/mind-vault/deployment, mit-network/Antigravity-awesome-skills/azure-appconfiguration-ts, mit-network/Antigravity-awesome-skills/whatsapp-cloud-api, mit-network/Antigravity-awesome-skills/azure-storage-blob-ts, mit-network/Antigravity-awesome-skills/kaizen, mit-network/Antigravity-awesome-skills/devops-deploy, mit-network/Antigravity-awesome-skills/expo-tailwind-setup, mit-network/Antigravity-awesome-skills/aws-serverless, mit-network/Antigravity-awesome-skills/azure-search-documents-ts, mit-network/Antigravity-awesome-skills/zod-validation-expert, mit-network/Antigravity-awesome-skills/saas-multi-tenant, mit-network/Antigravity-awesome-skills/privilege-escalation-methods, mit-network/Antigravity-awesome-skills/shodan-reconnaissance, mit-network/Antigravity-awesome-skills/building-native-ui, mit-network/Antigravity-awesome-skill… [truncated]
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.