# E10 mainmodule require

> E10 mainmodule require 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-exec-reach/home/.claude/skills/e10-mainmodule-require
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** e10-mainmodule-require
- **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's golden test cases. It exists to exercise a scanner's regression tests rather than to help with everyday coding work. The folder name points to an insecure-exec reach scenario involving a main-module require.

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. No inputs, tools or other workflow are described.

It sits under a Claude Code skills path in the test tree. It is best treated as test data for security scanning, not as a general-purpose skill.

## When your agent uses it

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

## Features

- **Scanner regression fixture:** Serves as a golden test case for checking how a scanner handles skills that execute scripts.
- **Runs a JavaScript script:** Instructs the agent to run scripts/main.js, the only bundled script.
- **Minimal skill structure:** Contains just a SKILL.md and one script file, which keeps the test case simple.
- **Apache-2.0 licensed:** Published in the vulnex/vaso repository under an open license.

## Good for

- Testing a skill scanner against scripts that are executed by a skill
- Studying how golden regression cases are laid out in the vaso repo
- Checking detection of script-execution patterns in agent skills

## Install

### Claude Code

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

For one project only, put the folder in `.claude/skills/e10-mainmodule-require` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/e10-mainmodule-require` inside it instead.

### Cursor

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

For one project only, put the folder in `.cursor/skills/e10-mainmodule-require` 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/e10-mainmodule-require
```

Or copy the folder to `~/.gemini/skills/e10-mainmodule-require` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/e10-mainmodule-require`:

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

For one project only, put the folder in `.github/skills/e10-mainmodule-require` 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/e10-mainmodule-require` into your agent's skills folder as `e10-mainmodule-require`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is E10 mainmodule require meant for real work?

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

### What does E10 mainmodule require do when loaded?

The SKILL.md only says it runs scripts/main.js.

### What language is the script in?

JavaScript.

### What license does E10 mainmodule require use?

The repository is licensed under Apache-2.0.

### How do I install E10 mainmodule require in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/e10-mainmodule-require to use it in all your projects, or to .claude/skills/e10-mainmodule-require in one project.

### Does E10 mainmodule require 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 E10 mainmodule require?

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 E10 mainmodule require?

The closest alternatives to E10 mainmodule require are E08 vm inline require, E07 module compile, E11 zx tagged, B01 env key header and E04 member alias.

## Where this comes from

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

## Alternatives

- [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.
- [E07 module compile](https://ai-powered.com/skills/e07-module-compile): E07 module compile 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.
- [E03 split require](https://ai-powered.com/skills/e03-split-require): E03 split require is an open-source agent skill for security.
- [B08 upload user chosen file](https://ai-powered.com/skills/b08-upload-user-chosen-file): B08 upload user chosen file is an open-source agent skill for security.
- [S06 object payload](https://ai-powered.com/skills/s06-object-payload): S06 object payload is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/e10-mainmodule-require
