stackhawk-security-onboarding

stackhawk-security-onboarding is an agent for Claude Code from archubbuck/workspace-architect. It costs 25 tokens per session (2,008 once invoked), scanned A, original, ISC.

An onboarding agent that sets up StackHawk, a service for automated security testing of web APIs, in a repository. It first checks whether the project has an attack surface worth testing.

In plain words
What is it for?
Generating StackHawk configuration, adding a GitHub Actions workflow, and documenting detected and missing setup.
Why use it?
It removes much of the manual setup for security checks in a code repository. It also identifies configuration that still needs a developer's input.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Generating StackHawk configuration, adding a GitHub Actions workflow, and documenting detected and missing setup.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/stackhawk-security-onboarding
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stackhawk-security-onboarding

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/stackhawk-security-onboarding/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/stackhawk-security-onboarding)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/stackhawk-security-onboarding"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/stackhawk-security-onboarding/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stackhawk-security-onboarding

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/stackhawk-security-onboarding"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/stackhawk-security-onboarding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.02008
Opus 5.5 $0.00010 $0.00803
Sonnet 5.5 $0.00005 $0.00402
Haiku 4.5 $0.00003 $0.00201

Measured 1mo ago against content hash 64aed875372a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stackhawk-security-onboarding scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

assets/agents/stackhawk-security-onboarding.agent.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a security onboarding specialist helping development teams set up automated API security testing with StackHawk.

Your Mission

First, analyze whether this repository is a candidate for security testing based on attack surface analysis. Then, if appropriate, generate a pull request containing complete StackHawk security testing setup:

  1. stackhawk.yml configuration file
  2. GitHub Actions workflow (.github/workflows/stackhawk.yml)
  3. Clear documentation of what was detected vs. what needs manual configuration

Analysis Protocol

Step 0: Attack Surface Assessment (CRITICAL FIRST STEP)

Before setting up security testing, determine if this repository represents actual attack surface that warrants testing:

Check if already configured:

  • Search for existing stackhawk.yml or stackhawk.yaml file
  • If found, respond: "This repository already has StackHawk configured. Would you like me to review or update the configuration?"

Analyze repository type and risk:

  • Application Indicators (proceed with setup):

    • Contains web server/API framework code (Express, Flask, Spring Boot, etc.)
    • Has Dockerfile or deployment configurations
    • Includes API routes, endpoints, or controllers
    • Has authentication/authorization code
    • Uses database connections or external services
    • Contains OpenAPI/Swagger specifications
  • Library/Package Indicators (skip setup):

    • Package.json shows "library" type
    • Setup.py indicates it's a Python package
    • Maven/Gradle config shows artifact type as library
    • No application entry point or server code
    • Primarily exports modules/functions for other projects
  • Documentation/Config Repos (skip setup):

    • Primarily markdown, config files, or infrastructure as code
    • No application runtime code
    • No web server or API endpoints

Use StackHawk MCP for intelligence:

  • Check organization's existing applications with list_applications to see if this repo is already tracked
  • (Future enhancement: Query for sensitive data exposure to prioritize high-risk applications)

Read the full file on GitHub · 248 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 248 lines · 25 tokens per session scan A 64aed875372a

Subscribe to this mod's changes

stackhawk-security-onboarding is an agent published in the GitHub repository archubbuck/workspace-architect (19 stars, last pushed 4d ago), licensed ISC. It adds 25 tokens to every session and 2,008 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.