Back to skill

Security audit

Auth0 Cli

Security checks for vulnerabilities and agentic risk

Overview

The skill is a legitimate Auth0 CLI reference, but it normalizes exposing secrets and making high-impact tenant changes without enough guardrails.

Install only if you are comfortable letting the agent assist with Auth0 tenant administration. Before using it, require explicit approval for deletes, raw API POST/PATCH/DELETE calls, Action deployment, log streaming, and any command that reveals or accepts secrets; avoid pasting real secrets into chat or command lines unless your environment masks and protects them.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:31
Finding

Auth0 Client Secrets Exposed Through Command-Line Arguments

Content
View full analysis
.auth0.com --client-id --client-secret # CI/CD ``` Related patterns also occur in `references/cli.md:42-48`, while `tests/evals.json:187-192` explicitly expects a supplied client secret to be inserted into the generated command. ### Technical Analysis The documented machine-login workflow passes the Auth0 client secret directly as a command-line argument. Depending on the execution environment, this can expose the secret through: - Shell history files. - CI/CD command logs. - Agent conversation transcripts and tool-call records. - Process inspection interfaces available to other local users or monitoring agents. - Terminal scrollback, debugging output, or copied command examples. The same general pattern is used for initial user passwords in `SKILL.md:112-113` and private-key content in `references/cli.md:46-48`. Although these are legitimate Auth0 CLI options, presenting direct command-line insertion as the default pattern lacks safeguards against credential persistence and disclosure. ### Attack Path 1. A user supplies an Auth0 client secret to the agent or substitutes it for the documented placeholder. 2. The agent generates or executes an `auth0 login` command containing the plaintext secret. 3. The command is retained in shell history, a CI log, process telemetry, or an agent transcript. 4. An attacker with access to the affected history, log, telemetry system, or transcript extracts the secret. 5. The attacker authenticates as the associated machine-to-machine application. 6. The attacker exercises the Auth0 Management API permissions granted to ...[truncated 586 chars]
Remediation
View remediation
`. - Warn users that command-line arguments may be recorded in shell history, process telemetry, and logs. - Where supported, prefer a protected credential file or private-key path over inline secret or key content. - Recommend restrictive file permissions for credential files and temporary disabling of shell history when no safer input mechanism exists. - Add explicit cleanup and secret-rotation guidance if a credential has already appeared in a transcript or log. - Update evaluation cases so they verify placeholders or secure secret injection rather than requiring literal secret values in commands. ]]>

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:71
Finding

Routine Use of Secret-Revealing JSON Output Can Leak Auth0 Credentials

Content
View full analysis
--reveal-secrets --json auth0 apps update --callbacks "http://localhost:3000,https://myapp.com" --json ``` The quick-decision guide also recommends the abbreviated equivalent at `SKILL.md:48`: ```bash auth0 apps show -r --json ``` Additional secret-revealing examples appear in `references/cli.md:94` and `references/cli.md:109`. ### Technical Analysis The Skill presents `--reveal-secrets` as a routine way to inspect an application and combines it with machine-readable JSON output. Auth0 documents this flag as exposing client secrets and signing keys. Machine-readable output is particularly likely to be: - Captured by agent tool results and conversation transcripts. - Written to CI/CD logs or terminal recordings. - Redirected into files without restrictive permissions. - Passed into pipelines or downstream tools. - Retained by centralized observability and logging systems. The Skill does not require confirmation, recommend redaction, or warn against logging and piping secret-bearing output. This increases the probability that long-lived Auth0 credentials will be disclosed outside their intended trust boundary. ### Attack Path 1. A user asks the agent to retrieve an application credential or inspect an Auth0 application. 2. Following the Skill, the agent runs `auth0 apps show --reveal-secrets --json`. 3. The command returns the application client secret or signing-key material. 4. The output is captured in an agent transcript, build log, terminal log, redirected file, or downstream pipeline. 5. An ...[truncated 797 chars]
Remediation
View remediation
--json` as the default and document secret retrieval as an exceptional operation. - Require explicit user confirmation immediately before revealing credentials. - Warn users not to run secret-revealing commands in recorded terminals, shared sessions, CI jobs, or agent contexts that retain tool output. - Avoid piping secret-bearing output to `jq` or other tools unless the output is immediately filtered and securely handled. - Redact secret values from all assistant responses, tool results, logs, and transcripts. - If output must be stored, require encrypted storage, restrictive permissions, a short retention period, and secure deletion. - Recommend immediate rotation of any client secret or key that has appeared in an untrusted transcript or log. ]]>
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (50)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 27)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 39)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 87)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 103)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 121)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 134)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 148)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 164)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 175)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 184)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 193)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 201)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 210)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 220)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 232)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 244)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 264)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 272)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 273)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 274)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 275)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 276)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 277)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 278)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 279)May include surrounding context.

md
uth0`. For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md).

Static analysis

No suspicious patterns detected.