Back to skill

Security audit

QRdex

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward QRdex.io API helper; it uses an API key, sends QR data to QRdex, and can update or soft-delete QR codes when the user invokes those actions.

Install only if you trust QRdex.io with the QR data you provide and the QRDEX_API_KEY available to the agent. Confirm before asking an agent to delete QR codes, and set track_scans deliberately when scan analytics are not desired.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (9)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/API_REFERENCE.md (reported line 84)May include surrounding context.

md
Same body params as Create, all optional. Only provided fields are updated.

### DELETE /qr_codes/:id — Soft Delete

Returns `{"data": {"id": 123, "deleted": true}}`.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill documents use of environment variables and outbound network access but does not declare any explicit tool scope or permissions boundary. That omission can cause an agent runtime to invoke capabilities broader than the user expects, increasing the chance of unintended API calls or secret access.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill description advertises destructive deletion and scan-tracking features without warning that these actions can remove resources or process tracking data. In an agent setting, lack of up-front disclosure raises the risk of accidental data-impacting operations and privacy-sensitive behavior being triggered without meaningful user confirmation.

Content

No source excerpt is available for this finding.

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 30)May include surrounding context.

Create a QR Code

bash
curl -X POST https://qrdex.io/api/v1/qr_codes \
  -H "Authorization: Bearer $QRDEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{

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 63)May include surrounding context.

List QR Codes

bash
curl https://qrdex.io/api/v1/qr_codes \
  -H "Authorization: Bearer $QRDEX_API_KEY"

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documentation states that track_scans defaults to true but does not prominently warn users that QR code creation will enable scan tracking unless they explicitly opt out. In a skill that creates and manages QR codes, this can lead to unintentional collection of scan analytics and associated privacy/compliance issues, especially if users assume non-tracking behavior by default.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The delete command performs an irreversible remote deletion immediately, with no confirmation, dry-run mode, or warning. In a skill that manages QR resources over an authenticated API, this increases the chance of accidental or induced destructive actions that remove user assets and tracking data.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/qrdex_api.py (reported line 26)May include surrounding context.

python
def api(method, path, **kwargs):
    r = getattr(requests, method)(f"{BASE}{path}", headers=headers(), **kwargs)
    if r.status_code == 204:
        return {}
    if r.headers.get("content-type", "").startswith("image/"):

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The image command writes server-supplied content to a local file path without any pre-action disclosure or confirmation, and the output path can overwrite an existing file if the operator supplies one. In an agent or automation context, silent filesystem writes are security-relevant because they can cause unintended local state changes or clobber user files.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.