Back to skill

Security audit

Hotel Search API

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this hotel-search skill benign because the flagged network and environment access is assessed as purpose-aligned, though confidence is medium and the scan is partial.

The verdict is benign, not risk-free. Before installing, consider that the skill contacts an external hotel API and uses environment variables, and that the scan was partial because some local references could not be resolved. The scanners did not establish whether the host runtime restricts those capabilities.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (10)

Tainted flow: 'req' from os.environ.get (line 55, credential/environment) → urllib.request.build_opener.open (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/ktemia.py (reported line 59)May include surrounding context.

python
if data is not None:
        req.add_header("Content-Type", "application/json")
    try:
        with OPENER.open(req, timeout=120) as res:
            return json.load(res)
    except urllib.error.HTTPError as err:
        try:

Code capability 'env' detected in scripts/ktemia.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Code capability 'network' detected in scripts/ktemia.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

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

Without Python

bash
curl "https://api.ktemia.com/hotels/locations?query=London" -H "X-API-Key: $KTEMIA_API_KEY"

curl https://api.ktemia.com/hotels/search \
  -H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json" \

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

Without Python

bash
curl "https://api.ktemia.com/hotels/locations?query=London" -H "X-API-Key: $KTEMIA_API_KEY"

curl https://api.ktemia.com/hotels/search \
  -H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json" \

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

bash
curl "https://api.ktemia.com/hotels/locations?query=London" -H "X-API-Key: $KTEMIA_API_KEY"

curl https://api.ktemia.com/hotels/search \
  -H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json" \
  -d '{"location": "29230", "checkin": "2027-03-10", "checkout": "2027-03-12"}'

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

md
-H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json" \
  -d '{"location": "29230", "checkin": "2027-03-10", "checkout": "2027-03-12"}'

curl https://api.ktemia.com/hotels/search \
  -H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json" \
  -d '{"location": "29230", "checkin": "2027-03-10", "checkout": "2027-03-12", "providers": ["Booking.com"]}'

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

-H "X-API-Key: $KTEMIA_API_KEY" -H "Content-Type: application/json"
-d '{"location": "29230", "checkin": "2027-03-10", "checkout": "2027-03-12", "providers": ["Booking.com"]}'

curl "https://api.ktemia.com/hotels/results?token=%2A%2A%2A" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/details?token=%2A%2A%2A&resultId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/reviews?hotelId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY"

text

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

-d '{"location": "29230", "checkin": "2027-03-10", "checkout": "2027-03-12", "providers": ["Booking.com"]}'

curl "https://api.ktemia.com/hotels/results?token=%2A%2A%2A" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/details?token=%2A%2A%2A&resultId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/reviews?hotelId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY"

text

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

curl "https://api.ktemia.com/hotels/results?token=%2A%2A%2A" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/details?token=%2A%2A%2A&resultId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY" curl "https://api.ktemia.com/hotels/reviews?hotelId=%24ID" -H "X-API-Key: $KTEMIA_API_KEY"

text

## Security