sast-analysis

Map codebase architecture and technology stack into sast/architecture.md.

1.3k|61|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/utkusen/sast-skills --skill sast-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sast-analysis
Source: https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-analysis
Command: npx skills add https://github.com/utkusen/sast-skills --skill sast-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perform codebase analysis and architecture mapping as the first phase of a security assessment. Explores the tech stack, frameworks, entry points, data flows, and trust boundaries. Outputs sast/architecture.md. Run this before any vulnerability detection skill. Use when asked to analyze a codebase for security or when sast/architecture.md does not yet exist.

Core Features & Use Cases

  • Technology reconnaissance: identify languages, frameworks, dependencies, and infrastructure hints.
  • Architecture mapping: map data flows, entry points, and trust boundaries to support threat modeling.
  • Output artifact: generate sast/architecture.md with the architectural overview.
  • Use case: run this phase prior to vulnerability detection to establish the security context.

Quick Start

Run sast-analysis to generate the architecture.md file for your codebase before executing vulnerability detection.

Frequently Asked Questions about sast-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map codebase architecture for a security assessment?

To map codebase architecture for a security assessment, analyze the codebase to identify the technology stack, frameworks, entry points, data flows, and trust boundaries. This process outputs an architecture.md artifact detailing the structural overview for threat modeling.

What is codebase reconnaissance in threat modeling?

Codebase reconnaissance in threat modeling is the initial analysis phase that identifies languages, frameworks, dependencies, and infrastructure hints. It maps data flows and trust boundaries to establish the security context before vulnerability detection begins.

Do I need to analyze architecture before running vulnerability detection?

Yes, you need to analyze architecture before running vulnerability detection to establish security context. Mapping technology stacks, entry points, and trust boundaries first guides accurate threat modeling and remediation planning across diverse deployment patterns.

How do I identify trust boundaries and data flows in a codebase?

Identify trust boundaries and data flows by performing technology reconnaissance across the codebase. Analyze deployment patterns and frameworks to map how data moves through entry points, generating an architectural overview to support threat modeling.

What is the best way to document a tech stack for security reviews?

The best way to document a tech stack for security reviews is to analyze the codebase and generate an architecture.md artifact. This file records identified languages, dependencies, infrastructure hints, and data flows to guide remediation planning.

Can I use this approach for diverse languages and frameworks?

Yes, this codebase analysis approach applies to security reviews across diverse languages, frameworks, and deployment patterns. It maps architecture and technology stacks universally to guide threat modeling regardless of the underlying environment.