Back to skill

Security audit

Jrv Http Client

Security checks for vulnerabilities and agentic risk

Overview

This is a mostly coherent command-line HTTP client, but its credential-handling and redirect behavior create review-worthy risk before installation.

Review before installing or using with real credentials. Avoid --verbose with secrets, avoid --no-verify except in controlled local testing, do not pass production tokens directly on the command line, and treat redirects/output files carefully because authenticated requests or saved responses may expose sensitive data.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/http_client.py:86
Finding

Authentication Headers May Be Disclosed Through Unintended Cross-Origin Redirects

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/http_client.py:228
Finding

Verbose Output Can Expose Authentication Tokens and API Keys

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
SKILL.md:25
Finding

Documentation Encourages Supplying Secrets Through Process Arguments

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • 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
Findings (17)

Tp4

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

The code substantially matches the declared HTTP client purpose: it makes HTTP requests from the command line, supports Bearer and Basic auth plus API-key headers, custom headers, JSON and form bodies, response formatting, timing, and agent-friendly output. However, the description explicitly claims 'history logging,' and there is no implementation of request/response history storage or logging beyond immediate console output. This is a description-behavior mismatch due to an overclaimed feature, though the primary purpose is otherwise accurate.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill enables network access and file writing but does not declare any tool scope or permissions boundary in the skill manifest. In an agent environment, this increases the chance that the skill is invoked with broader-than-expected capabilities, allowing unreviewed outbound requests and response persistence.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation encourages sending authenticated requests and optionally writing responses to files, but it does not warn that credentials, secrets, request bodies, and returned data may be sensitive. In agent-driven use, this omission can lead users to transmit or persist tokens, passwords, or confidential API responses without adequate caution.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Documenting a --no-verify option without a strong warning normalizes disabling TLS certificate validation, which exposes requests to man-in-the-middle interception and credential theft. This is especially risky because the same tool supports Bearer tokens, Basic auth, and API keys, all of which may be sent over compromised connections.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · scripts/http_client.py (reported line 74)May include surrounding context.

python
return text


def build_request(method, url, headers=None, body=None, no_verify=False):
    """Build a urllib Request object."""
    req = urllib.request.Request(url, method=method.upper())
    if headers:

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
93% confidence
Finding

When --no-verify is used, the client disables certificate validation and hostname checking, allowing man-in-the-middle interception or tampering of HTTPS traffic. This is especially dangerous because the tool handles credentials and API tokens, so an attacker on the network path could capture secrets or alter responses.

Content

Scanner excerpt · scripts/http_client.py (reported line 87)May include surrounding context.

python
return req


def do_request(req, timeout=30, follow_redirects=False, no_verify=False):
    """Execute the HTTP request and return (response_code, headers, body, elapsed_ms)."""
    ctx = None
    if no_verify:

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 23)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 26)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 29)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 32)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 35)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 38)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 44)May include surrounding context.

md
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/http_client.py (reported line 132)May include surrounding context.

python
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/http_client.py (reported line 133)May include surrounding context.

python
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/http_client.py (reported line 134)May include surrounding context.

python
Examples:
  python3 http_client.py GET https://httpbin.org/get
  python3 http_client.py POST https://httpbin.org/post --json '{"key": "value"}'
  python3 http_client.py GET https://api.example.com/me --bearer mytoken123
  python3 http_client.py GET https://api.example.com/ --auth user:pass
  python3 http_client.py POST https://api.example.com/ --form "name=test&val=1"
  python3 http_client.py GET https://httpbin.org/get --output-json

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The script writes HTTP response data to a user-specified file via --output, which can overwrite local files, but there is no pre-write confirmation or explicit warning comment/docstring about that file write behavior. Although file output is a normal feature of an HTTP client, this code path lacks any disclosure before performing the write.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.