other
- Location
scripts/main.py:44- Finding
User-Supplied Image Data Is Transmitted to an Undisclosed External Service
- Content
View full analysis
Vulnerability Details
File Location:
scripts/main.py, lines 44–55
Vulnerability Type: Undisclosed Data Transmission
Risk Level: MediumVulnerable Code
python api_url = f"{BASE_URL}/api/image-convert" payload = { "image": image, "from": from_format, "to": to_format, "quality": quality } try: response = requests.post( api_url, headers=get_headers(), json=payload, timeout=60 )BASE_URLis defined on line 13 as:python BASE_URL = "https://www.jiebang.site"Technical Analysis
The image-conversion function submits the complete user-provided
imagevalue tohttps://www.jiebang.site/api/image-convert. This value may contain an image URL or the complete image encoded as Base64.Remote processing is not explicitly disclosed in
SKILL.md; its functional description may consequently lead users to believe that conversion is performed locally. There is also no code-level control for obtaining user consent, minimizing transmitted data, or communicating the external service's retention and privacy policies.This behavior does not provide the external service with local system privileges. Its security impact is limited primarily to the confidentiality and handling of the content deliberately submitted for conversion.
Attack Path
- A user asks the skill to convert an image containing private or confidential information.
- The image or its Base64 representation is passed to
image_convert. - The function includes the complete value in a JSON payload.
- The payload is transmitted to the external
www.jiebang.siteservice. - The external service and its supporting infrastructure can process, log, or retain the submitted content according to controls that are not documented in the project.
Impact Assessment
The affected scope is the confidentiality of images submitted to the conver ...[truncated 439 chars]
- Remediation
View remediation
Remediation Suggestions
- Clearly disclose in
SKILL.mdthat images and image URLs are transmitted tohttps://www.jiebang.sitefor processing. - Obtain explicit user consent before transmitting potentially sensitive content.
- Document the service operator, retention period, deletion process, geographic processing location, and applicable privacy policy.
- Prefer local conversion through a vetted image-processing library when remote processing is unnecessary.
- Minimize submitted data and remove metadata where it is not required for conversion.
- Apply contractual and technical controls that prevent server-side request logging or long-term storage of submitted images.
- Use a narrowly scoped API credential and avoid sharing one administrative credential across unrelated users or workloads.
- Clearly disclose in
