Skip to main content
Scope and guardrails tell MindFort what it is authorized to test and which actions require extra care. Review the target scope and any additional rules before starting assessments or Agents.

Default protection and additional rules

MindFort has default guardrails enabled to keep testing within the authorized scope and prevent catastrophic damage. These protections apply even when you add no custom behavior rules. The purpose of a penetration test is to find as many vulnerabilities as possible within the authorized scope. Additional rules should address specific needs, such as protecting customer records or preventing external messages. Broad restrictions can prevent agents from proving that a vulnerability exists.

Choose a testing environment

For most teams, we recommend this sequence:
  1. Start in an isolated development or staging environment with test data and no additional behavior rules. Default guardrails remain enabled. Keep the target scope accurate.
  2. Fix the vulnerabilities found during testing and verify the fixes to strengthen the application.
  3. Move to production testing with dedicated test accounts and rules that protect customer data and external recipients.
Most applications are not ready to withstand testing by a coordinated group of security agents. Expect testing to uncover vulnerabilities, especially before you strengthen the application. Default guardrails do not make a vulnerable application immune to the effects of testing. Check that staging does not use real customer data or send messages through production integrations. If it does, isolate those resources or add rules that protect them. See Test in production for account setup and an example rule.

How guardrails affect coverage

MindFort tests whether a vulnerability can be exploited. Some tests need to create a record, change test data, or attempt access from another account. A rule such as “Do not change any data” can block those tests. Write rules that protect specific resources while permitting tests on approved data. For example, prohibit changes to customer records but allow changes to records in your dedicated test accounts. Review suggested rules such as Preserve Data Integrity before you use them. Check whether the rule permits the actions needed for your test. If it prevents all data changes, replace that broad restriction with a specific boundary for test data.
A completed assessment does not mean every coverage check finished. Some checks can remain incomplete or untested. A higher plan or a longer assessment does not override guardrails or guarantee full coverage. Review restrictions and access before spending credits on another run.

What Scope Controls

Use scope configuration to define:
  • primary domains and application URLs
  • additional allowed domains or routes that are part of the same target
  • in-scope systems agents should include
  • out-of-scope systems agents should exclude
  • important tenant, workspace, account, or environment values
  • authentication context and credential role boundaries
Keep the target scope as specific as possible. A precise scope gives agents stronger context and helps reduce noisy exploration.

Common Scope Patterns

Guardrail Types

MindFort agents use guardrails to guide testing within approved boundaries:
  • Rate Limiting controls agent request pacing with Auto, Aggressive, Reduced, and Extreme Stealth modes.
  • Scope stores Include and Exclude entries for domains, IPs, CIDRs, routes, or other testing boundaries.
  • Rules store additional constraints for agent behavior.
  • Custom Values store target-specific context agents should know while testing.
Use Scope for testing boundaries, Rules for behavior instructions, and Custom Values for facts. For example: Do not put behavior instructions in Custom Values or repeat scope settings as custom rules. Avoid rules such as “Stop on any authentication failure” unless you intend to stop testing on temporary session failures. Agents already handle routine authentication recovery.

Configure Scope

  1. Open Target Inventory.
  2. Select the target.
  3. Open the Guardrails tab.
  4. Set Rate Limiting if the default automatic pacing is not appropriate.
  5. Add Include entries for systems that agents should test.
  6. Add Exclude entries for systems that agents must avoid.
  7. Add Rules for behavior constraints such as avoiding destructive actions.
  8. Add Custom Values for context such as tenant_slug, workspace_id, organization_id, or environment.
  9. Save changes before starting an assessment or Agent.
The Scope modal supports bulk entry for Include and Exclude items. Add one domain, IP, CIDR, route, or other scoped item per line.

Test in production

For authenticated black-box testing, provide test credentials. Repository access is not required.
  1. Create two dedicated test accounts. To test isolation between customers, place them in separate test organizations or tenants. Check that neither account can switch to, administer, or impersonate a real customer account through its normal permissions.
  2. Add synthetic records to each account so agents can test access to data owned by the other account.
  3. Store both credentials and enable dual credential mode for the assessment.
  4. Add the test account, organization, and workspace IDs to Custom Values. Identify the email addresses or other destinations that you control for test messages.
  5. Add a rule that permits tests between those accounts and limits data changes and messaging to those accounts.

Example production rule

Replace the placeholders with your test account IDs and approved destinations before saving this rule:
Adjust the rule for the features you need to test. Allowing access attempts between the two test accounts lets MindFort investigate broken access controls without using real customer records as test data. An account named “test” is not isolated if it can access customer data. Use application permissions to limit its normal access, and use guardrails to define the permitted testing actions. Guardrails guide agent behavior; they do not isolate your production data or integrations. Use staging when you cannot accept effects on production. Where possible, configure your application to route test messages to destinations you control.

Write specific rules

Keep a broad restriction if that is the boundary you need. Tests that require the prohibited action can remain incomplete or untested.

Examples

Tenant-Aware SaaS App

Multi-Domain Login Flow

Before Launch

Confirm:
  • the target is verified
  • stored credentials are dedicated test accounts
  • login instructions include every redirect and required intermediate step
  • include and exclude entries are current
  • behavior rules cover sensitive workflows
  • rules permit the intended tests on approved test data
  • test messages can reach only approved destinations
  • WAF allowlisting is complete if your infrastructure filters automated traffic
For authentication setup, see Authentication & Credentials. For firewall setup, see WAF Whitelisting. After the run, review Coverage. If many checks remain incomplete, read their summaries and check your guardrails before starting another assessment.
Last modified on November 13, 2026