Official agent skill

Security Analysis

by microsoft in microsoft/haste

Dependabot and security analysis skill for HASTE. An agent skill from microsoft/haste.

OfficialMITAuto-check passedSecurity

Install Security Analysis

skills CLI
$ npx skills add microsoft/haste --skill security-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/haste security-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/haste.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/security-analysis .claude/skills/security-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-analysis
GitHub stars
106
Token cost
~1k tokens
SKILL.md length
349 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Dependabot and security analysis skill for HASTE. An agent skill from microsoft/haste.

  • : Dependabot alert
  • SKILL.md covers Overview, Key Concepts, Patterns & Techniques and Decision Framework, plus 1 more section
  • Calls pip and npm
  • Vulnerability triage

What it does

Security Analysis is an agent skill from microsoft/haste, published by the product's own GitHub organization. Dependabot and security analysis skill for HASTE. Parse alerts, group related vulnerabilities, apply severity rules, and produce structured reports. Use when: 'Dependabot alert', 'security scan', 'vulnerability triage', 'dependency audit', 'npm audit', 'pip audit', 'CVE analysis'.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Dependency management, Vulnerability scanning and Security review. It works with Microsoft Azure, Python and JavaScript. The repository describes itself as: High Speed Assessment and Satellite Tracking for Emergencies. The licence is MIT.

When your agent uses it

  • : Dependabot alert
  • Vulnerability triage
  • Dependency audit

Example prompts

  • “Dependabot alert”
  • “security scan”
  • “vulnerability triage”
  • “/security-analysis”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 079bd89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Analysis loads about 1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 349 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/haste at commit 079bd89, republished under its MIT licence (© microsoft). 349 words, ~1,019 tokens.

