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.
npx skills add makifbaysal/tasktrooper --skill security-hard-exclusions-and-precedentsgit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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.
[](https://agentmods.dev/skills/makifbaysal/tasktrooper/security-hard-exclusions-and-precedents)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/security-hard-exclusions-and-precedents"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/security-hard-exclusions-and-precedents/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/security-hard-exclusions-and-precedents"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/security-hard-exclusions-and-precedents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.01374 |
| Opus 5.5 | $0.00018 | $0.00550 |
| Sonnet 5.5 | $0.00009 | $0.00275 |
| Haiku 4.5 | $0.00005 | $0.00137 |
Grade A, and why
security-hard-exclusions-and-precedents scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Open redirect, tabnabbing, XS-Leaks, prototype pollution: report only with a concrete chain to real impact (token theft via redirect in an OAuth flow, pollution reaching an auth decision or a `child_process` option). How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hard Exclusions and Precedents
Overview
Some categories produce far more noise than signal in a diff review, or are handled by another process. They are excluded up front so you never spend a finding — or a developer's revision — on them. Precedents settle the cases that come up every week, so two reviews of the same pattern reach the same answer.
Core principle: an exclusion is not a judgement that the issue is harmless; it is a judgement that this review is the wrong place for it.
1. Never Report
Availability and load
- Denial of service, resource exhaustion, memory or CPU blow-up, missing rate limiting, unbounded loops.
- Regex injection and ReDoS.
Hardening without a vulnerability
- Missing security headers, HSTS advice, TLS/HTTPS in local development, "should use a stronger setting" with no concrete attack.
- Missing input validation on a field that has no security effect.
- Missing audit logs; log spoofing / log injection.
Out of this review's scope
- Outdated libraries in general — dependency risk is judged by supply-chain-and-dependency-review, version by version.
- Memory-safety issues in memory-safe languages (Go, Java, Kotlin, C#, Rust safe code, Python, JS).
- Anything only in test files, fixtures, examples or documentation (Markdown, comments).
- Theoretical race conditions and timing issues without a demonstrated window and impact.
- Secrets stored on disk with otherwise appropriate protection (a mounted secret file, an OS keychain).
- Pre-existing issues the diff did not introduce or enable.
Usually noise — only at very high confidence
- Open redirect, tabnabbing, XS-Leaks, prototype pollution: report only with a concrete chain to real impact (token theft via redirect in an OAuth flow, pollution reaching an auth decision or a
child_processoption).
2. Precedents
| Situation | Ruling |
|---|---|
| Logging a secret, token, password or session id | Vulnerability (CWE-532) |
| Logging a URL | Fine — unless the URL carries a token or credential in the query |
| UUIDv4 ids in URLs | Unguessable; enumeration is not the attack — the missing ownership check is |
| Values from environment variables, CLI flags, server config files | Trusted input |
| ORM query builders, parameterised SQL | Safe; raw/text()/string-built SQL is not |
| React, Vue, Angular, Svelte templates | Safe by default; only dangerouslySetInnerHTML, v-html, {@html}, bypassSecurityTrust*, direct DOM sinks count |
| Missing permission check in client-side JS/TS or a mobile UI | Not a finding — the server is the boundary; check the server |
| SSRF or path traversal in browser code | Not a finding — the browser is the attacker's own machine |
| SSRF where the attacker controls only the path, not host or scheme | Not reported |
Shell scripts and .ipynb notebooks |
Injection only with a specific untrusted-input path into them |
| GitHub Actions inputs | Only when an untrusted event (fork PR, issue, comment) can trigger them; workflow_dispatch inputs come from people with write access |
| Resource leaks (unclosed files, connections) | Bugs, not vulnerabilities |
| Crashes, panics, 500s | Bugs, unless the error path itself leaks data or fails open |
| Hard-coded non-secret config (project ids, hostnames, public client ids) | Fine |
Dev fallback such as os.environ.get("SECRET_KEY", "dev") |
Fine — unless production demonstrably runs without the variable set |
Publishable keys (Stripe pk_, Firebase web config, analytics write keys) |
Fine by design |
| Secret in a test fixture | Excluded when it is a dummy or a documented test key; a real production credential pasted into a test is still a live secret |
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.
- 4d ago First seen · 84 lines · 45 tokens per session scan A f227aefab6d8
security-hard-exclusions-and-precedents is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,374 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-09.
Other skills, from other repositories
github-pr-workflow
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
agent-code-review-swarm
Agent skill for code-review-swarm - invoke with $agent-code-review-swarm.
agent-swarm-pr
Agent skill for swarm-pr - invoke with $agent-swarm-pr.
agent-reviewer
Agent skill for reviewer - invoke with $agent-reviewer.
agent-code-analyzer
Agent skill for code-analyzer - invoke with $agent-code-analyzer.
agent-pr-manager
Agent skill for pr-manager - invoke with $agent-pr-manager.