All authors

Claude Skills by Asterguard
github.com/Asterguard111 skills3 installs12 views
- EvalsUse when grading a runbook-skill run — evaluate a triage / investigation / hunt / IRP / detection / reporting run on four axes (trajectory, schema, rubric 0–100, benchmark) entirely client-side, grounded in the engagement event stream and the security-judge/judge skills, and emit a pass/fail scorecard to ./.asterguard/evals/. The evaluation substrate for the llm_judge persona and the gate that says "a runbook isn't done without an evals case".Votes: 0GitHub stars: 10
- Evidence CollectionBuild an audit-evidence corpus from local sources and the security graph — git history, pull requests, CI logs, policy/process docs, scan results, and AsterGuard's own findings, proven breaks, applied policies and control mappings — each record kept with a stable citation (source + locator). Treats every record as untrusted input. Use at the start of an audit-readiness review, before judging controls.Votes: 0GitHub stars: 10
- Evidence DraftingFor each compliance gap, draft the missing artifact — a policy stub, a process/change-record template, a control narrative, or a remediation note — grounded in the project and the control's required evidence, for a human to complete, own, and sign. Drafts are clearly marked unsigned and never asserted as real evidence. Use after judging, to turn gaps into actionable starting points.Votes: 0GitHub stars: 10
- Evidence JudgeJudge a single compliance control against the evidence corpus — decide satisfied, gap, or parked, and cite the exact source artifact that proves it. Enforces "no citation, no verdict". Reuses the judge contract (decide from evidence, not assertion). Use once a rubric and an evidence corpus exist, to produce per-control verdicts for an audit-readiness report.Votes: 0GitHub stars: 10
- Exploit ChainChain a proven break into a demonstrated multi-step compromise — take a canary-proven foothold (e.g. an injection or exfil on one path) and advance it through privilege/authority escalation, lateral tool/agent abuse, and impact, proving each step with out-of-band evidence and grounding every move in the attack graph. Use in an authorized pentest to go beyond proof-of-reach to a full kill-chain.Votes: 0GitHub stars: 10
- Find Related FindingsUse when you need to know whether an indicator or entity already has related OPEN findings or incidents before opening a new one — searches this engagement's event stream plus shared memory and returns the related items so work attaches to the right thread instead of cold-starting.Votes: 0GitHub stars: 10
- Generate Report FileUse when a runbook needs to persist report content as a file — writes the markdown artifact to ./.asterguard/reports/ with a standardized name and the mandatory "Runbook Used" header, so output traces back to the procedure that produced it.Votes: 0GitHub stars: 10
- Hunt Agentic Ttp Credential AccessUse when running a guided, hypothesis-driven hunt for credential-access TTPs in the agent context — agent token theft, secret/API-key exfiltration, over-broad credential scope use, or an agent reading another principal's secrets — across the security graph and recorded agent events, feeding confirmed gaps to detection-as-code.Votes: 0GitHub stars: 10
- Hunt Exfil PathsUse when hunting confidential-data → egress paths across the security graph — information-flow violations where sensitive data (secrets, PII, proprietary context, tool outputs) can reach an outbound channel the agent controls — ranking each path by data sensitivity and egress exposure, confirming live ones with canaries, and feeding confirmed exfil paths to remediation and detection-as-code.Votes: 0GitHub stars: 10
- Hunt Over PrivilegeUse when hunting agents, tools, and identities that hold more authority than they need across the security graph — granted scopes, tool permissions, or reach that exceed the principal's actual usage (authority > need) — ranking each excess grant by blast radius and feeding confirmed over-privilege to remediation and detection-as-code.Votes: 0GitHub stars: 10
- Hunt Prompt Injection ExposureUse when hunting untrusted-input → privileged-action paths across the security graph — places where untrusted content (a document, tool result, web page, email, RAG chunk) can reach the model's context and from there drive a privileged tool call or egress — ranking each exposed path by what the injection could reach and feeding confirmed exposure to remediation and detection-as-code.Votes: 0GitHub stars: 10
- Hunt Tool Abuse LateralUse when hunting lateral tool/agent abuse chains — one agent or tool pivoting into another's authority (confused-deputy hops, tool-to-tool privilege reuse, an agent invoking a peer to reach a resource it cannot reach directly) across the security graph and recorded agent events — the agent-security analogue of lateral movement, feeding confirmed gaps to detection-as-code.Votes: 0GitHub stars: 10
- Indicator Enrichment InvestigationUse when a set of indicators from an alert or finding needs quick, standardized first-pass enrichment and recording before deciding to close or escalate — a thin wrapper that drives enrich-indicator over each indicator, checks for related/duplicate open items, and writes the results to the engagement.Votes: 0GitHub stars: 10
- Indicator Threat HuntUse when sweeping one target's security graph, recorded agent events, and shared memory for a specific agent-security indicator (a weakness id, component, agent identity, egress endpoint, or model/dependency artifact) under a stated hypothesis — proves presence or clears it, and feeds any confirmed gap to detection-as-code.Votes: 0GitHub stars: 10
- Information FlowBuild the information-flow (IFC) overlay on the data-flow spine — label integrity and confidentiality flows with their data classes and the missing control that would stop each one. Produces the FIDES-style flows and attack paths. Use when a security engineer needs to know which untrusted input reaches a privileged sink, or which regulated data can be exfiltrated, and what control is missing.Votes: 0GitHub stars: 10
- Investigate Agent IncidentUse when an escalated agent-security incident needs a full investigation — scope the affected agent/deployment, enrich every indicator, reconstruct the action/tool-call timeline, correlate across findings and runtime events, and reach a defensible disposition and priority.Votes: 0GitHub stars: 10
- Investigate Weakness CollectionUse when a named set of related weaknesses or TTPs — a collection or campaign — needs investigating against a target: expand the collection's members and relationships, enrich each, correlate them with the target's graph and recorded events, and report which parts of the pattern actually touch the target.Votes: 0GitHub stars: 10
- Investigate With External ToolsUse when an agent investigation needs intelligence beyond the local engagement — query the knowledge corpus and authorized external intel sources for an indicator or identity, merge what comes back into the engagement, and (human-gated) act on a confident disposition such as disabling a compromised agent identity.Votes: 0GitHub stars: 10
- Irp Agent Credential CompromiseUse when responding to a confirmed or suspected compromise of an agent identity — a leaked or abused agent token, service principal, API key, or OAuth grant that an attacker is using to act as the agent. Coordinates identification, containment, eradication, and recovery across the AsterGuard skills, PICERL-structured.Votes: 0GitHub stars: 10
- Irp Data Exfil Via AgentUse when responding to confidential data exfiltrating through an agent — sensitive data reaching an egress endpoint, tool, or external party via the agent's actions. Coordinates urgent containment, scoping of what left, eradication, and recovery across the AsterGuard skills, PICERL-structured.Votes: 0GitHub stars: 10
- Irp Model Supply ChainUse when responding to a poisoned model or a compromised dependency in an agent's supply chain — a bad model hash, a backdoored/typosquatted package, or a tampered artifact in the AI-BOM/SBOM that reached a deployed agent. Coordinates identification, containment, eradication, and recovery across the AsterGuard skills, PICERL-structured.Votes: 0GitHub stars: 10
- Irp Prompt InjectionUse when responding to a confirmed or suspected prompt-injection incident against a deployed AI agent — untrusted input (a document, tool result, web page, or email) that steered the agent into unintended tool calls, data disclosure, or egress. Coordinates identification, containment, eradication, and recovery across the AsterGuard skills, PICERL-structured.Votes: 0GitHub stars: 10
- Irp Tool Abuse RceUse when responding to an agent tool being abused for code execution — the agent was driven to run attacker-supplied code or weaponize a dangerous tool (shell, code-interpreter, file-write, DB/admin API) to attacker ends. Coordinates identification, containment, eradication, and recovery across the AsterGuard skills, PICERL-structured.Votes: 0GitHub stars: 10
- JudgeDecide whether an attempt broke, held, or was inconclusive — from out-of-band evidence (canary, egress, state), never self-report — and feed proven breaks back into the shared memory so the system improves. The reusable evaluator for red team, evals, and continuous testing. Use whenever an attacker turn and a target response must be scored to a verdict with evidence.Votes: 0GitHub stars: 10
- Knowledge RecallAt the start of a task, pull the org's common knowledge and the relevant prior session memory so the work is informed by history — approved patterns, and past findings, fixes, decisions and waivers for this app or weakness. Use when beginning any build, review, scan, or ship on an app or area the team has touched before.Votes: 0GitHub stars: 10
- Local ScanPerform a security scan locally — run SAST (code sinks), SCA (SBOM+CVE), IaC, Dockerfile, secrets and AI-BOM collectors against a repo path or container image, and bootstrap any missing collector. Produces raw, normalized findings the graph skills consume. Use when a security engineer needs scan results on a repo or image without a hosted scanner.Votes: 0GitHub stars: 10
- Malicious Dependency TriageUse when the AI-BOM or SBOM flags a dependency or model artifact as suspicious — a poisoned package, a typosquat, or a known-bad model/package hash — and you need to enrich the artifact, map where it is used across the graph, check recent pulls/loads, and route escalate or close, without reverse-engineering or containment.Votes: 0GitHub stars: 10
- Mcp Tool AuditAudit an MCP server's tool schemas before an agent trusts them — detect tool-poisoning (malicious steering hidden in tool descriptions), least-privilege violations (granted scopes vs what the tool needs), and rug-pull (a tool whose description or source mutates between fetch and use). Use when connecting an agent to a new MCP server, reviewing the tools it already has, or as the MCP lane of skill-scan.Votes: 0GitHub stars: 10
- Memory CaptureAt the end of a session, PR, or assessment, distill the outcomes — decisions, findings, fixes, review verdicts, waivers and the reasoning behind them — and write them to the team's shared memory so future work starts informed. Use when wrapping up a task whose outcome should compound for the next agent.Votes: 0GitHub stars: 10
- Offensive EngineerOrchestrate an authorized penetration test of your own AI agent or app — authorize + scope, recon the attack surface, pick the highest-value path, run an adaptive multi-turn campaign, chain a proven break into a demonstrated compromise, and deliver a pentest report. Use when a security engineer red-teams an agent they own or are engaged to test, beyond a single behavioral episode.Votes: 0GitHub stars: 10
- Offensive TokenGate offensive execution behind a separate privileged token — present the org's privileged offensive credential (scope offensive:run, sent as the X-ARS-Offensive-Token header) on every behavior-changing attack against a live target, and refuse to execute offense without it. The everyday scan token (scan:run) can plan an attack but can never run one. Use at the start of any pentest / red-team execution; the gateway blocks offensive ops that lack this token.Votes: 0GitHub stars: 10
- Pentest ReportProduce the compliance-ready report for an authorized penetration test — exec summary, scope + authorization, methodology (attack plan, attacker model, canary types, budget), findings each with a proof-of-concept and ASR@budget + severity, the kill-chain narrative, remediation, and the regression-test handoff. Use to deliver an engagement, or as the reporting step of the pentest playbook.Votes: 0GitHub stars: 10
- Pivot On IndicatorUse when one indicator is confirmed interesting and you want to discover what it connects to — pivots through the security graph and knowledge corpus to related components, weaknesses, TTPs, and identities, expanding one lead into the set of entities to investigate next.Votes: 0GitHub stars: 10
- Playbook RunnerExecute a security-review playbook — a configurable YAML that composes the building-block skills + vendor packs into one named review (architecture / design / deployment / full-360 / pr-gate). Use when asked to run a named review, a review of a given kind (architecture/design/deployment/compliance), or to run/customize a review playbook; it resolves the playbook, runs its steps, applies its gate, and emits its report.Votes: 0GitHub stars: 10
- Post Incident ReviewUse when an agent incident response is complete or winding down and you need the lessons-learned pass — reconstruct what happened, grade what held and what failed, find the root cause and the gap to close, and turn each gap into a tracked recommendation (the detection gap feeds detection-as-code-agent-rules). Reads the engagement event stream; produces a PIR with SMART recommendations.Votes: 0GitHub stars: 10
- Pr GateRun a diff-scoped agentic-security review on a pull request and return a pass/fail gate — scope the scan to the change, red-team the risk it introduces, prove breaks with canaries, and block only on what the PR adds. Use when a developer (or CI) wants to security-check a PR/diff before merge or release, not assess a whole repo.Votes: 0GitHub stars: 10
- Proactive Pattern Campaign HuntUse when launching a proactive hunt seeded from a known attack campaign or pattern (an agentic kill-chain, a published exploit pattern, a prior incident's TTP set) — pull the pattern's indicators and TTPs from the knowledge corpus, correlate them against the target's graph and recorded events, and feed confirmed gaps to detection-as-code.Votes: 0GitHub stars: 10
- Prompt HardeningHarden an agent's system prompts and tool instructions — turn loose instructions into structured, injection-resistant prompts with explicit tool-use constraints, data-handling and refusal boundaries, and trust-boundary markers — as a reviewable remediation. Use when a review or incident finds weak/underspecified agent instructions, or to harden prompts as part of a full-360 or an IRP.Votes: 0GitHub stars: 10
- Proxy ReconRecord a live agent by routing its LLM or ingress traffic through the local AsterGuard proxy, producing a traffic corpus to profile and attack — no source code required. Use when a security engineer needs to assess a black-box agent, or capture real tool-calls and data flows from a running system.Votes: 0GitHub stars: 10
- ReconBuild the offensive attack map of a target agent and pick the highest-value path — enumerate exposed tools, identities, egress and stores, surface the lethal-trifecta legs (private data × untrusted input × outbound channel), over-privileged tools and anonymously-reachable stores, and rank by offensive reachability. Use as the first active step of an authorized pentest.Votes: 0GitHub stars: 10
- Record In EngagementUse when a runbook needs to document an action, verdict, decision, waiver, or note — append one typed event to the engagement's event stream (the engagement IS the SOAR case; comments are typed events) and optionally sync the structural record to shared memory.Votes: 0GitHub stars: 10
- Release ChecklistCut a clean, verified release of the skills pack — run the hermetic smoke gate, roll the changelog, tag and publish — so new features never ship on top of a broken pack. Use when a maintainer wants to release, tag a version, or verify the pack is release-ready before publishing.Votes: 0GitHub stars: 10
- RemediationTurn a finding into an enforceable, least-privilege policy — generate egress and identity policy as code (SPIFFE/SPIRE, cloud IAM, network egress allowlists, OPA/Rego, Cedar, Kubernetes NetworkPolicy/AuthorizationPolicy, DLP, the AsterVault PDP, and more) grounded in the data-flow graph. Use when a security engineer wants the fix, not just the finding — especially for exfiltration, over-broad egress, or over-privileged identity.Votes: 0GitHub stars: 10
- Report OutcomesThe terminal reports-&-outcomes generator for an authorized offensive engagement. After the scan + per-test behavioral red-team complete, fold the proven runs into the deliverables — the engagement report (composing pentest-report + risk-report), an outcomes summary (per-test verdicts, ASR@budget, the proven kill-chain), the audited canary evidence, a re-runnable regression suite of the proven breaks, and an archived-review record written to team memory. Use as the final step of the security-...Votes: 0GitHub stars: 10
- Report Writing GuidelinesThe reporting standard for the agent-security-ops library — the required structure, the mandatory "Runbook Used" header, evidence citation by artifact path + audit_id, redaction discipline, and where reports are written. Use as the reference every reporting runbook (agent-alert-report, agent-incident-report, detection-report) conforms to, so output is consistent, auditable, and traceable to procedure.Votes: 0GitHub stars: 10
- Risk ContextGive the agent the full risk CONTEXT for a finding or app — the model's feature vector (KEV, EPSS, reachability, data class, tool authority, blast radius, exposure, …) plus the attack path and control status — so it can calculate and explain risk itself, to the org's appetite, instead of consuming a black-box score. Use when a security engineer wants to reason about, prioritize, or calibrate risk, not just read a number.Votes: 0GitHub stars: 10
- Risk ReportEmit the assessment as an HTML Artifact — the security graph, attack-surface facets (reach, violated tools, exfil sinks, attack paths), findings by weakness and control, and the ARS. Use when a security engineer needs a shareable report at the end of a local assessment.Votes: 0GitHub stars: 10
- Sast GenerationGenerate SAST tests from the built security graph — target-grounded semgrep rules (and static assertions) that prove each weakness's code/config sink is present or absent. Use when a security engineer needs static tests derived from the structure of an app or agent, not a generic registry scan. The static counterpart to dast-generation.Votes: 0GitHub stars: 10
- Sca GraphBuild the SCA graph — the SBOM dependency tree plus a CVE overlay — from a local scan. Produces package nodes linked by depends_on, with cve nodes attached by affected_by, deduped and severity-ranked. Use when a security engineer needs the dependency/vulnerability structure of a repo or image, or asks why a CVE count is what it is.Votes: 0GitHub stars: 10
- Scan AgentTurn a plain-language instruction into an autonomous, authorized, background security-testing agent. A security engineer says "scan github.com/acme/foo", "scan it every week", or "gate our PRs" and this dispatches a background job that runs the full security-engineer-scan pipeline — recon + plan, per-test behavioral red-team with canary tokens, gateway-backed remediation, and the report/outcomes — writing results to the engagement store and notifying on completion. Use to run offensive assess...Votes: 0GitHub stars: 10