xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.
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 xalgorix/xalgorix --skill graphql-api-securitygit clone --depth 1 https://github.com/xalgorix/xalgorixWrote 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/xalgorix/xalgorix/graphql-api-security)<a href="https://agentmods.dev/skills/xalgorix/xalgorix/graphql-api-security"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/graphql-api-security/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/xalgorix/xalgorix/graphql-api-security"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/graphql-api-security.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.00036 | $0.01450 |
| Opus 5.5 | $0.00014 | $0.00580 |
| Sonnet 5.5 | $0.00007 | $0.00290 |
| Haiku 4.5 | $0.00004 | $0.00145 |
Grade A, and why
graphql-api-security 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
code=$(curl -sk -o /dev/null -w "%{http_code}" -X POST "https://TARGET/$path" \ How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GraphQL API Security
Purpose
Comprehensive GraphQL API testing: schema intelligence, authorization bypass, resource consumption, and mutation abuse.
Preconditions
- A GraphQL endpoint has been identified (POST to /graphql or similar)
- At least one valid session (for authenticated queries)
Attack Surface Signals
- POST to /graphql, /query, /api/graphql, /v1/graphql
- JSON responses with
data/errorsstructure - Apollo/Relay/urql client libraries in JavaScript
Content-Type: application/jsonwithqueryin the body
Methodology
Endpoint Discovery
for path in graphql graphql/v1 api/graphql query gql; do
code=$(curl -sk -o /dev/null -w "%{http_code}" -X POST "https://TARGET/$path" \
-H "Content-Type: application/json" -d '{"query":"{__typename}"}')
[ "$code" = "200" ] && echo "[GRAPHQL] /$path"
done
Introspection (Reconnaissance, NOT a standalone vulnerability)
curl -sk -X POST "https://TARGET/graphql" \
-H "Content-Type: application/json" \
-d '{"query":"{__schema{types{name fields{name type{name}}}}}"}' | jq .
Introspection is attack-surface intelligence. Report it only when combined with a separately confirmed access-control or data-exposure issue. If introspection reveals admin-only types or mutation names, use them for BOLA/BFLA testing below.
BOLA (Object-Level Authorization)
# Query for another user's data by ID
curl -sk -X POST "https://TARGET/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer USER_A_TOKEN" \
-d '{"query":"{user(id:\\"USER_B_ID\\"){email role passwordHash}}"}'
BFLA (Function-Level Authorization)
# Try admin-only mutations with a regular user token
curl -sk -X POST "https://TARGET/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer USER_TOKEN" \
-d '{"query":"mutation{deleteUser(id:\\"123\\"){success}}"}'
Field-Level Authorization
# Request sensitive fields that may not be field-level protected
curl -sk -X POST "https://TARGET/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer USER_TOKEN" \
-d '{"query":"{me{id email role ssn apiKey internalNotes deletedAt}}"}'
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.
- 2mo ago First seen · 153 lines · 36 tokens per session scan A d19f26499f7c
graphql-api-security is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 1,450 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.
graphql-api-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| graphql-api-securityxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 36 | Claude Code, Codex |
| cis-aws-foundations-6.5CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 23 | Claude Code, Codex |
| cis-aws-foundations-2.1.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 19 | Claude Code, Codex |
| cis-aws-foundations-2.4CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 20 | Claude Code, Codex |
| cis-aws-foundations-2.7CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 24 | Claude Code, Codex |
| cis-aws-foundations-6.1.2CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 25 | Claude Code, Codex |
| cis-aws-database-3.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 17 | Claude Code, Codex |