eval() call detected
High
- Category
- Dangerous Code Execution
- Content
API_URL = "http://localhost:8080" def process(data): result = eval(data["query"]) return result def get_user(x):- Confidence
- 99% confidence
- Finding
- result = eval(data["query"])
Security checks across malware telemetry and agentic risk
This appears to be a disclosed code-auditing skill, with the main caution that analyzed code may be sent to external LLM providers when API keys are configured.
Install only if you are comfortable with analyzed files being sent to configured LLM providers. Avoid running it on repositories containing secrets, proprietary code, or regulated data unless your organization permits that provider use, and scope each run to the specific files or diff you want reviewed.
API_URL = "http://localhost:8080"
def process(data):
result = eval(data["query"])
return result
def get_user(x):# Method 1: Anthropic API
if [ -z "$result" ] && [ -n "${ANTHROPIC_API_KEY:-}" ]; then
result=$(curl -sf --max-time 60 \
-H "x-api-key: ${ANTHROPIC_API_KEY}" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \# Method 2: OpenAI API
if [ -z "$result" ] && [ -n "${OPENAI_API_KEY:-}" ]; then
result=$(curl -sf --max-time 60 \
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
-H "content-type: application/json" \
-d "{\"model\":\"gpt-4o\",\"messages\":[{\"role\":\"user\",\"content\":${escaped_prompt}}],\"max_tokens\":4096}" \-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d "{\"model\":\"claude-sonnet-4-20250514\",\"max_tokens\":4096,\"messages\":[{\"role\":\"user\",\"content\":${escaped_prompt}}]}" \
https://api.anthropic.com/v1/messages 2>/dev/null | python3 -c "
import json, sys
resp = json.load(sys.stdin)
print(resp['content'][0]['text'])-H "Authorization: Bearer ${OPENAI_API_KEY}" \
-H "content-type: application/json" \
-d "{\"model\":\"gpt-4o\",\"messages\":[{\"role\":\"user\",\"content\":${escaped_prompt}}],\"max_tokens\":4096}" \
https://api.openai.com/v1/chat/completions 2>/dev/null | python3 -c "
import json, sys
resp = json.load(sys.stdin)
print(resp['choices'][0]['message']['content'])63/63 vendors flagged this skill as clean.