Back to skill

Security audit

Langfuse

Security checks for vulnerabilities and agentic risk

Overview

This Langfuse skill is a documentation-only integration helper whose network, credential, tracing, and mutation guidance is disclosed and aligned with managing a Langfuse project.

Installers should understand that this skill helps an agent send prompts, traces, scores, and related project data to Langfuse or a self-hosted Langfuse endpoint. Use scoped project keys, prefer environment variables over pasted secrets, avoid direct personal identifiers in trace metadata when possible, and review generated mutations such as prompt creation or score writes before running them against production projects.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

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 · references/prompt-migration.md (reported line 121)May include surrounding context.

API example

bash
curl -X POST "https://cloud.langfuse.com/api/public/v2/prompts" \
  -u "your-public-key:your-secret-key" \
  -H "Content-Type: application/json" \
  -d '{

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The guidance explicitly recommends attaching user ID and session ID to tracing metadata but does not include any minimization, consent, retention, or sensitivity warning. In an observability/tracing skill, this can normalize logging identifiers into a third-party telemetry system and increase privacy, compliance, and correlation risk if implementers send direct identifiers or mix in additional personal data.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The example shows Basic Auth with curl -u public-key:secret-key ..., which encourages placing credentials directly on the command line. Command-line secrets may be exposed via shell history, process listings, logs, screenshots, or copied documentation, making accidental credential disclosure more likely.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.