Aetox security

From Mikedev115/Aetox · View interactive version

Aetox security is an AI agent skill from the GitHub repository Mikedev115/Aetox. ตอนต้องตรวจความปลอดภัยของระบบ โค้ดเบส การเปลี่ยนแปลง หรือคอนฟิก หรือถูกถามว่าปลอดภัยไหม เจาะได้ไหม รวมถึงแอปที่มีเอเจน เครื่องมือ หรือ MCP

How to use this skill

Skill file

Aetox Security

A security finding is an attack path someone can walk, shown at a line.

Everything else is hardening advice, and is labelled as such. The two are

never mixed in one list, because the reader is deciding whether to ship.

Two sizes

One change (a diff, PR, commit): read the diff for anything that

touches auth, secrets, crypto, validation, a path, a shell, a query, the

network, or a permission check. Then one hop out: who calls the changed

code, and what reaches each new input. For every guard the diff removes or

loosens, git log -S on the removed line; a removed check is often the fix

for a bug that is about to come back. A refactor is high risk until the

callers show it changed nothing.

A system (a folder, a service, an app): do not read everything. Map

first, in this order:

  1. Entry points: HTTP handlers, CLI arguments, files read, messages

consumed, tool calls the model can make, uploads.

  1. Trust boundaries: where data from outside first arrives, and where it is

first checked.

  1. Privileged operations: shell, filesystem writes, network, database,

money, credentials.

  1. Secrets: where they are stored, loaded, logged.

Then walk each path from an entry point to a privileged operation. Depth

follows size: under 20 files, read them; up to 200, entry points and one

hop; larger, the critical paths only. The report names what was not read.

Before judging

  1. Learn how this project already guards itself: its auth middleware, its

validation layer, its escaping, its secret store. A finding is a place

that skips the project's own guard, or the guard missing everywhere.

  1. Trace, do not pattern-match. exec in a file is not a finding; input

from outside reaching exec with no boundary between them is.

  1. Run what is there. The tests on the touched code. A scanner if one is

installed (references/scanners.md); a scanner's line is a lead, and

the code is read before it becomes a finding. Installing a scanner is

the user's decision; ask.

  1. Reproduce only on a copy or a test target the user named, with nothing

leaving the machine. An attack shown against a live system, or data sent

to a third-party service to "check it", is not a review step.

What counts

The category list with the questions to ask for each is

references/checklist.md. In one line each: injection (shell, SQL, path,

template, deserialisation); auth and authorization (bypass, another user's

object, privilege escalation, session); secrets and crypto (in source, in

history, weak algorithm, bad randomness, TLS verification off); data

exposure (secrets or personal data in logs, errors, debug endpoints); code

execution (eval, unsafe deserialise, dynamic load of a name from input);

supply chain (unpinned, known-vulnerable, install scripts); configuration

(fail-open defaults, permissive CORS, listening on all interfaces);

TOCTOU on a security decision.

An app with an agent, tools or MCP servers, this one included, has a

second list (the agentic section of the checklist): content the model

reads (a tool result, a fetched page, a file) that can steer it; a tool

reachable around its approval gate; a sandbox root escaped by .. or a

symlink; a subagent with wider rights than its parent; a memory or skill

file that content the model read can write; a server installed from a name

alone.

What is not a finding

Adapted from Anthropic's exclusion list, which exists because a review that

reports these is ignored along with everything else in it:

user asked about availability.

manager). A secret in source or in the repository's history is.

look", not under findings.

The shape of a finding

Every finding carries all five, or it is hardening advice:

scenario, not a category name.

users' data, or money) · High (authenticated, or one more condition) ·

Medium (needs an unlikely precondition or an insider) · Low.

(plausible from reading, not traced), with Verify first when someone

should confirm before acting.

idiom. Proposed, not applied, unless the user asks. A fix is checked the

way a bug fix is (aetox-verify): the attack that worked now fails.

A found secret is reported by its location and kind, never quoted.

None identified is a complete answer and beats an invented one.

Report

Ordered for someone about to press a button:

  1. One line: ship · fix first · needs a deeper audit, and why.
  2. Critical and High findings, in the shape above.
  3. Medium and Low, one line each.
  4. Worth a look: hardening advice, labelled as advice.
  5. What was read, what was run and what it said, what was not covered.

Hand-offs

aetox-code-review; this skill supplies its security section.

aetox-verify before saying it is closed.

risks section; this skill is not run on a proposal.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.