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 access-control-and-idorgit 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/access-control-and-idor)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/access-control-and-idor"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/access-control-and-idor/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/access-control-and-idor"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/access-control-and-idor.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.00057 | $0.01694 |
| Opus 5.5 | $0.00023 | $0.00678 |
| Sonnet 5.5 | $0.00011 | $0.00339 |
| Haiku 4.5 | $0.00006 | $0.00169 |
Grade A, and why
access-control-and-idor 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.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Access Control and IDOR
Overview
Broken access control is the most common serious finding in real diffs, and it rarely looks dangerous: there is no exec, no string-built query — just a lookup by id with nothing after it. You find it by asking one question of every entry point the diff touches:
"If user A sends user B's id, what stops it?"
If the answer is not a line of code you can point at, it is a finding.
1. Object-Level Authorization (BOLA / IDOR — CWE-639, CWE-862)
Enumerate every id the new code accepts: path, query, body, header, nested in a JSON object, inside a batch array, in a GraphQL argument, in a WebSocket message. Follow each to the data layer.
// ❌ any authenticated user reads any invoice
inv, err := h.repo.Get(ctx, r.PathValue("id"))
// ✅ scoped to the caller's organisation in the query itself
inv, err := h.repo.GetForOrg(ctx, r.PathValue("id"), auth.OrgID(ctx))
// ❌ Spring: findById alone, the principal is never consulted
@GetMapping("/orders/{id}") fun get(@PathVariable id: UUID) = repo.findById(id)
// ✅ ownership is part of the lookup
@GetMapping("/orders/{id}") fun get(@PathVariable id: UUID, @AuthenticationPrincipal u: User) =
repo.findByIdAndCustomerId(id, u.customerId) ?: throw NotFound()
Check the second id too: an endpoint that verifies the project in the path, then updates the task whose id is in the body, without checking the task belongs to that project.
// ❌ project ownership checked, task id from the body never tied to it
await assertProjectOwner(req.params.projectId, user.id);
await db.task.update({ where: { id: req.body.taskId }, data: { title } });
// ✅ the task is looked up inside the checked project
await db.task.update({ where: { id: req.body.taskId, projectId: req.params.projectId }, data: { title } });
2. Function-Level Authorization (BFLA — CWE-285, CWE-863)
A privileged action needs a role check, not just "logged in".
- Spring Security: a new
requestMatchers(...).permitAll()or.authenticated()on an admin path; a@PreAuthorizeremoved from a method; a check on the URL that a second mapping of the same handler bypasses. - Quarkus: a new resource method with no
@RolesAllowedwhere its class's siblings have one;@PermitAlladded. - Express/Nest/Fastify: a route registered before the auth middleware, or on a router that never mounts it.
- Django/DRF:
permission_classes = [AllowAny], a view missing@login_requiredbeside decorated siblings.
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 · 133 lines · 57 tokens per session scan A 3e53e9343ae9
access-control-and-idor is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 1,694 once invoked, about $0.0002 per session on Opus 5.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-10-09.
Other skills, from other repositories
agent-crdt-synchronizer
Agent skill for crdt-synchronizer - invoke with $agent-crdt-synchronizer.
agent-quorum-manager
Agent skill for quorum-manager - invoke with $agent-quorum-manager.
agent-dev-backend-api
Agent skill for dev-backend-api - invoke with $agent-dev-backend-api.
agent-docs-api-openapi
Agent skill for docs-api-openapi - invoke with $agent-docs-api-openapi.
agent-gossip-coordinator
Agent skill for gossip-coordinator - invoke with $agent-gossip-coordinator.
agent-raft-manager
Agent skill for raft-manager - invoke with $agent-raft-manager.