# S11 destructured env

> S11 destructured env is an open-source agent skill for security. Test fixture skill that runs a JavaScript script for scanner regression checks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vulnex/vaso/tree/main/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** s11-destructured-env
- **Collection:** https://github.com/vulnex/vaso
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This is a fixture skill from the vulnex/vaso repository, placed in a golden-test case folder named skill-insecure-flow-shapes. It exists to exercise a security scanner and is not meant as a general-purpose skill for everyday work.

The SKILL.md is minimal: it tells the agent to run scripts/main.js. The folder holds two files, with the script written in JavaScript. The name suggests it covers a destructured-environment-variable code shape, but the instructions do not describe that behavior.

It takes no inputs and sets no allowed-tools restrictions. It is licensed under Apache-2.0 as part of the parent repository.

## When your agent uses it

> Fixture skill s11-destructured-env for scanner regression tests.

## What it can access

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

- [Runs JavaScript scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env)
- [Network calls found in its scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env)
- [License: Apache-2.0](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env)

## Features

- **Scanner regression fixture:** Serves as a test case in the vaso golden test suite for insecure flow shapes.
- **Single script execution:** Instructs the agent to run scripts/main.js and nothing else.
- **Minimal skill structure:** Consists of a SKILL.md and one JavaScript script file.
- **Openly licensed:** Distributed under Apache-2.0 within the vulnex/vaso repository.

## Good for

- Study how a security scanner treats a skill that runs a bundled script
- Use as a reference case when writing regression tests for skill scanning
- Inspect the minimal layout of a skill folder with one JavaScript script

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/s11-destructured-env` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/s11-destructured-env &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env" ~/.claude/skills/s11-destructured-env &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/s11-destructured-env` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/s11-destructured-env` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/s11-destructured-env &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env" ~/.agents/skills/s11-destructured-env &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/s11-destructured-env` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/s11-destructured-env` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/s11-destructured-env &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env" ~/.cursor/skills/s11-destructured-env &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/s11-destructured-env` 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/vulnex/vaso.git --path testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env
```

Or copy the folder to `~/.gemini/skills/s11-destructured-env` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/s11-destructured-env`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/s11-destructured-env &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env" ~/.copilot/skills/s11-destructured-env &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/s11-destructured-env` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vulnex/vaso.git
```

Then copy `vaso/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s11-destructured-env` into your agent's skills folder as `s11-destructured-env`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is this a real productivity skill?

No. Its description says it is a fixture for scanner regression tests.

### What does S11 destructured env do when loaded?

The instructions only say to run scripts/main.js.

### What language is the script in?

JavaScript.

### What license applies?

Apache-2.0, as listed for the vulnex/vaso repository.

### How do I install S11 destructured env in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/s11-destructured-env to use it in all your projects, or to .claude/skills/s11-destructured-env in one project.

### Does S11 destructured env run scripts?

Yes. It runs JavaScript scripts. Its scripts contain network calls. 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 S11 destructured env?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to S11 destructured env?

The closest alternatives to S11 destructured env are S06 object payload, S15c exfil via env in helper arg, S14 fetch alias, E11 zx tagged and B01 env key header.

## Where this comes from

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

## Alternatives

- [S06 object payload](https://ai-powered.com/skills/s06-object-payload): S06 object payload is an open-source agent skill for security.
- [S15c exfil via env in helper arg](https://ai-powered.com/skills/s15c-exfil-via-env-in-helper-arg): S15c exfil via env in helper arg is an open-source agent skill for security.
- [S14 fetch alias](https://ai-powered.com/skills/s14-fetch-alias): S14 fetch alias is an open-source agent skill for security.
- [E11 zx tagged](https://ai-powered.com/skills/e11-zx-tagged): E11 zx tagged is an open-source agent skill for security.
- [B01 env key header](https://ai-powered.com/skills/b01-env-key-header): B01 env key header is an open-source agent skill for security.
- [E04 member alias](https://ai-powered.com/skills/e04-member-alias): E04 member alias is an open-source agent skill for security.
- [S15b](https://ai-powered.com/skills/s15b): S15b is an open-source agent skill for security.
- [S03 await promises readfile](https://ai-powered.com/skills/s03-await-promises-readfile): S03 await promises readfile is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/s11-destructured-env
