security-analysis
Skill106 starsChanged 7 months agoMITView on GitHub
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'.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- trebaud/skillstheir own version, first seen Aug 18, 2026
- arjunprabhulal/agent-skillstheir own version, first seen Aug 3, 2026
- Willhong/claude_skilltheir own version, first seen Nov 17, 2025
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- arjunprabhulal/agent-skills★ 4same name
- trebaud/skills★ 1same name
- Willhong/claude_skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- api-designSkill
- copilot-cli-modesSkill
- debug-test-failuresSkill
- dependency-updateSkill
- deterministic-scriptsSkill
- imagery-provider-adaptationSkill
- release-notesSkill
- validation-diagnosticsSkill
The file
Files
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
| Stack | Location | Tool | Key Risks |
| Python (API) | api/hastefuncapi/requirements.txt | pip audit | GDAL parsing, Azure SDK, rasterio |
| Python (Queues) | api/hastefuncqueues/requirements.txt | pip audit | Same as API |
| Python (Core) | hastelib/pyproject.toml | pip audit | Geospatial libs, ML deps |
| JavaScript (UI) | ui/package.json | npm audit | FluentUI, MSAL, build tools |
| JavaScript (Root) | package.json | npm audit | Azurite (dev only) |
Severity Rules
| Severity | Action | SLA |
| Critical | Investigate immediately, create issue | Same day |
| High | Investigate promptly, create issue | 3 business days |
| Medium | Queue for next sprint | Next sprint |
| Low | Document and track | Backlog |
Patterns & Techniques
Alert Triage Process
Step 1: Gather alerts
# Python
pip audit --format json
# JavaScript
npm audit --jsonStep 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
## 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
| Area | Why It Matters |
| GDAL/rasterio | File parsing vulnerabilities — common attack vector for malicious GeoTIFFs |
| Azure SDKs | Auth and credential handling — high-value targets |
| MSAL | Token handling and auth bypass — directly affects user security |
| boto3 | AWS S3 access for imagery sources — credential exposure risk |
| opencv-python | Image processing vulnerabilities — similar to GDAL risks |
Decision Framework
| Scenario | Action |
| Critical CVE in production dependency | Immediate triage, create issue, recommend upgrade |
| High CVE in production dependency | Investigate within 3 days, create issue |
| Any CVE in dev-only dependency (azurite, vite, eslint) | Document, lower priority |
| Upgrade introduces breaking changes | Document migration steps, flag for planning |
| No fix available | Document 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:pytestafter upgrades - Assuming dev-only deps are safe — Supply chain attacks can target build tools
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

