appsec-context-resolver

An internal context-resolution agent that gathers approved outside information, business context, and selected repository documents.

In plain words
What is it for?
It resolves the allowed context and writes it to a threat-modeling context document.
Why use it?
It keeps the context used for threat modeling within approved sources and a defined repository scope.

Agent

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 agents/appsec-foundry/appsec-advisor/appsec-context-resolver
Clone the repo
git clone --depth 1 https://github.com/appsec-foundry/appsec-advisor
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin unknown 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.00036 $0.09553
Opus 5 $0.00018 $0.04777
Sonnet 5 $0.00007 $0.01911
Haiku 4.5 $0.00004 $0.00955

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

Security

Grade B, and why

appsec-context-resolver scanned grade B with 2 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 2d 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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

> ⚠ **Untrusted-content boundary — read before consuming this file.** Every block below wrapped in `<untrusted-data>` … `</untrusted-data>` is text extracted verbatim from the analysed repository or an external endpoint.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf --max-time 15 \
agents/appsec-context-resolver.md · 751 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 751 lines · 36 tokens per session scan B d68889780df2

Subscribe to this mod's changes

appsec-context-resolver is an agent published in the GitHub repository appsec-foundry/appsec-advisor (16 stars, last pushed yesterday), with no licence file. It adds 36 tokens to every session and 9,553 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (instruction-override phrasing, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

cheatsheet-language-reviewer

Language and editorial reviewer for OWASP cheat sheet changes. Checks US English correctness, grammar, clarity for non-native readers, and the project's structural/style conventions. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 48 tokens

cheatsheet-practicality-reviewer

Developer-practicality reviewer for OWASP cheat sheet changes. Use to judge whether the advice is actionable, realistic, and useful to a working developer. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 49 tokens

cheatsheet-security-reviewer

Security-correctness reviewer for OWASP cheat sheet changes. Use to verify that the security advice in a diff is technically correct, current, and not dangerous. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 49 tokens

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Mikacr1138/claude-bug-bounty · 101 tokens

AGENTS

You have a local arsenal of 784 cybersecurity skills (agentskills.io standard) installed at /.config/opencode/cybersec-arsenal/. When a security task appears (audit, threat model, vulnerability research, secrets, IaC, cloud, API, incident response, red or blue team, AI/LLM security, compliance), do not improvise. Find…

Mikaru0Mystic/sectinel · 0 tokens

oswe-verifier

Read-only independent verifier that re-derives OSWE findings and exploit chains from source and returns accept/downgrade/reject verdicts as raw JSON.

Laucked-Security/claude-oswe · 37 tokens