Download SKILL.mdSave it as .claude/skills/security-analysis/SKILL.md (or your agent's skills folder).
name
security-analysis
description
Dependabot and security analysis skill for HASTE. Parse alerts, group related vulnerabilities, apply severity rules, and produce structured reports. Use when: 'Dependabot alert', 'security scan', 'vulnerability triage', 'dependency audit', 'npm audit', 'pip audit', 'CVE analysis'.
source
HASTE security practices, OWASP, NVD
domain
security
level
intermediate
agents
security, security-validation
created_date
2026-04-27
status
draft

Security Analysis

Overview

Structured process for triaging Dependabot alerts, grouping related vulnerabilities, applying severity rules, and producing actionable reports for HASTE's Python and JavaScript dependency stacks.

Key Concepts

HASTE Dependency Landscape
StackLocationToolKey Risks
Python (API)api/hastefuncapi/requirements.txtpip auditGDAL parsing, Azure SDK, rasterio
Python (Queues)api/hastefuncqueues/requirements.txtpip auditSame as API
Python (Core)hastelib/pyproject.tomlpip auditGeospatial libs, ML deps
JavaScript (UI)ui/package.jsonnpm auditFluentUI, MSAL, build tools
JavaScript (Root)package.jsonnpm auditAzurite (dev only)
Severity Rules
SeverityActionSLA
CriticalInvestigate immediately, create issueSame day
HighInvestigate promptly, create issue3 business days
MediumQueue for next sprintNext sprint
LowDocument and trackBacklog

Patterns & Techniques

Alert Triage Process

Step 1: Gather alerts

bash
# Python
pip audit --format json

# JavaScript
npm audit --json

Step 2: Group related vulnerabilities

  • Same package, different CVEs → group together
  • Same dependency chain → note the root cause package
  • Transitive vs direct dependency → prioritize direct

Step 3: Assess HASTE impact For each vulnerability, determine:

  • Is the vulnerable code path reachable in HASTE?
  • What data is at risk? (imagery, project metadata, user data)
  • Is this in a production path or dev-only dependency?
  • Can the vulnerability be exploited through HASTE's public interfaces?

Step 4: Produce report

markdown
## Security Triage Report — [Date]

### Critical/High Findings
| Package | CVE | Severity | Component | Reachable? | Action |
|---------|-----|----------|-----------|------------|--------|

### Medium/Low Findings
| Package | CVE | Severity | Component | Action |
|---------|-----|----------|-----------|--------|

### Dependencies to Watch
[Packages with recent churn, new maintainers, or declining activity]
HASTE-Specific Risk Areas
AreaWhy It Matters
GDAL/rasterioFile parsing vulnerabilities — common attack vector for malicious GeoTIFFs
Azure SDKsAuth and credential handling — high-value targets
MSALToken handling and auth bypass — directly affects user security
boto3AWS S3 access for imagery sources — credential exposure risk
opencv-pythonImage processing vulnerabilities — similar to GDAL risks

Decision Framework

ScenarioAction
Critical CVE in production dependencyImmediate triage, create issue, recommend upgrade
High CVE in production dependencyInvestigate within 3 days, create issue
Any CVE in dev-only dependency (azurite, vite, eslint)Document, lower priority
Upgrade introduces breaking changesDocument migration steps, flag for planning
No fix availableDocument workaround or risk acceptance rationale

Common Pitfalls

  • Treating all alerts equally — Production critical > production high > dev-only
  • Ignoring transitive dependencies — A safe direct dep can pull in vulnerable packages
  • Auto-upgrading without testing — Always run hatch run test:pytest after upgrades
  • Assuming dev-only deps are safe — Supply chain attacks can target build tools

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/security-analysis of microsoft/haste.

Open the folder on GitHubat commit 079bd89

Compare with similar skills

Security Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Analysis this skillmicrosoft/haste106—~1kAutomated safety check: PassMIT
CodeQL Security Scantrailofbits/skills7.4k—~4.6kAutomated safety check: NotesCC-BY-SA-4.0
npm Supply Chain Checkmajiayu000/spellbook286—~1.5kAutomated safety check: PassMIT
Security Reviewgithub/awesome-copilot40k1 repos~2.3kAutomated safety check: NotesMIT
Native Dependency Updatemono/SkiaSharp5.6k—~4.1kAutomated safety check: PassMIT
Security AuditTheDecipherist/claude-code-mastery550—~1.3kAutomated safety check: NotesMIT

Similar skills

  • CodeQL Security Scan

    trailofbits/skills

    Official

    Scans a codebase for vulnerabilities with CodeQL's data flow and taint tracking in run-all or important-only modes, including data extensions for project-specific sources and sinks.

    7.4k GitHub stars~4.6k tokensUpdated 5 days ago
    SecurityAuto-check: notes
  • npm Supply Chain Check

    majiayu000/spellbook

    Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.

    286 GitHub stars~1.5k tokensUpdated yesterday
    SecurityAuto-check passed
  • Security Review

    github/awesome-copilot

    Official

    AI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching…

    40k GitHub starsUsed in 1 repo~2.3k tokens
    SecurityAuto-check: notes
  • Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork.

    5.6k GitHub stars~4.1k tokensUpdated today
    SecurityAuto-check passed
  • Security Audit

    TheDecipherist/claude-code-mastery

    Checks a codebase for hardcoded secrets, vulnerable dependencies, weak input handling, weak authentication and unsafe transport settings before deployment or merge.

    550 GitHub stars~1.3k tokensUpdated 5 mo ago
    SecurityAuto-check: notes
  • Openai Security Best Practices

    trailofbits/skills-curated

    Official

    Perform language and framework specific security best-practice reviews and suggest improvements.

    512 GitHub starsUsed in 9 repos~2.2k tokens
    SecurityAuto-check: notes

More from microsoft/haste

All 9 skills in this repo
  • API Design

    microsoft/haste

    Official

    Guide for designing and documenting RESTful APIs. An agent skill from microsoft/haste.

    106 GitHub stars~663 tokensUpdated 5 days ago
    Auto-check passed
  • Copilot CLI Modes

    microsoft/haste

    Official

    Comprehensive guide to all Copilot CLI running modes: Interactive, Plan, Autopilot, Fleet, Research, Chronicle, and Delegate.

    106 GitHub stars~4.2k tokensUpdated 5 days ago
    Auto-check passed
  • Debug Test Failures

    microsoft/haste

    Official

    Systematic debugging workflow for test failures. An agent skill from microsoft/haste.

    106 GitHub stars~735 tokensUpdated 5 days ago
    Auto-check passed
  • Dependency Update

    microsoft/haste

    Official

    Guide for safely updating project dependencies. An agent skill from microsoft/haste.

    106 GitHub stars~551 tokensUpdated 5 days ago
    Auto-check passed
  • Official

    Imagery provider adaptation skill for HASTE. An agent skill from microsoft/haste.

    106 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Validation Diagnostics

    microsoft/haste

    Official

    Validation and diagnostic skill for HASTE. An agent skill from microsoft/haste.

    106 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed

Questions about Security Analysis

What does Security Analysis do?

Dependabot and security analysis skill for HASTE. An agent skill from microsoft/haste. Security Analysis is an agent skill from microsoft/haste, published by the product's own GitHub organization. Dependabot and security analysis skill for HASTE.

When should I use Security Analysis?

Security Analysis fits situations like: : Dependabot alert; vulnerability triage; dependency audit.

How do I install Security Analysis in Claude Code?

Run `npx skills add microsoft/haste --skill security-analysis -a claude-code`. Or copy the skill folder (.github/skills/security-analysis in microsoft/haste) into .claude/skills/security-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Security Analysis in Codex?

Run `npx skills add microsoft/haste --skill security-analysis -a codex`. Or copy the skill folder (.github/skills/security-analysis in microsoft/haste) into .agents/skills/security-analysis in your project. Codex loads it when a task matches its description.

Can I use Security Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/haste --skill security-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-analysis, .gemini/skills/security-analysis, .github/skills/security-analysis and .opencode/skills/security-analysis in your project.

What does Security Analysis need to run?

Going by SKILL.md and its folder, Security Analysis needs the command-line tools its instructions call (pip and npm). Our summary lists: Python 3.

Does Security Analysis access the network?

SKILL.md contains no URLs. Its commands use pip and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Security Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Security Analysis use?

Security Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Security Analysis use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Analysis?

Skills that share tags, products or a category with Security Analysis: CodeQL Security Scan (trailofbits/skills, 7.4k stars), npm Supply Chain Check (majiayu000/spellbook, 286 stars), Security Review (github/awesome-copilot, 40k stars) and Native Dependency Update (mono/SkiaSharp, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Analysis?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/haste, which has 106 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 2, 2026.

Source: microsoft/haste on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.