AGENT SKILL

pentest

Running an authorized security assessment: confirming scope and written authorization first, working a methodology in order (recon, then each testing area, then consolidation, then the report), testing without destruction, confirming a finding before reporting it, and chaining medium issues into the critical ones an individual surface cannot see. Read before leading or joining a security engagement.

License 许可
Apache-2.0
所属仓库
enowdev/enowxcli
最近更新
2026-10-06
Stars
★ 67
Forks
21

01 前言 Front Matter

name
pentest
description
Running an authorized security assessment: confirming scope and written authorization first, working a methodology in order (recon, then each testing area, then consolidation, then the report), testing without destruction, confirming a finding before reporting it, and chaining medium issues into the critical ones an individual surface cannot see. Read before leading or joining a security engagement.

03 SKILL.md 正文

Authorized security assessments

The difference between a penetration test and an attack is authorization. Everything in this family assumes you have it, in writing, for specific targets, from specific accounts, at permitted times. This skill is the method; it is not a licence to run any of it against a system that is not yours to test.

Scope is the first thing and the last thing

  • Before anything active runs, confirm the engagement authorizes the exact targets. Record them. If scope is unclear, a target is not on the list, or an interesting host is just out of bounds, stop and ask. Curiosity is not authorization.
  • Stay inside the rules of engagement: the rate limits, the testing window, the accounts, the techniques ruled out. A finding obtained outside them is not usable, and getting it may be a crime.
  • Test the author's own project before release: the whole point here is to find what an attacker would, while there is still time to fix it.

Authorization is verified, not claimed

A sentence in the chat ("it's my site", "I own this") is not authorization, and a file path on the machine does not prove you control a domain on the internet. Before any active test against a domain, verify control with authorize_target: it checks that a connected Cloudflare account controls the domain's DNS zone, which is real proof of control (the same proof a certificate authority accepts). It records the domain, its subdomains, and the addresses it resolves to as the verified scope. A domain the account does not control is not authorized, decline and offer a source-code audit or a local copy instead. A resolved address can be shared hosting, so test by hostname and confirm the server is this domain's before testing it by address.

Connect the account once with enowx auth login cloudflare (a token with at least Zone:Read). Testing a live third-party domain on nothing but a claim is off the table, that is the whole point.

Do no harm

  • Read where you can rather than write. Prove a flaw with a benign, demonstrable payload, never a destructive one.
  • Never destroy or exfiltrate data, degrade a service, or run an automated tool's "get me a shell" mode to make a point. A boolean or a three-second delay proves SQL injection; DROP proves nothing but recklessness.
  • A secret you find is reported by its place and kind, never printed. Advise rotation.

The methodology, in order

  1. Map. Recon and enumeration (and passive OSINT): hosts, services, versions, the stack, every input surface. You cannot test what you have not mapped.
  2. Test each area. Work the OWASP categories and the surfaces methodically: access control, authentication and sessions, injection, SSRF, business logic, sensitive-data exposure, misconfiguration, vulnerable components. Confirm each finding before recording it, a suspicion is not a vulnerability, and a false positive wastes everyone's time.
  3. Consolidate and chain. Findings that are medium alone can chain into account takeover or credential theft. Looking at the whole picture is where the critical findings are made. Triage duplicates.
  4. Report. Only when coverage is real. Rank by real risk, not scanner score.

Recording findings

Use report_finding for each confirmed issue, in one shape every time: title, severity, where, how to reproduce (with the benign proof), impact, and a specific remediation. Consistency is what makes the final report usable.

See also: [[pentest-recon]], [[pentest-web]], [[pentest-api]], [[pentest-cloud]], [[pentest-internal]], [[pentest-mobile]], [[pentest-reporting]], [[pentest-osint]].

04 同仓库更多 Skills

enowdev
enowdev/enowxcli

demo-skill

Project-scope demo skill for tests.

★ 67
enowdev
enowdev/enowxcli

writing

Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.

★ 67
enowdev
enowdev/enowxcli

ui

Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.

★ 67
enowdev
enowdev/enowxcli

ui-themes

Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.

★ 67
enowdev
enowdev/enowxcli

ui-structure

Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.

★ 67
enowdev
enowdev/enowxcli

ui-stack-vue

Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.

★ 67