Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

🔐 Secure Coding Review - Task 3 (CodeAlpha Cyber Security Internship)

📌 Project Overview

This project demonstrates a basic secure coding review by analyzing a simple login system.
The objective is to identify security vulnerabilities in the original code and improve it using secure coding practices.

📁 Project Files

  • secure_code.py → Vulnerable version of login system (unsafe code)
  • secure_version.py → Improved secure version of login system
  • screenshot1.png → Output of vulnerable code
  • screenshot2.png → Output of secure code

⚠️ Vulnerabilities in Original Code

The original code had the following security issues:

  • Hardcoded credentials (username & password)
  • Plain text password handling
  • No encryption or hashing
  • No protection against brute force attacks
  • Insecure authentication logic

🔐 Improvements in Secure Version

The improved version includes:

  • Better input handling using secure methods
  • Separation of stored credentials
  • Improved authentication structure
  • Reduced risk of credential exposure
  • More secure coding approach

💻 Technologies Used

  • Python 🐍
  • Manual Code Review Techniques
  • Basic Cyber Security Principles

📸 Output Screenshots

Screenshots are included to demonstrate:

  • Execution of vulnerable code
  • Execution of secure code

🎯 Objective

To understand common security flaws in code and apply basic secure coding practices to improve application security.

👨‍💻 Author

Cyber Security Intern
CodeAlpha Internship Program

🚀 Learning Outcome

  • Identified real-world coding vulnerabilities
  • Learned importance of secure coding practices
  • Understood how small changes improve application security

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages