# Sh kb misconfig

> Sh kb misconfig is an open-source agent skill for cloud and infrastructure. Guides an agent to spot security misconfigurations in app settings and infrastructure code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-kb-misconfig
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-kb-misconfig
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill is a knowledge base for config-level security review. It gives the agent a checklist of insecure defaults across web frameworks and reverse proxies, covering CORS policies, cookie and header settings, debug modes, exposed management endpoints, default credentials and directory listing. It also covers infrastructure-as-code files such as Terraform, CloudFormation, Kubernetes manifests, Helm charts, Docker and compose files.

The workflow asks the agent to inventory configuration surfaces, identify which ones apply to production, and check the effective value of each setting, including defaults used when a key is missing. It suggests quick grep sweeps for risky patterns, then requires the agent to read the surrounding code, such as origin-decision logic or network exposure of a resource, before calling something a finding. It also lists false-positive filters, variant hunting ideas, CWE and OWASP mappings, and severity guidance.

The skill is written for reviewing code and files in a repository. It contains no scripts, so the agent works by reading and searching files with its own tools. Proof-of-concept request examples are included as illustrative material for authorized review only.

## When your agent uses it

> Knowledge base for finding security misconfiguration in application and infrastructure code - permissive CORS, weak headers and cookie flags, debug mode and verbose errors in production, default credentials, exposed admin and actuator endpoints, directory listing, and permissive Terraform, CloudFormation, Kubernetes, Helm, Docker and compose settings. Use when hunting config-level weaknesses or reviewing IaC and framework settings. CWE-16, CWE-942, CWE-1004, CWE-614, CWE-732, CWE-489, CWE-209, CWE-250, OWASP A05:2021-Security Misconfiguration.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-misconfig)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-misconfig)

## Features

- **Web configuration checks:** Covers CORS, cookie flags, security headers, debug modes and TLS settings in application and proxy configs.
- **Infrastructure as code review:** Checks Terraform and CloudFormation for public storage, open security groups, broad IAM and missing encryption.
- **Container and cluster hardening:** Reviews Kubernetes, Helm, Docker and compose settings such as privileged pods, host mounts and root users.
- **Exposed endpoint detection:** Looks for management consoles, actuator endpoints, debug pages and default credentials reachable from outside.
- **False-positive filters:** Lists intentional public resources and dev-only settings so the agent avoids flagging harmless configuration.
- **Severity and CWE mapping:** Maps findings to CWE and OWASP A05:2021 with guidance on critical, high, medium and low severity.

## Good for

- Review a Terraform repo for public S3 buckets or open security groups
- Check a Django or Flask settings file for debug mode and weak cookie flags
- Audit Kubernetes manifests for privileged containers and host mounts
- Look for permissive CORS configuration in an API server
- Inspect Dockerfiles and compose files for root users and exposed databases

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-kb-misconfig`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-kb-misconfig &&
cp -R "$tmp/plugins/indra/skills/sh-kb-misconfig" ~/.claude/skills/sh-kb-misconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sh-kb-misconfig` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sh-kb-misconfig` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-kb-misconfig &&
cp -R "$tmp/plugins/indra/skills/sh-kb-misconfig" ~/.agents/skills/sh-kb-misconfig &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sh-kb-misconfig` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sh-kb-misconfig` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-kb-misconfig &&
cp -R "$tmp/plugins/indra/skills/sh-kb-misconfig" ~/.cursor/skills/sh-kb-misconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-kb-misconfig` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-kb-misconfig
```

Or copy the folder to `~/.gemini/skills/sh-kb-misconfig` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sh-kb-misconfig`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-kb-misconfig &&
cp -R "$tmp/plugins/indra/skills/sh-kb-misconfig" ~/.copilot/skills/sh-kb-misconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sh-kb-misconfig` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-kb-misconfig` into your agent's skills folder as `sh-kb-misconfig`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Sh kb misconfig need to run?

It has no scripts and no tool requirements. It is a knowledge base the agent reads while reviewing configuration and infrastructure files in a codebase.

### When does Sh kb misconfig trigger?

It is meant for hunting config-level weaknesses or reviewing infrastructure-as-code and framework settings, as stated in its description.

### Does Sh kb misconfig change any files?

No. It provides guidance for reviewing settings and does not describe any write actions or automated fixes.

### Which languages and file types does Sh kb misconfig cover?

It covers framework settings for several stacks, reverse proxy configs, Terraform, CloudFormation, Kubernetes, Helm, Docker, compose, Ansible and serverless configs.

### How do I install Sh kb misconfig in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-kb-misconfig to use it in all your projects, or to .claude/skills/sh-kb-misconfig in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh kb misconfig run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sh kb misconfig?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Sh kb misconfig?

The closest alternatives to Sh kb misconfig are Security review, Sh kb ci cd, Sharp edges, Security review and Cloud containers.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Sh kb ci cd](https://ai-powered.com/skills/sh-kb-ci-cd): Sh kb ci cd is an open-source agent skill for developer tools.
- [Sharp edges](https://ai-powered.com/skills/sharp-edges): Sharp edges is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-nabwinsaud): Security review is an open-source agent skill for security.
- [Cloud containers](https://ai-powered.com/skills/cloud-containers): Cloud containers is an open-source agent skill for security.
- [Adversarial code review pass security](https://ai-powered.com/skills/adversarial-code-review-pass-security): Adversarial code review pass security is an open-source agent skill for security.
- [Security review edho ferdian](https://ai-powered.com/skills/security-review-edho-ferdian): Security review edho ferdian is an open-source agent skill for security.
- [Sh kb secrets](https://ai-powered.com/skills/sh-kb-secrets): Sh kb secrets is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sh-kb-misconfig
