Back to skill

Security audit

Performance Testing Toolkit

Security checks for vulnerabilities and agentic risk

Overview

This is a real performance testing toolkit, but it can generate high-volume traffic to arbitrary targets without meaningful guardrails or authorization warnings.

Install only if you understand this can send sustained traffic to any URL the agent is asked to test. Use it only against systems you own or are explicitly authorized to assess, start with low concurrency, avoid POST/PUT/DELETE against production data, and consider tightening dependencies before installation.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T08 · Insecure Dependencies

Warning
Location
requirements.txt:1
Finding

Unnecessary Standard-Library Packages and Unbounded Dependency Versions

Content
View full analysis
=2.31.0 aiohttp>=3.9.0 asyncio dataclasses pyyaml>=6.0.1 jinja2>=3.1.2 psutil>=5.9.6 pytest>=7.4.0 pytest-asyncio>=0.21.0 statistics matplotlib>=3.8.0 numpy>=1.24.0 ``` ### Technical Analysis The manifest instructs pip to install `asyncio`, `dataclasses`, and `statistics`, although these names correspond to Python standard-library modules on supported Python versions. Installing similarly named distributions from PyPI is unnecessary and increases exposure to dependency confusion, package-name abuse, module shadowing, and installation-time package code. All third-party dependencies also use open-ended lower bounds such as `requests>=2.31.0`. Consequently, two installations performed at different times can resolve to different package versions. A future compromised or incompatible release satisfying the lower bound could be installed without any change to this repository. No direct evidence establishes that the currently resolved packages are malicious. The vulnerability is the avoidable and insufficiently controlled supply-chain exposure created by the dependency manifest. ### Attack Path 1. A user follows the documented installation command, `pip install -r requirements.txt`. 2. Pip queries the configured package index for every listed distribution, including the unnecessary standard-library names. 3. Pip selects any available release satisfying each lower-bound constraint. 4. If an unnecessary package or a future dependency release is compromised, malicious installation hooks or imported code can execute in the Python environment. 5. Such code runs with the privileges of the user performing the installation or executing the toolkit. ### Impact Assessment Successful exploitation could execute arbitr ...[truncated 480 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/load_tester.py:20
Finding

Unrestricted Network Targets and Load Parameters in the Asynchronous Load Tester

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/perf_testing_toolkit.py:119
Finding

Unrestricted Network Targets and Thread Creation in the Core Load and Stress Testers

Content
View full analysis
tuple: """Execute a single request""" start = time.time() try: if self.method == "GET": response = session.get( self.url, headers=self.headers, timeout=self.timeout ) elif self.method == "POST": response = session.post( self.url, headers=self.headers, data=self.body, timeout=self.timeout ) elif self.method == "PUT": response = session.put( self.url, headers=self.headers, data=self.body, timeout=self.timeout ) elif self.method == "DELETE": response = session.delete( self.url, headers=self.headers, timeout=self.timeout ) else: response = session.request( self.method, self.url, headers=self.headers, data=self.body, timeout=self.timeout ) ``` The concurrency value directly controls session and thread creation: ```python sessions = [ requests.Session() for _ in range(self.con ...[truncated 3379 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (49)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The description presents a broader enterprise-grade performance testing toolkit, including HTTP load testing, load/stress/benchmark testing, and report generation. However, this code chunk only contains a basic stress test script with simulated metrics. Although aiohttp is imported, it is never used, and no real network traffic or benchmarking logic is implemented. The output is limited to a simple summary object printed as JSON, which falls short of enterprise-grade report generation. Therefore, the actual behavior materially underdelivers relative to the declared purpose.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README promotes high-concurrency load and stress testing but does not warn that such activity can degrade availability or should only be run against systems the operator owns or is explicitly authorized to test. In a performance-testing skill, omission of authorization and disruption warnings materially increases the risk of misuse for denial-of-service style activity.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The CLI examples include aggressive load and stress commands, including scaling to very high concurrency, without any guardrails or warning about operational disruption. Concrete runnable commands lower the barrier to misuse and can enable intentional or accidental service degradation when aimed at real targets.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill advertises capabilities consistent with network access and report generation, but its manifest declares no explicit tool scope such as allowed-tools or permissions. In an agent environment, missing scope declarations can lead to overbroad execution assumptions, weak policy enforcement, or unexpected access to file and network operations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

A performance-testing skill that omits an authorization and availability-impact warning materially increases misuse risk, because users may run stress or load tests against production or third-party systems without understanding the denial-of-service potential. In this context, the omission is more dangerous because the stated purpose is to generate high concurrency and escalating load against network targets.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 44)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 64)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 70)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 77)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 91)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 97)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 143)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 163)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 169)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 176)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 190)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · README.md (reported line 196)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 30)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 33)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 45)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 50)May include surrounding context.

bash
# 基础负载测试 | Basic load test
python scripts/perf_tester.py load --url https://api.example.com/users --concurrent 100 --duration 60

# 压力测试 | Stress test
python scripts/perf_tester.py stress --url https://api.example.com/search --start 10 --max 1000 --step 50

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This example performs real network-based load and stress testing against external endpoints (httpbin.org) without any warning, consent prompt, or clear indication that running the sample will transmit repeated requests to a third-party service. In a performance-testing toolkit, this can lead users to unintentionally generate traffic to remote systems, which may violate acceptable-use policies or be repurposed against non-owned targets if the URL is changed.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The toolkit can issue high-volume GET/POST/PUT/DELETE requests to arbitrary URLs with caller-supplied bodies and headers, but it provides no guardrails or explicit warning that it may exercise state-changing or destructive endpoints. In a performance-testing context this is expected functionality, but without confirmation prompts, method restrictions, or target validation, it can be misused to stress or modify production systems and internal services.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill metadata and file behavior materially diverge: it advertises HTTP load/stress testing capability, but the implementation does not exercise HTTP endpoints at all. In a performance-testing toolkit context, this mismatch is especially risky because users are likely to trust the output for operational decisions, creating a deceptive security and reliability gap.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The script claims to perform stress testing but never sends requests to the target URL; it fabricates success rates, response times, and throughput. This is dangerous because operators may rely on false benchmark data to make capacity or production-readiness decisions, which can lead to outages or under-tested deployments.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.