Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

elasticsearch-security-troubleshooting

skill · elastic/agent-skillsApache-2.0 licenceAudited 29 Oct 2026 · source 30fcdedc45a1

★ 602pushed todayversion 0.1.0
✕BLOCKGrade F · 51/100 · 20 findings · 30fcded
602repo stars · whole elastic/agent-skills

Is it safe? No — BLOCK, grade F (51/100). We read this skill's source at commit 30fcdedc45a1 and observed network and shell access and no hard-coded secrets. The audit raised 20 findings, 12 critical or high. What it does: Onboard an Elastic Cloud organization: configure the `elastic` CLI's Cloud context and API key, establish a default region, then invite users, assign predefined or custom Serverless project roles, and create or revoke…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “elasticsearch-security-troubleshooting (elastic/agent-skills)”. Retrieved 29 Oct 2026. https://modelsatlas.com/skills/elastic/elasticsearch-security-troubleshooting

Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 12 critical or high findings, starting with “Code injection” in plugins/security/skills/generate-security-sample-data/scripts/demo-walkthrough.js:27. Do not install it without reading them.

3 skills are called “elasticsearch-security-troubleshooting”. You are viewing elastic/agent-skills. 3 of them are BLOCK.

Trust audit

Audit 0.4.1 · source read 29 Oct 2026

Trust score51/100✕BLOCK F
0 critical12 high5 medium0 low3 info

BLOCK means the audit found something that could harm you or your machine. Grade F is shared by 114 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkDeclared15 observations
  • ShellDeclared2 observations
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeFAIL12
L2 InstructionsPrompt injection, authority framing, hidden directivesFAIL8
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (20)

HIGHCode injectioncode.eval_exec · plugins/security/skills/generate-security-sample-data/scripts/demo-walkthrough.js:27
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`${cmd} "${url}"`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · skills/security/generate-security-sample-data/scripts/demo-walkthrough.js:27
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`${cmd} "${url}"`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.tls_off · plugins/security/skills/case-management/scripts/kibana-client.js:106
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · plugins/security/skills/detection-rule-management/scripts/es-client.js:45
F-04 Network egressCWE-200 · CWE-319Layer L1
config.tls = { rejectUnauthorized: false };
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · plugins/security/skills/detection-rule-management/scripts/kibana-client.js:106
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · plugins/security/skills/generate-security-sample-data/scripts/es-client.js:45
F-04 Network egressCWE-200 · CWE-319Layer L1
config.tls = { rejectUnauthorized: false };
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · plugins/security/skills/generate-security-sample-data/scripts/kibana-client.js:106
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
Why
certificate verification is disabled
Fix
leave verification on
HIGHPrompt injectionprompt.credential_read · plugins/cloud/skills/onboarding/SKILL.md:31
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Cloud control-plane access is authenticated by an **Elastic Cloud API key** (organization scope), stored in a CLI
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · plugins/cloud/skills/onboarding/SKILL.md:59
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Translate a natural-language access request into invite, role, and API key tasks
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · plugins/cloud/skills/provisioning/SKILL.md:110
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
2. **Load endpoints and credentials.** Fetch the project with `GET cloud:/api/v1/serverless/projects/{type}/{id}` to get
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · plugins/cloud/skills/provisioning/SKILL.md:240
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- For granting user access and Cloud API keys, see **cloud-onboarding**; for Elasticsearch data-plane key lifecycle, see
Why
asks the agent to read credentials
Fix
—
HIGHPrompt injectionprompt.credential_read · plugins/elasticsearch/skills/elasticsearch-onboarding/SKILL.md:59
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Unprompted** — never open on your own connection or credential status. A cluster you cannot reach is not the
Why
asks the agent to read credentials
Fix
—
MEDIUMNetwork egressnet.beacon_words · plugins/security/skills/generate-security-sample-data/scripts/sample-data.js:1012
F-04 Network egressCWE-200 · CWE-319Layer L1
"file.name": "beacon.exe",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · plugins/security/skills/generate-security-sample-data/scripts/sample-data.js:1013
F-04 Network egressCWE-200 · CWE-319Layer L1
"file.path": "C:\\ProgramData\\beacon.exe",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · plugins/security/skills/generate-security-sample-data/scripts/sample-data.js:1026
F-04 Network egressCWE-200 · CWE-319Layer L1
"process.name": "beacon.exe",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · plugins/security/skills/generate-security-sample-data/scripts/sample-data.js:1027
F-04 Network egressCWE-200 · CWE-319Layer L1
"process.executable": "C:\\ProgramData\\beacon.exe",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · plugins/security/skills/generate-security-sample-data/scripts/sample-data.js:1028
F-04 Network egressCWE-200 · CWE-319Layer L1
"process.entity_id": eid.beacon,
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · README.md:116
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
AI coding agents operate with real credentials, real shell access, and often the full permissions of the user running them. When those agents are pointed at security workflows, the stakes are higher.
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · plugins/cloud/skills/provisioning/references/credentials-and-context.md:13
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
2. **Admin is bootstrap-only.** The `admin` user has full privileges and cannot be modified in serverless. Use its
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · skills/cloud/provisioning/references/credentials-and-context.md:13
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
2. **Admin is bootstrap-only.** The `admin` user has full privileges and cannot be modified in serverless. Use its
Why
No further detail recorded for this rule.
Fix
—

