InterviewStack.io LogoInterviewStack.io

Secure Coding and Application Security Questions

Writing and reviewing code that resists attack. Covers the OWASP Top Ten and common web vulnerabilities (XSS, SQL injection, CSRF), input validation, secure coding practices and security code review, static application security testing (SAST), API and HTTP security, database and frontend security, and mobile app security. The application-layer defense discipline for engineers building software.

EasyTechnical
37 practiced

Define insecure deserialization, describe how it leads to remote code execution or a logic-bypass, and list the common language-specific risks (Java native serialization, Python pickle, PHP unserialize()). Explain where in an application deserialization typically happens (cookies, RPC calls, message queues), recommend secure design patterns and runtime mitigations, and note the detection signals you would look for in application logs and crash traces.

MediumTechnical
46 practiced

How would you detect insecure-deserialization attacks using application instrumentation and runtime telemetry? Describe the specific log events, exception patterns, and profiling metrics you would capture, what sampling strategy you would use to avoid overloading the system, what automated mitigations you might trigger, and suggest both short-term detection heuristics and longer-term developer fixes.

HardSystem Design
41 practiced

Design an approach to secure serverless (AWS Lambda) functions that process external input. As a penetration tester, list common serverless-specific vulnerabilities (e.g., excessive permissions, insecure environment variables, event-data injection), how you would test for them, and recommend secure deployment patterns and IAM best practices.

EasyTechnical
44 practiced

Compare Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF): for each, explain how an attacker exploits a web application, what application assets are at risk, the detection signals and logs you would look for, and practical server-side and client-side mitigations you would implement.

EasyTechnical
36 practiced

Explain how SQL injection attacks work, covering error-based, union-based, boolean/conditional-blind, and time-based blind techniques with a short example payload for each. Give a real-world exploit example and its business impact, then propose a prioritized set of mitigations at the code, framework, database, and architecture levels (parameterized queries/ORM best practices, least-privileged DB accounts, network rules, WAF, logging and detection).

That is every published Secure Coding and Application Security question for Information Security Analyst so far. Browse the other topics in this category, or practice this one interactively.