devsecops-sast-audit

devsecops-sast-audit is a skill for Claude Code, Codex, Cursor from SafetyMP/Autonomous-EHS-Management. It costs 93 tokens per session (1,359 once invoked), scanned A, original, Apache-2.0.

A code-security review practice that looks for vulnerabilities and flawed assumptions in an application without running it as an attack target. SAST means Static Application Security Testing: examining source code for security problems, including issues described by OWASP, a widely used application-security guidance group.

In plain words
What is it for?
Use it for SAST reviews, threat modeling, vulnerability assessments, OWASP-style checks, and hardening of authentication, APIs, AI-related code, sessions, rate limiting, and permission checks.
Why use it?
It helps find weaknesses in authentication, permissions, APIs, rate limits, sessions, secrets, and business logic before attackers or production failures expose them. It also keeps security changes aligned with the repository’s database and access-control rules.

Skill for Claude CodeCodexCursor

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.

agentmods
npx agentmods add skills/safetymp/autonomous-ehs-management/devsecops-sast-audit
Any agent
npx skills add SafetyMP/Autonomous-EHS-Management --skill devsecops-sast-audit
Clone the repo
git clone --depth 1 https://github.com/SafetyMP/Autonomous-EHS-Management

Made for: Claude Code, Codex, Cursor.

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 devsecops-sast-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/safetymp/autonomous-ehs-management/devsecops-sast-audit.svg)](https://agentmods.dev/skills/safetymp/autonomous-ehs-management/devsecops-sast-audit)
Your own site
<a href="https://agentmods.dev/skills/safetymp/autonomous-ehs-management/devsecops-sast-audit"><img src="https://agentmods.dev/badge/skills/safetymp/autonomous-ehs-management/devsecops-sast-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,359 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00093 $0.01359
Opus 5 $0.00046 $0.00679
Sonnet 5 $0.00019 $0.00272
Haiku 4.5 $0.00009 $0.00136

Measured 4d ago against content hash 0ba6912ef257, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devsecops-sast-audit scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/devsecops-sast-audit/SKILL.md · 85 lines

How it starts

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

Agent discovery: Indexed in .cursor/skills/README.md and linked from AGENTS.md. Load this file when the user asks for SAST, security audit, OWASP-style review, threat modeling, or hardening of auth/APIs/AI in this repo.

DevSecOps engineer — SAST & application security audit

You are an elite, offensive-minded DevSecOps Engineer and Application Security Auditor. Your objective is to perform rigorous Static Application Security Testing (SAST) and logic audits on the provided codebase. You are not here to build features; you are here to break assumptions, expose vulnerabilities, and secure the system.

Repo alignment

Honor AGENTS.md and ehs-ims-conventions.mdc: PostgreSQL + Drizzle as system of record, RBAC (src/lib/rbac.ts, assertPermission), tRPC routers under src/server/trpc/, audit_log for regulated mutations, no JWT/session weakening without test updates.

High-value review targets in this stack: src/proxy.ts, src/lib/dashboard-auth-gate.ts, src/server/auth.ts, src/app/api/auth/, src/server/trpc/context.ts, src/server/trpc/init.ts, src/app/api/trpc/, individual routers, src/lib/env.ts, src/server/ratelimit.ts, src/lib/request-ip.ts, next.config.ts, src/lib/ai/*, src/instrumentation.ts, src/app/api/cron/, sign-in/up flows and callbackUrl handling, RAG ingest URLs and user-controlled text.

Threat landscape & evaluation criteria

Analyze the code against current threat patterns, OWASP Top 10 categories, and Zero Trust principles (no blind trust between layers). Scrutinize specifically for:

  • Authentication & authorization: Broken access control, privilege escalation, insecure session management, IDOR, weak middleware vs API consistency.
  • Input & output: SQL/NoSQL injection (incl. ORM misuse), XSS, SSRF, path traversal, improper sanitization or deserialization.
  • Modern API & edge security: Rate limiting bypasses, cache poisoning assumptions, overly broad CORS/trusted origins, unsafe redirects.
  • AI / LLM (if applicable): Prompt injection surfaces, unvalidated model JSON persisted to DB, agent/tool paths that bypass RBAC or audit_log, SSRF via user-influenced base URLs.
  • Cryptographic failures: Hardcoded secrets, weak hashing, improper key/session handling, secrets in logs.

Read the full file on GitHub · 85 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. 4d ago First seen · 85 lines · 93 tokens per session scan A 0ba6912ef257

Subscribe to this mod's changes

devsecops-sast-audit is a skill published in the GitHub repository SafetyMP/Autonomous-EHS-Management (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 93 tokens to every session and 1,359 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pir-action-tracker

Parses Post-Incident Review (PIR) pages in a Confluence space, fetches live status from referenced Jira tickets, updates action item tables with current status and due dates, marks completed PIRs with a visual closure panel, and surfaces any overdue actions for follow-up. Designed for Customer Success, Support, and…

Perseus-Computing-LLC/perseus · 78 tokens

license-comply

Use when auditing open-source dependency licenses in Python projects, generating compliance reports, or checking license risk in your codebase.

LegalQuants/lq-skills · 28 tokens

wbg-oss-review

Audits and prepares a GitHub repository for World Bank Group (WBG) open source publication. Use this skill whenever a user mentions preparing a repo for open source, WBG compliance review, preparing a repo for World Bank review, or wants to check/fix a repository against the WBG checklist. Also trigger when a user…

worldbank/open-source-kit · 145 tokens

apiiro-mcp-secure-prompt

Use the Apiiro MCP tool apiirosecureprompt when Apiiro MCP is configured in the client and the user wants security guidance added to a coding task before implementation. Trigger on secure-prompt via MCP, or when the user asks for security-aware prompt enhancement before coding (auth, new APIs, persistence, secrets…

apiiro/mcp-server · 76 tokens

nist-800-53

Use when the user asks about NIST SP 800-53 Rev. 5 from an engineering perspective — selecting baselines, tailoring controls, modeling control inheritance from cloud providers and shared services, emitting OSCAL artifacts, or implementing controls in IaC and code rather than running them as a documentation exercise.…

grcwarlock/compliance-as-code · 76 tokens

iso-27001

Use when the user asks about ISO/IEC 27001:2022 from an engineering perspective — building an ISMS that runs on systems and code rather than spreadsheets, instrumenting Annex A controls, designing risk registers as data, and producing evidence pipelines that hold up to a certification audit. Engineer-voice, not…

grcwarlock/compliance-as-code · 72 tokens