Audit 0.4.1 · source sha 30fcdedc45a1 · 29 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherelastic GitHub organizationOwner of the repository this skill is read from
  • Source folderelastic/agent-skillsThe exact folder we audited
  • LicenceApache-2.0As the repository states it
  • Commit pinned for this verdict30fcdedc45a1A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Onboard an Elastic Cloud organization: configure the `elastic` CLI's Cloud context and API key, establish a default region, then invite users, assign predefined or custom Serverless project roles, and create or revoke…

---
name: cloud-onboarding
description: >
  Onboard an Elastic Cloud organization: configure the `elastic` CLI's Cloud context
  and API key, establish a default region, then invite users, assign predefined or
  custom Serverless project roles, and create or revoke Cloud API keys. Use when setting
  up Cloud authentication or when granting, modifying, or auditing user access to
  an organization and its projects.
compatibility: >
  Requires the `elastic` CLI (>= 0.2) with `cloud` support and network access to the
  Elastic Cloud API (api.elastic-cloud.com). Custom-role operations additionally need
  an Elasticsearch context on the target Serverless project with `manage_security`.
  Targets the Elastic Cloud control plane; not applicable to self-managed clusters.
metadata:
  author: elastic
  version: 0.3.0
  universal: true
---

# Cloud Onboarding

Stand up access to an Elastic Cloud organization end to end: configure the `elastic` CLI so it can operate the control
plane, then manage identity and access — invite users, assign predefined or custom roles to Serverless projects, and
manage Cloud API keys. For creating and operating projects and deployments, use the **cloud-provisioning** skill.

## Environment Configuration

