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:- 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.
- Fix the vulnerabilities found during testing and verify the fixes to strengthen the application.
- Move to production testing with dedicated test accounts and rules that protect customer data and external recipients.
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
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.
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
- Open Target Inventory.
- Select the target.
- Open the Guardrails tab.
- Set Rate Limiting if the default automatic pacing is not appropriate.
- Add Include entries for systems that agents should test.
- Add Exclude entries for systems that agents must avoid.
- Add Rules for behavior constraints such as avoiding destructive actions.
- Add Custom Values for context such as
tenant_slug,workspace_id,organization_id, orenvironment. - Save changes before starting an assessment or Agent.
Test in production
For authenticated black-box testing, provide test credentials. Repository access is not required.- 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.
- Add synthetic records to each account so agents can test access to data owned by the other account.
- Store both credentials and enable dual credential mode for the assessment.
- Add the test account, organization, and workspace IDs to Custom Values. Identify the email addresses or other destinations that you control for test messages.
- 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: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