CHROME WEB STORE - HOST PERMISSIONS JUSTIFICATION
NSPM Power Tools v3.3.0

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REQUESTED PERMISSIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Host Permissions: <all_urls> (in content_scripts.matches)
Optional Host Permissions: <all_urls>

Standard Permissions:
- activeTab: Access the currently active tab
- storage: Store user settings and configuration
- cookies: Read authentication tokens from FireMon sessions
- scripting: Inject scripts to add bulk operation UI elements


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY HOST PERMISSIONS ARE REQUIRED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. FIREMON INSTANCES ARE HOSTED ON ARBITRARY DOMAINS

FireMon Security Manager is enterprise software that organizations deploy on their own infrastructure. Unlike SaaS products with fixed domains, FireMon can be accessed via:

• On-premises deployments with internal domains
  Examples: firemon.company.local, security.internal.corp, 192.168.1.100

• Custom vanity domains
  Examples: firemon.acme.com, security.widgets.org, compliance.example.net

• Cloud deployments with variable URLs
  Examples: customer1.firemon.cloud, firemon.aws.company.com

• IP addresses (common in enterprise environments)
  Examples: https://10.0.0.50, https://172.16.1.100:443

There is NO fixed domain pattern we can match. Each organization's FireMon instance has a unique URL that we cannot predict.


2. CONTENT SCRIPTS MUST RUN ON FIREMON PAGES

The extension adds bulk operation capabilities by injecting content scripts that:

• Add checkbox selection UI to ticket and device tables
• Insert bulk action buttons into FireMon's existing toolbars
• Intercept and enhance FireMon's native UI elements
• Listen for page navigation within FireMon's single-page application
• Extract authentication tokens from the user's existing FireMon session

These UI enhancements MUST run as content scripts on the FireMon pages themselves. They cannot be implemented via popup-only interactions because:

• The extension needs to modify the DOM of FireMon pages
• Bulk operations require direct interaction with FireMon's UI elements
• Real-time selection state must be maintained as users navigate
• Content scripts enable seamless integration with FireMon's native interface


3. USER CONFIGURATION APPROACH IS NOT FEASIBLE

We cannot ask users to manually specify their FireMon domain because:

• Many enterprise users don't understand manifest permissions
• Manual configuration creates friction and support burden
• Users may have multiple FireMon instances (dev, staging, prod)
• FireMon URLs can change (migrations, infrastructure updates)
• Content scripts must be registered at install time in Manifest V3


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW WE MINIMIZE PRIVACY IMPACT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Despite broad host permissions, the extension is privacy-focused:

1. CONTENT SCRIPTS ONLY ACTIVATE ON FIREMON PAGES

All content scripts check the URL path before executing:

   if (!window.location.pathname.includes('/policyoptimizer/') &&
       !window.location.pathname.includes('/securitymanager/') &&
       !window.location.pathname.includes('/policyplanner/') &&
       !window.location.pathname.includes('/admin/')) {
       return; // Do nothing on non-FireMon pages
   }

The extension is completely inert on non-FireMon websites.


2. ZERO DATA TRANSMISSION

• No external API calls to third-party servers
• No telemetry or analytics
• No data collection of any kind
• All operations are local within the user's browser
• Extension only communicates with the user's own FireMon instance


3. TRANSPARENT OPERATION

• Open source code available for review
• All functionality is user-initiated (no background actions)
• Clear UI indicators when extension is active
• Detailed operation logs in browser console
• No hidden or obfuscated behavior


4. MINIMAL ATTACK SURFACE

• No eval() or dynamic code execution
• No external script loading
• Strict Content Security Policy
• No web accessible resources
• No persistent background processes


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT DATA IS ACCESSED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The extension only accesses data on FireMon pages for legitimate functionality:

1. AUTHENTICATION TOKENS (cookies permission)
   • Read authToken cookie from FireMon session
   • Used to authenticate API calls to user's FireMon instance
   • Never transmitted outside user's FireMon instance
   • Required for all FireMon API operations

2. PAGE CONTENT (host permissions)
   • Read ticket lists to enable bulk selection
   • Read device tables to add license management buttons
   • Read workflow data to determine available actions
   • Modify DOM to inject UI enhancements
   • All modifications are purely cosmetic/functional additions

3. USER SETTINGS (storage permission)
   • Store user's FireMon instance URL
   • Save authentication method preference
   • Remember optional feature toggles
   • All stored locally, never transmitted

4. ACTIVE TAB (activeTab permission)
   • Determine which FireMon page user is viewing
   • Context-aware feature activation
   • Required for popup to communicate with content scripts


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALTERNATIVE APPROACHES CONSIDERED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. SPECIFIC DOMAIN PATTERNS
   ❌ Not feasible: FireMon instances use arbitrary domains
   ❌ Would exclude on-premises deployments with .local domains
   ❌ Would exclude IP address-based deployments
   ❌ Would require constant updates as customers add instances

2. OPTIONAL HOST PERMISSIONS (USER GRANTS)
   ⚠️ Partially implemented: We use optional_host_permissions for <all_urls>
   ⚠️ Limitation: Content scripts must be declared at install time
   ⚠️ Limitation: Cannot dynamically register content scripts for specific domains in MV3
   ⚠️ Would break core functionality requiring content script injection

3. POPUP-ONLY IMPLEMENTATION
   ❌ Not feasible: Bulk operations require DOM modification
   ❌ Cannot add checkboxes to tables from popup
   ❌ Cannot integrate buttons into FireMon's native toolbars
   ❌ Would create terrible user experience

4. NATIVE MESSAGING / EXTERNAL HELPER
   ❌ Massive complexity increase
   ❌ Requires separate native application installation
   ❌ Most enterprise users cannot install native apps
   ❌ Defeats purpose of browser extension convenience


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
USER SAFETY & TRANSPARENCY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

• Users are enterprise IT professionals managing security infrastructure
• Extension explicitly warns about bulk operation risks
• All actions require user confirmation
• Clear documentation of what extension does and why
• Privacy policy clearly states zero data collection
• Prominent disclaimers about testing before production use


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONCLUSION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Host permissions for <all_urls> are REQUIRED because:

1. FireMon instances exist on unpredictable, arbitrary domains
2. Content scripts must inject into FireMon pages for UI enhancement
3. No feasible alternative approach exists that maintains functionality
4. Extension is completely inert on non-FireMon pages
5. Zero data collection or transmission to external servers
6. Open source and transparent operation
7. Target audience is enterprise IT professionals who understand the tool

The broad host permission is a technical necessity for enterprise software integration, not a privacy concern. The extension's actual behavior is strictly limited to FireMon pages and involves zero data collection.


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPARABLE EXTENSIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Similar productivity extensions for enterprise software use broad permissions:

• Salesforce enhancers - Need <all_urls> for custom Salesforce domains
• JIRA/Confluence tools - Need <all_urls> for self-hosted instances
• Jenkins/GitLab extensions - Need <all_urls> for on-premises deployments
• ServiceNow enhancers - Need <all_urls> for customer-specific instances

This is standard and necessary for enterprise software extensions.