This skill configures the `elastic` CLI itself, so its setup lives here rather than being assumed. If the
[`elastic` CLI](https://github.com/elastic/cli#configuration) is not installed, tell the user what it is needed for.

Cloud control-plane access is authenticated by an **Elastic Cloud API key** (organization scope), stored in a CLI
**context**. Register it without ever having the user paste the secret into the chat:

- Only **Organization owners** can create Cloud API keys. Direct the user to generate one at
  [Elastic Cloud API keys](https://cloud.elastic.co/account/keys) with **Project Admin** privileges or higher so it can
  manage serverless projects.
- If the user has no Elastic Cloud account, propose the free
  [Elastic Cloud trial](https://cloud.elastic.co/registration) (14 days, no credit card). Once registered, continue with
  key generation.
- Add the key to a context (the secret is stored in the OS keychain, not echoed):
  `elastic config context add cloud --cloud-url https://api.elastic-cloud.com --cloud-api-key <KEY>`, then make it
  active with `elastic config current-context set cloud`.

Do not guess credentials, bypass the CLI to call the HTTP API directly, or ask the user to reveal the key. This skill
references control-plane operations in HTTP-shorthand form with the `cloud:` prefix (for example,
`GET cloud:/api/v1/organizations`); the [Operations](#operations) table maps each to the equivalent `elastic cloud`
command.

For detailed API schemas (role assignments, Cloud API keys, custom roles), see
[references/api-reference.md](references/api-reference.md). For Elasticsearch-level role management beyond Cloud roles
(native users, role mappings, DLS/FLS) see **elasticsearch-authz**.

## Jobs to be done

- Configure and validate a Cloud context; establish a default region for later project creation
- Invite a user and assign a Serverless project role; list members and their roles; update or remove access
- Create, list, and revoke Cloud API keys, optionally with Elasticsearch/Kibana API access on projects
- Create a custom role in a Serverless project and assign it via the Cloud API's `application_roles`
- Translate a natural-language access request into invite, role, and API key tasks

## Process: validate the environment

1. **Validate the Cloud context.** Confirm the active context can reach the control plane by calling
   `GET cloud:/api/v1/organizations`. A successful response lists the organizations the key belongs to and yields the
   organization ID other steps need. If it returns an authentication error, the context is missing or the key is invalid
   or expired — return to [Environment Configuration](#environment-configuration) and register a valid key. Do not
   proceed until validation succeeds, and never ask the user for the organization ID — discover it here.

2. **Establish a default region (optional).** When the user plans to create projects, list the available regions with
   `GET cloud:/api/v1/serverless/regions` and confirm a default. Default to `gcp-us-central1` unless the user requests
   otherwise; only regions with `project_creation_enabled: true` accept new projects. Region choice is permanent per
   project, so surface it early.

## Permissions

This skill does not pre-check roles; it attempts the operation and lets the API enforce authorization. On a `403`, stop
and ask the user to verify the API key's permissions.

| Operation                          | Required permission                                            |
| ---------------------------------- | -------------------------------------------------------------- |
| Invite / remove members            | Organization owner (`organization-admin`)                      |
| Assign or remove roles             | Organization owner (`organization-admin`)                      |
| Create / revoke Cloud API keys     | Organization owner (`organization-admin`)                      |
| List members, invitations, or keys | Any organization member                                        |
| Create / delete custom roles       | `manage_security` cluster privilege on the project ES endpoint |

## Predefined roles

Prefer predefined roles; only create a custom role when they lack the required granularity.

**Organization:** `organization-admin` (full admin), `billing-admin` (billing only).

**Serverless project roles** (assign at invitation or via role-assignment update):

| Role      | `role_id`                                                              | Available on          |
| --------- | ---------------------------------------------------------------------- | --------------------- |
| Admin     | `admin`                                                                | Search, Obs, 

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 30fcded

claude plugin install elastic-elasticsearch@elastic-agent-skills
claude plugin install elastic-kibana@elastic-agent-skills
claude plugin install elastic-observability@elastic-agent-skills
claude plugin install elastic-security@elastic-agent-skills
claude plugin install elastic-cloud@elastic-agent-skills
npx skills add elastic/agent-skills

Commands as the repository documents them: shown, never run by us. Our verdict covers commit 30fcdedc45a1 only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
Claude DesktopMentioned in its text, not testedSkills for Claude Desktop · About Claude Desktop
CodexMentioned in its text, not testedSkills for Codex · About Codex
GitHub CopilotMentioned in its text, not testedSkills for GitHub Copilot · About GitHub Copilot
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
Gemini CLIMentioned in its text, not testedSkills for Gemini CLI · About Gemini CLI
WindsurfMentioned in its text, not testedSkills for Windsurf · About Windsurf
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✕BLOCK F 51 / 100

    first audit · source 30fcdedc45a1

Questions about elasticsearch-security-troubleshooting

What does the elasticsearch-security-troubleshooting skill do?
Official Elastic Skills
Is elasticsearch-security-troubleshooting safe to install?
No — not without reading the findings first. The audit graded it F (51/100) and found 12 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What can elasticsearch-security-troubleshooting access on my machine?
The audit observed that it reaches the network and runs shell commands. Each of those is consistent with what it says it does. Secrets in the source: none found.
What do I need installed to use elasticsearch-security-troubleshooting?
Its own instructions reference elastic. Dependencies are pinned to exact versions.
Which assistants does elasticsearch-security-troubleshooting work with?
Its documentation mentions claude-code, claude-desktop, codex, copilot, cursor, gemini-cli and windsurf. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (30fcdedc45a1), read on 2026-10-29. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.