PromptBase
PromptBase SelectGet Select
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Chat - (gpt-5.6)
Token size
4,144
Example input
[SAAS_APPLICATION_PROFILE]: A multi-tenant project management SaaS used by 120 companies. Hosted on AWS. Users manage projects, files, comments, and team members. Production and staging are separate AWS accounts. [AUTHENTICATION_AND_ACCESS_MODEL]: Email/password login and Google SSO. MFA is optional. RBAC has Admin, Manager, and Member roles. Admin accounts can manage users and billing. Sessions use secure cookies. No documented privileged-access review process. [DATA_SECRETS_AND_ENCRYPTION]: Customer data is stored in PostgreSQL and S3. TLS is enabled. Database encryption is enabled. AWS Secrets Manager stores production database credentials. Secret rotation is manual. S3 backup encryption is enabled. [LOGGING_MONITORING_AND_DETECTION]: Login events and admin actions are logged. Logs are retained for 30 days. CloudWatch monitoring is enabled. No SIEM integration. Failed authorization attempts are not consistently alerted. [SECURITY_EVIDENCE_AND_CONSTRAINTS]: Architecture diagram, IAM policy exports, CI/CD configuration, and sample audit logs are available. No recent penetration-test report. Small security team with limited engineering capacity.
Example output
1. Executive Security Summary The supplied information shows several implemented preventive controls, including TLS, database encryption, AWS Secrets Manager, RBAC, secure session cookies, daily database backups, and administrative logging. However, several important controls are partially implemented or not verified, particularly around: MFA enforcement Privileged-access review Consistent API authorization API rate limiting Authorization-failure detection Secret rotation Backup restoration testing Security monitoring coverage Formal API security testing The largest uncertainty is that there is no recent security-testing evidence, so the assessment cannot establish whether the implemented controls actually resist real-world attack scenarios. --- 2. Security Context Reconstruction Confirmed Facts Application is multi-tenant. AWS is the production cloud provider. PostgreSQL and S3 contain customer data. Production and staging are separated by AWS accounts. Authentication supports password and Google SSO. MFA is optional. RBAC contains three stated roles. REST APIs use JWT authentication. AWS Secrets Manager is used for production database credentials. PostgreSQL backups run daily. Login and administrative activity are logged. Unknown / Not Verified Whether tenant authorization is consistently enforced on every API endpoint. Whether object-level authorization is tested. Whether MFA is required for privileged users. Whether JWT lifetime and revocation are appropriately controlled. Whether all sensitive S3 objects have correct tenant-level access restrictions. Whether IAM privilege boundaries exist. Whether production AWS administrative access is reviewed regularly. Whether backups can actually be restored successfully. Whether security alerts are actively monitored. Whether dependencies are patched within defined timeframes. --- 3. Security Control Coverage Matrix Domain Control Status Evidence Gap Severity Business Impact Priority Authentication Password authentication 🟢 Implemented Application profile Password policy details not supplied Medium Account compromise risk P2 Authentication Google SSO 🟢 Implemented Auth model Configuration not independently verified Medium Unauthorized access P2 Authentication MFA 🟡 Partially Implemented MFA optional Privileged accounts may not require MFA High Admin/account compromise P1 Session Security Secure cookies 🟢 Implemented Auth model Cookie attributes not fully evidenced Medium Session compromise P2 Authorization RBAC 🟢 Implemented Auth model Enforcement consistency not verified High Unauthorized actions P1 Tenant Isolation Tenant-level authorization ⚠️ Not Verified No test evidence Cross-tenant access controls need validation Critical Customer data exposure P1 Privileged Access Access review 🔴 Missing No documented review No evidence of periodic privilege review High Excessive access P1 Secrets Secrets Manager 🟢 Implemented Security profile Rotation remains manual Medium Credential persistence P2 Encryption TLS 🟢 Implemented Security profile Configuration details not supplied Medium Data interception P2 Encryption Database encryption 🟢 Implemented Security profile Key-management evidence incomplete Medium Data exposure P2 API Security API authentication 🟢 Implemented API description Authorization coverage unknown High Unauthorized API access P1 API Security API rate limiting 🟡 Partially Implemented Login only Coverage inconsistent High API abuse/DoS P1 Logging Admin activity logging 🟢 Implemented Logging description Integrity/access controls not verified Medium Investigation limitations P2 Detection Authorization-failure alerts 🔴 Missing Logging description No consistent alerting High Delayed attack detection P1 Recovery Daily backups 🟢 Implemented Recovery description Restore success not demonstrated High Recovery uncertainty P1 Recovery Restore testing 🔴 Missing No test in 12 months Recovery capability unproven High Extended outage/data loss P1 DevSecOps Dependency scanning 🟢 Implemented CI/CD description Frequency/remediation SLA unknown Medium Vulnerable dependencies P2 Security Testing API authorization testing ⚠️ Not Verified No evidence Testing coverage unknown High Authorization flaws may remain undetected P1 --- 4. Security Gap Matrix ID Security Gap Domain Severity Business Impact Exploitability Priority Recommended Action SG-01 Tenant authorization not verified Authorization Critical Potential cross-customer data exposure Unknown P1 Perform authorized tenant-isolation testing SG-02 MFA optional for privileged accounts Authentication High Administrative account compromise could have broad impact Medium P1 Require MFA for privileged access SG-03 Privileged-access review not documented IAM High Excess privileges may persist Medium P1 Establish periodic access reviews SG-04 API rate limiting inconsistent API Security High Abuse or resource exhaustion Medium P1 Apply risk-based limits to sensitive APIs SG-05 Authorization failures not consistently alerted Detection High Attacks may remain unnoticed Medium P1 Create actionable authorization-abuse alerts SG-06 Backup restoration not tested Recovery High Recovery capability remains unproven Low/Unknown P1 Perform documented restore exercises SG-07 Secret rotation manual Secrets Medium Longer credential exposure window Medium P2 Automate rotation where technically appropriate SG-08 API authorization testing not evidenced Application Security High Unauthorized access could remain undetected Unknown P1 Add recurring authorization tests --- 5. Critical & High-Risk Findings SG-01 — Tenant Authorization Not Verified Finding The SaaS is multi-tenant, but there is no evidence demonstrating that every relevant API and object access path enforces tenant boundaries. Evidence The application is described as multi-tenant and exposes project/file/team functionality, but no tenant-isolation test results were supplied. Affected Components REST API Project objects Files Team/member resources Database access layer Security Scenario If an API endpoint relies only on an authenticated user's identity or object identifier without enforcing tenant ownership, one customer could potentially access another customer's resource. This is a risk scenario, not a claim that such a vulnerability currently exists. Technical Impact Potential unauthorized cross-tenant access to: Project information Files Comments Team information Business Impact Potential: Customer confidentiality impact Loss of customer trust Incident-response costs Contractual/compliance consequences depending on affected data Existing Controls JWT authentication RBAC Missing / Unverified Control Consistent tenant-level authorization verification. Remediation Implement and centrally enforce tenant authorization at the service/data-access layer rather than relying only on individual endpoint developers. Add automated tests covering: Same-tenant access Cross-tenant access Read operations Update operations Delete operations Administrative operations Verification Run an authorized tenant-isolation test suite. Expected result: authenticated users can access only resources belonging to their authorized tenant unless an explicitly documented cross-tenant administrative permission exists. --- SG-02 — MFA Optional for Privileged Accounts Finding MFA is available but optional. Evidence Authentication model states that MFA is optional and Admin accounts can manage users and billing. Risk A compromised administrator password could provide access to high-impact administrative functions. Severity High Business Impact Potential: Unauthorized user administration Billing manipulation Configuration changes Increased incident blast radius Remediation Require phishing-resistant MFA where practical for privileged users. At minimum, require MFA for: SaaS administrators AWS administrators Security administrators Other high-privilege accounts Verification Test: 1. Create/test a privileged account. 2. Attempt authentication without MFA. 3. Attempt privileged access with MFA. 4. Review identity-provider policy. 5. Confirm enforcement cannot be bypassed through alternate login paths. Expected result: privileged access cannot be obtained through password-only authentication. --- SG-03 — Privileged Access Review Not Documented Finding There is no documented recurring review of privileged accounts. Risk Former employees, changed responsibilities, service accounts, or temporary permissions could retain unnecessary access. Severity High Remediation Create a quarterly privileged-access review covering: Application administrators AWS administrators Database administrators CI/CD administrators Service accounts Record: Identity Role Business justification Owner Review date Approval/revocation decision Verification Sample privileged accounts and confirm each has: Identified owner Current business justification Appropriate privileges Recent review evidence --- SG-04 — Inconsistent API Rate Limiting Finding Rate limiting exists for login but is not consistently applied across APIs. Risk Sensitive or resource-intensive APIs may be susceptible to excessive automated requests. Severity High Remediation Classify APIs according to risk and apply appropriate controls to: Authentication Password recovery File operations Search Billing Administrative actions Expensive database operations Use user/tenant/IP/device-aware controls where appropriate. Verification Generate authorized high-volume requests against representative endpoints. Expected result: requests exceeding defined limits are throttled or rejected, while legitimate traffic continues within documented thresholds. --- SG-05 — Authorization Failure Detection Gap Finding Authorization failures are not consistently alerted. Risk Repeated authorization failures could indicate: Broken access-control attempts Credential misuse Automated probing Privilege-abuse activity Severity High Remediation Create detection rules for patterns such as: Repeated authorization failures Sudden increases in forbidden responses One identity accessing unusual numbers of resources Administrative access anomalies Alerts should have: Defined threshold Owner Severity Investigation procedure Escalation path Verification Generate controlled test events and confirm: 1. Event is logged. 2. Detection rule triggers. 3. Alert reaches responsible personnel. 4. Alert contains sufficient investigation context. --- SG-06 — Backup Restoration Not Tested Finding Daily backups exist, but restoration has not been tested during the last 12 months. Important distinction Having backups does not demonstrate recoverability. Severity High Remediation Conduct scheduled restore exercises. Test: Database restoration Application dependency recovery Data integrity Restore duration Recovery-point expectations Recovery-time expectations Document failures and corrective actions. Verification Perform a controlled restore into an isolated environment. Expected result: documented recovery objectives are achieved and restored data passes integrity validation. --- 6. Prioritized Remediation Roadmap Priority Gap Remediation Owner Complexity Dependency Target Timeframe Verification P1 Tenant isolation unverified Automated tenant authorization testing AppSec/Engineering High Test environment Immediate Cross-tenant tests fail safely P1 Privileged MFA optional Enforce MFA IAM Medium Identity provider Immediate Password-only admin login blocked P1 API authorization testing absent Build authorization test suite AppSec High API inventory Immediate Test suite passes P1 API rate limiting inconsistent Apply risk-based limits Platform Medium API classification Near-Term Excess traffic throttled P1 Authorization detection gap Add alerts Security/Platform Medium Centralized logs Near-Term Controlled alert test P1 Restore testing absent Conduct restore exercise SRE Medium Backup environment Near-Term Successful restore evidence P1 Privileged-access review absent Quarterly review process Security/IAM Low Account inventory Near-Term Signed review record P2 Manual secret rotation Automate rotation Platform Medium Secret dependencies Medium-Term Rotation test P2 Security testing evidence limited Establish recurring testing AppSec Medium/High Test environment Medium-Term Test reports retained --- 7. Security Control Maturity Summary Scale: 1 - Initial: Ad hoc or largely undocumented 2 - Developing: Some controls exist but coverage is inconsistent 3 - Defined: Controls are documented and consistently implemented 4 - Managed: Controls are measured, tested, and regularly reviewed 5 - Optimized: Controls are continuously improved and highly automated Domain Maturity Basis Identity 2/5 SSO exists, but MFA is optional Authorization 2/5 RBAC exists, tenant enforcement not verified Secrets 3/5 Secrets Manager exists, rotation is manual Encryption 3/5 TLS and database encryption reported Application Security 2/5 Dependency scanning exists, authorization testing unclear Infrastructure 3/5 Separate production/staging AWS accounts Logging 3/5 Authentication/admin events logged Monitoring 2/5 CloudWatch exists but detection coverage is limited Incident Response 2/5 Basic documented process exists Recovery 2/5 Daily backups exist but restore testing is absent DevSecOps 3/5 CI/CD and dependency scanning exist These are control-maturity observations based only on the supplied evidence, not certifications of effectiveness. --- 8. Security Blind-Spot Register Missing Evidence Why It Matters Risk of Uncertainty Evidence Required Tenant-isolation test results Determines cross-customer boundary effectiveness Very High Authorized test report IAM policy exports Determines excessive AWS privileges High Current IAM policies MFA enforcement configuration Confirms privileged MFA enforcement High IdP configuration API authorization test results Confirms object/function authorization High Automated test results S3 bucket policies Determines storage exposure High Current bucket policies Backup restore evidence Demonstrates actual recoverability High Restore test report Secret rotation records Demonstrates credential lifecycle Medium Rotation logs Alert configuration Determines detection coverage Medium Detection rules Incident-response exercise Demonstrates operational readiness Medium Exercise report --- 9. Verification Checklist Check ID Control Verification Test Expected Result Evidence Required Status V-01 Tenant isolation Attempt authorized cross-tenant object access Access denied Test report ⚠️ Not Verified V-02 Privileged MFA Attempt admin password-only login Login blocked IdP policy + test ⚠️ Not Verified V-03 RBAC Test each role against restricted functions Unauthorized functions denied Test results ⚠️ Not Verified V-04 API authorization Execute authorization test suite Unauthorized requests rejected CI report ⚠️ Not Verified V-05 API rate limiting Generate controlled excessive requests Requests throttled Monitoring evidence ⚠️ Not Verified V-06 Detection Generate controlled authorization failures Alert generated Alert record ⚠️ Not Verified V-07 Backup Restore latest backup to isolated environment Data restored successfully Restore report ⚠️ Not Verified V-08 Secrets Perform controlled rotation Application continues functioning with new secret Rotation evidence ⚠️ Not Verified V-09 Admin access Review privileged accounts Unnecessary privileges removed Review record ⚠️ Not Verified --- 10. Management Priority Summary 1. Validate tenant isolation Risk: Potential cross-customer access if authorization is incorrectly enforced. Action: Perform authorized automated tenant-boundary testing across API/object operations. Priority: P1 Expected benefit: Evidence that customer data boundaries are correctly enforced. 2. Enforce MFA for privileged accounts Risk: Password compromise could expose high-impact administrative functionality. Action: Require MFA for privileged identities. Priority: P1 Expected benefit: Reduced risk from compromised privileged credentials. 3. Establish API authorization testing Risk: Authentication alone does not prove authorization. Action: Build recurring object-level and function-level authorization tests. Priority: P1 Expected benefit: Earlier detection of authorization regressions. 4. Test backup restoration Risk: Backups exist, but recovery capability has not been demonstrated. Action: Conduct documented restore exercises. Priority: P1 Expected benefit: Evidence that recovery procedures actually work. 5. Improve security detection Risk: Authorization abuse may occur without actionable alerting. Action: Add detection rules and defined alert ownership. Priority: P1 Expected benefit: Faster identification of suspicious activity. --- 11. Final Security Decision 🔴 Critical Blockers Tenant isolation is not verified. There is insufficient evidence to establish consistent API authorization across the SaaS. 🟠 High-Priority Gaps Privileged MFA is optional. Privileged-access review is not documented. API rate limiting is inconsistent. Authorization-failure detection is incomplete. Backup restoration has not been recently tested. Recurring API authorization security testing is not evidenced. 🟡 Medium-Priority Improvements Automate secret rotation where appropriate. Expand security monitoring. Establish measurable vulnerability-remediation timelines. Increase evidence collection around encryption/key management. 🟢 Strong / Reported Controls TLS is reported as enabled. Database encryption is reported as enabled. AWS Secrets Manager is used for production database credentials. RBAC is implemented. Production and staging use separate AWS accounts. Administrative and authentication events are logged. Daily PostgreSQL backups are configured. Dependency scanning is present. ⚠️ Unverified Controls Tenant isolation API authorization consistency Privileged MFA enforcement AWS privilege boundaries S3 access controls Backup recoverability Alert effectiveness Secret-rotation effectiveness 📌 Next Security Actions 1. Validate tenant isolation and API authorization first. 2. Enforce MFA for privileged access. 3. Review privileged identities and permissions. 4. Test backup restoration. 5. Implement actionable authorization-abuse detection. 6. Establish recurring security-control verification. 7. Retain evidence for every completed remediation. Assessment conclusion: The supplied evidence demonstrates a number of foundational SaaS security controls, but several high-impact controls remain either partially implemented or unverified. The assessment therefore supports a risk-based remediation program, rather than a conclusion that the SaaS is secure or fully compliant.
GPT

Saas Security Control Gap Auditor

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
GPT-5.6
Tested icon
Guide icon
4 examples icon
Free credits icon
This prompt systematically evaluates a SaaS application's security controls, identifies control gaps, assesses 🔐 Audit authentication & authorization controls 👤 Evaluate identity and access management 🔑 Assess secrets and credential protection 🛡️ Review encryption and data protection 📋 Audit logging, monitoring & alerting 🚨 Evaluate incident response readiness Turn scattered SaaS security concerns into a structured, risk-ranked control gap assessment with an actionable path to remediation.
...more
Added over 1 month ago
Report
Browse Marketplace