Skip to content

pentest scope template

github-actions[bot] edited this page Apr 26, 2026 · 2 revisions

Pentest Scope Template

Reference template for penetration test engagements against ɳSelf deployments.

Generating a Scope Document

# Requires pentest plugin + Business+ license
nself pentest-kit generate --output-dir ./pentest-docs

This renders ./pentest-docs/pentest-scope.md populated with the deployment's actual IP ranges, ports, subdomains, and API endpoints.

Scope Document Structure

  1. In-scope surfaces, IP ranges, ports, subdomains, API endpoints
  2. Out-of-scope surfaces, Cloudflare, Stripe, GitHub Actions, third-party SaaS
  3. Test credentials, pentest Hasura role + JWT
  4. Rules of engagement, no DoS, no social engineering, 72h critical reporting
  5. Emergency stop procedure, contact, protocol

Provisioning Pentest Credentials

nself pentest-kit credentials

Creates a pentest Hasura role with pentest:true metadata. The role has:

  • Read access to non-sensitive tables.
  • No access to admin secrets, audit logs, or billing data.
  • 7-day JWT expiry.

Importing Findings

After the engagement, import findings from the structured report:

nself pentest-kit remediation --import findings.json

Track progress:

nself pentest-kit status

Compliance References

  • SOC 2 CC7.1, System monitoring and vulnerability management
  • PCI-DSS 11.3, Penetration testing
  • HIPAA Security Rule, Periodic security testing (addressable)

Related

Home


Getting Started


Commands


Features


Configuration


Plugins (87 + 10 monitoring)

Free (25)
Pro (62)
Planned (26)
  • plugin-audit
  • plugin-blog
  • plugin-checkout
  • plugin-commerce
  • plugin-drm
  • plugin-export
  • plugin-flow
  • plugin-import
  • plugin-ldap
  • plugin-mailgun
  • plugin-media
  • plugin-oauth-providers
  • plugin-pages
  • plugin-postmark
  • plugin-rate-limit
  • plugin-reports
  • plugin-saml
  • plugin-scheduler
  • plugin-sendgrid
  • plugin-sso
  • plugin-subscription
  • plugin-thumb
  • plugin-transcoder
  • plugin-twilio
  • plugin-waf
  • plugin-watermark

Guides


Architecture


Reference


Licensing


Security


Brand


Operations


Contributing


Admin


Changelog


All commands (52)

Clone this wiki locally