# S03 await promises readfile

> S03 await promises readfile 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/s03-await-promises-readfile
- **Repository:** https://github.com/vulnex/vaso
- **GitHub stars:** 27
- **License:** Apache-2.0
- **Skill name:** s03-await-promises-readfile
- **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 under a golden test case named skill-insecure-flow-shapes. It exists to exercise a scanner's regression tests rather than to help with everyday coding tasks.

The SKILL.md is minimal: it states that the skill runs scripts/main.js. The folder contains two files, including a JavaScript script. The name suggests it models an insecure flow shape involving awaited promises and file reads, but the instructions do not describe any further behavior.

It is intended for people working on the vaso scanner or studying how skill scanners treat script-bearing skills. It is not a general-purpose skill and expects no particular inputs.

## When your agent uses it

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

## Features

- **Scanner regression fixture:** Serves as a golden test case for checking how a skill scanner handles a script-running skill.
- **Runs a JavaScript script:** Instructs the agent to run scripts/main.js from the skill folder.
- **Minimal SKILL.md:** Contains only a name, a short description and a single line of instruction.
- **Apache-2.0 licensed:** Published openly in the vulnex/vaso repository under the Apache-2.0 license.

## Good for

- Reviewing test fixtures for the vaso skill scanner
- Studying how script-bearing skills are laid out in a .claude/skills folder
- Verifying scanner output against a known golden case
- Building new regression cases modeled on this fixture

## Install

### Claude Code

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

For one project only, put the folder in `.claude/skills/s03-await-promises-readfile` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/s03-await-promises-readfile` inside it instead.

### Cursor

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

For one project only, put the folder in `.cursor/skills/s03-await-promises-readfile` 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/s03-await-promises-readfile
```

Or copy the folder to `~/.gemini/skills/s03-await-promises-readfile` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/s03-await-promises-readfile`:

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

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

## FAQ

### What does S03 await promises readfile do?

Its instructions only say it runs scripts/main.js. It is a fixture used for scanner regression tests.

### Is S03 await promises readfile meant for real projects?

No. It is described as a fixture for scanner regression tests and lives in a golden test case directory.

### What does S03 await promises readfile contain?

Two files: the SKILL.md and a JavaScript script.

### What license applies?

The repository is licensed under Apache-2.0.

### How do I install S03 await promises readfile in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/s03-await-promises-readfile to use it in all your projects, or to .claude/skills/s03-await-promises-readfile in one project.

### Does S03 await promises readfile 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 S03 await promises readfile?

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 S03 await promises readfile?

The closest alternatives to S03 await promises readfile are S07 promise then, S08 callback readfile https, S06 object payload, S11 destructured env and B03 git status.

## Where this comes from

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

## Alternatives

- [S07 promise then](https://ai-powered.com/skills/s07-promise-then): S07 promise then is an open-source agent skill for security.
- [S08 callback readfile https](https://ai-powered.com/skills/s08-callback-readfile-https): S08 callback readfile https 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.
- [S11 destructured env](https://ai-powered.com/skills/s11-destructured-env): S11 destructured env 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.
- [E03 split require](https://ai-powered.com/skills/e03-split-require): E03 split 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.
- [S14 fetch alias](https://ai-powered.com/skills/s14-fetch-alias): S14 fetch alias is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/s03-await-promises-readfile
