# S02 pathjoin homedir

> S02 pathjoin homedir 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/s02-pathjoin-homedir
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** s02-pathjoin-homedir
- **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 used in the vaso scanner's golden test cases, not a general-purpose capability. It sits in a regression test folder named for insecure flow shapes and exists so the scanner has a known skill to analyze.

The skill's instructions are minimal: they tell the agent to run scripts/main.js. The folder holds just the SKILL.md and that one JavaScript script. The name suggests it exercises a path-join-with-home-directory pattern, though the script contents are not described.

It is meant for people working on or testing the vaso scanner. It is not intended for everyday agent tasks.

## When your agent uses it

> Fixture skill s02-pathjoin-homedir 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/s02-pathjoin-homedir)
- [Network calls found in its scripts](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s02-pathjoin-homedir)
- [License: Apache-2.0](https://github.com/vulnex/vaso/tree/HEAD/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s02-pathjoin-homedir)

## Features

- **Scanner regression fixture:** Provides a known skill layout for the vaso scanner's golden test cases.
- **Single script entry point:** Instructs the agent to run scripts/main.js and nothing else.
- **Minimal skill structure:** Consists of one SKILL.md and one JavaScript file.
- **Apache-2.0 licensed:** Published in the vulnex/vaso repository under an open license.

## Good for

- Study how the vaso scanner treats a skill that runs a bundled script
- Use as a reference sample when writing scanner regression tests
- Inspect a minimal example of a SKILL.md folder with a script

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/s02-pathjoin-homedir` 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/s02-pathjoin-homedir &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s02-pathjoin-homedir" ~/.claude/skills/s02-pathjoin-homedir &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/s02-pathjoin-homedir` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/s02-pathjoin-homedir` 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/s02-pathjoin-homedir &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s02-pathjoin-homedir" ~/.agents/skills/s02-pathjoin-homedir &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/s02-pathjoin-homedir` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/s02-pathjoin-homedir` 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/s02-pathjoin-homedir &&
cp -R "$tmp/testing/golden/cases/skill-insecure-flow-shapes/home/.claude/skills/s02-pathjoin-homedir" ~/.cursor/skills/s02-pathjoin-homedir &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/s02-pathjoin-homedir` 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/s02-pathjoin-homedir
```

Or copy the folder to `~/.gemini/skills/s02-pathjoin-homedir` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/s02-pathjoin-homedir`:

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

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

## FAQ

### Is S02 pathjoin homedir meant for real work?

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

### What does the skill do when loaded?

It tells the agent to run scripts/main.js.

### What language is the script written in?

JavaScript.

### What license applies?

The vaso repository is licensed under Apache-2.0.

### How do I install S02 pathjoin homedir in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/s02-pathjoin-homedir to use it in all your projects, or to .claude/skills/s02-pathjoin-homedir in one project.

### Does S02 pathjoin homedir 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 S02 pathjoin homedir?

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 S02 pathjoin homedir?

The closest alternatives to S02 pathjoin homedir are B02 own config pathjoin, S06 object payload, E04 member alias, B01 env key header and S11 destructured env.

## Where this comes from

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

## Alternatives

- [B02 own config pathjoin](https://ai-powered.com/skills/b02-own-config-pathjoin): B02 own config pathjoin 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.
- [E04 member alias](https://ai-powered.com/skills/e04-member-alias): E04 member alias 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.
- [S11 destructured env](https://ai-powered.com/skills/s11-destructured-env): S11 destructured env is an open-source agent skill for security.
- [S07 promise then](https://ai-powered.com/skills/s07-promise-then): S07 promise then 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.
- [E07 module compile](https://ai-powered.com/skills/e07-module-compile): E07 module compile is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/s02-pathjoin-homedir
