# E09 function ctor chain

> E09 function ctor chain is an open-source agent skill for security. Test fixture skill that runs a JavaScript script for scanner regression tests. 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-exec-reach/home/.claude/skills/e09-function-ctor-chain
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** e09-function-ctor-chain
- **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 vaso repository's golden test cases, not a general-purpose helper. It exists so a security scanner can be checked against a known pattern: a skill whose instructions simply run a bundled script.

The SKILL.md is minimal. It tells the agent to run scripts/main.js and gives no further workflow, inputs or checks. The folder name points to a function-constructor chain case in an insecure-exec reachability test, but the instructions themselves do not describe what the script does.

It is intended for scanner development and regression testing, and should not be installed to get work done. It sits under a Claude Code skills directory in the test tree and is licensed under Apache-2.0 as part of the repository.

## When your agent uses it

> Fixture skill e09-function-ctor-chain 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-exec-reach/home/.claude/skills/e09-function-ctor-chain)
- [No network calls found in its scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain)
- [License: Apache-2.0](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain)

## Features

- **Scanner regression fixture:** Provides a known skill layout used to verify that a scanner behaves consistently across releases.
- **Bundled JavaScript script:** Contains a scripts/main.js file that the skill instructions tell the agent to run.
- **Minimal SKILL.md:** Holds only a name, a short description and a single line instructing the agent to run the script.
- **Golden test case:** Lives in the skill-insecure-exec-reach case of the vaso golden test suite.

## Good for

- Test that a skill scanner flags script execution from a skill folder
- Study how insecure-exec reachability cases are structured in vaso
- Use as a reference when writing regression tests for skill analysis tools
- Check scanner output against a minimal known skill layout

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/e09-function-ctor-chain` 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/e09-function-ctor-chain &&
cp -R "$tmp/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain" ~/.claude/skills/e09-function-ctor-chain &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/e09-function-ctor-chain` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/e09-function-ctor-chain` 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/e09-function-ctor-chain &&
cp -R "$tmp/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain" ~/.agents/skills/e09-function-ctor-chain &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/e09-function-ctor-chain` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/e09-function-ctor-chain` 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/e09-function-ctor-chain &&
cp -R "$tmp/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain" ~/.cursor/skills/e09-function-ctor-chain &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/e09-function-ctor-chain` 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-exec-reach/home/.claude/skills/e09-function-ctor-chain
```

Or copy the folder to `~/.gemini/skills/e09-function-ctor-chain` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/e09-function-ctor-chain`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vulnex/vaso.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/e09-function-ctor-chain &&
cp -R "$tmp/testing/golden/cases/skill-insecure-exec-reach/home/.claude/skills/e09-function-ctor-chain" ~/.copilot/skills/e09-function-ctor-chain &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/e09-function-ctor-chain` 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-exec-reach/home/.claude/skills/e09-function-ctor-chain` into your agent's skills folder as `e09-function-ctor-chain`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is this a skill for real work?

No. Its description labels it a fixture for scanner regression tests.

### What does the skill make the agent do?

The instructions say only to run scripts/main.js, a bundled JavaScript file.

### What license does E09 function ctor chain use?

The repository is licensed under Apache-2.0.

### Where does E09 function ctor chain live?

It is in the vulnex/vaso repository, under the testing/golden/cases/skill-insecure-exec-reach test case.

### How do I install E09 function ctor chain in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/e09-function-ctor-chain to use it in all your projects, or to .claude/skills/e09-function-ctor-chain in one project.

### Does E09 function ctor chain run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its 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 E09 function ctor chain?

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 E09 function ctor chain?

The closest alternatives to E09 function ctor chain are E07 module compile, E04 member alias, E08 vm inline require, B03 git status and E10 mainmodule require.

## Where this comes from

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

## Alternatives

- [E07 module compile](https://ai-powered.com/skills/e07-module-compile): E07 module compile 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.
- [E08 vm inline require](https://ai-powered.com/skills/e08-vm-inline-require): E08 vm inline require is an open-source agent skill for security.
- [B03 git status](https://ai-powered.com/skills/b03-git-status): B03 git status is an open-source agent skill for security.
- [E10 mainmodule require](https://ai-powered.com/skills/e10-mainmodule-require): E10 mainmodule require is an open-source agent skill for security.
- [B09 read own data file](https://ai-powered.com/skills/b09-read-own-data-file): B09 read own data file 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.
- [E11 zx tagged](https://ai-powered.com/skills/e11-zx-tagged): E11 zx tagged is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/e09-function-ctor-chain
