ā Back to Coding and Programming
š» Coding and Programming
ChatGPT
beginner
Act as a Senior Software Engineer with 5+ years of experience in security-focused applications
š The Prompt ā Copy & Paste Ready
Design a robust password strength checker in [PROGRAMMING_LANGUAGE] that evaluates passwords based on the following criteria: [MINIMUM_LENGTH], [CHARACTER_DIVERSITY] (uppercase, lowercase, numbers, symbols), and [COMMON_PASSWORD_CHECK]. The tool should return a score from 0 (weak) to 100 (strong) and provide actionable feedback like 'Add symbols' or 'Increase length to [RECOMMENDED_LENGTH].' Ensure the code is modular, well-documented, and includes unit tests for edge cases like empty strings or excessively long inputs. Bonus: Implement a [BRUTE_FORCE_RESISTANCE] metric to estimate cracking time.
How to use this prompt
1
Click Copy Full Prompt above.
2
Replace all [BRACKETS] with your details.
3
Paste into ChatGPT, Claude or Gemini and hit send.
Frequently Asked Questions
A Senior Software Engineer should prioritize secure coding practices, such as input validation, proper error handling, and avoiding hardcoded credentials. Additionally, regular security audits, dependency updates, and adherence to OWASP guidelines help mitigate vulnerabilities in applications.
Implementing multi-factor authentication (MFA) and using industry-standard protocols like OAuth 2.0 or OpenID Connect enhances security. Password hashing with strong algorithms (e.g., bcrypt) and enforcing strict session management also prevent unauthorized access.
Encryption protects sensitive data both in transit (TLS/SSL) and at rest (AES-256). A Senior Software Engineer should ensure proper key management and avoid weak cryptographic algorithms to maintain robust security.
Regularly scanning dependencies with tools like Snyk or Dependabot helps identify vulnerabilities. Patching or replacing outdated libraries and minimizing unnecessary dependencies reduces exposure to security risks.
A Senior Software Engineer should enforce rate limiting, input validation, and proper authentication (e.g., JWT) for APIs. Using API gateways and monitoring for unusual activity further strengthens security against attacks like DDoS or injection.
Related Keywords
act as a senior software engineer with 5+ years of experience in security-focused applications, free coding and programming prompts, coding and programming chatgpt prompts, ai prompts for coding and programming, coding and programming prompt template, chatgpt coding and programming 2026, best coding and programming ai prompts, act as a senior software engineer with 5+ years of experience in security-focused applications chatgpt, coding and programming claude prompts, free ai prompt coding and programming, coding and programming prompt generator, coding and programming ai assistant, promptxy coding and programming
Comments (0)