Back to skill

Security audit

python-testing

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this Python testing skill benign with medium confidence: the reported issues are limited, purpose-related concerns, while the scanners report no AIG findings; some evidence remains incomplete.

Consider whether your project permits sending coverage data to Codecov before using the recommended CI workflow. The scan covered all seven listed components, but completeness is marked partial because two local references could not be resolved, so the evidence does not establish that every referenced item was assessed.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Unbounded Resource Access

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.

Content

Scanner excerpt · modules/async-testing.md (reported line 102)May include surrounding context.

@pytest.mark.asyncio async def test_operation_timeout(): with pytest.raises(asyncio.TimeoutError): await asyncio.wait_for(slow_operation(), timeout=0.1)

text

## Testing Exception Handling

The recommended CI workflow uploads coverage data to Codecov without warning that project data leaves the CI environment.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The workflow includes an active Codecov upload step, not merely a listing of an available tool. Although labeled 'Upload coverage,' it does not disclose that coverage reports, which can contain internal source-file paths and coverage details, are transmitted to a third-party service.

Content

No source excerpt is available for this finding.