Log inGet a Demo

agentspan

Critical · Risk 100

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

Medium

targets Perception

1 finding
#1Potential for indirect prompt injectionmediumindirect prompt injection70% confidenceline 209

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

Critical

targets Reasoning

1 finding
#1Description Mismatchcritical85% confidence

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

Medium

targets Memory & Learning

2 findings
#1Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinningmedium100% confidenceline 13

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
#2Unpinned dependency installation — package installed without version pinningmedium100% confidenceline 67

Unpinned dependency installation — package installed without version pinning (seen 2 times in this file at lines 67, 107)

pip install agentspan

Behavioural Control

Critical

targets Action

10 findings
#1Remote code download and execution detectedcritical100% confidenceline 27

Remote code download and execution detected

curl -sSL https://raw.githubusercontent.com/agentspan-ai/agentspan-skills/main/install.sh | bash
#2A 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.criticalvuln95% confidenceline 1

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
#3Skill self-update via unauthenticated remote scripthighcommand execution90% confidence

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`
#4Undeclared shell executionhigh90% confidence

Code contains shell execution patterns but Bash is not listed in allowed-tools.

#5Over-privileged tool accesshighdescription mismatch80% confidenceline 4

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
#6local_code_execution enables arbitrary code in agent contexthighcommand execution75% confidenceline 608

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"])
#7Unrestricted local code executionhighcommand execution90% confidenceline 609

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
#8Third-party credential custody via agentspan servermediumcredential theft80% confidence

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`
#9Network access detectedmedium80% confidence

Code contains network access patterns (HTTP requests, socket connections).

#10Credential exfiltration risk via server URLmediumcredential theft80% confidenceline 88

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

Medium

targets Multi-Agent Dynamics

4 findings
#1Sub-agent spawning with attacker-influenced promptsmediumsub agent spawning65% confidenceline 350

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
#2Shared external domain across skillsmediumcross skill correlation70% confidence

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
#3Shared external domain across skillsmediumcross skill correlation70% confidence

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
#4Cross-skill credential-to-egress co-occurrencemediumcross skill correlation70% confidence

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

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.