Giter Site home page Giter Site logo

ccsep-asm2's Introduction

Assignment

In this assessment you will make a program in Java. You will show what the security bug is, how to detect and mitigate it.

The program should contain the vulnerability that you have selected. You should write tests that cover all the functionality within your program (these tests are later used to verify that the patched version hasn’t lost any functionality).

You should create a patch branch in this repository. The patch branch should contain a patched version of your program.

Along with your program, you should provide a proof of concept to demonstrate the vulnerability. This can be done in the following way:

Unit/Integration test: write unit tests or integration tests that shows the security bug and later it fails. The test fails because the program is vulnerable. Your patched program will pass this test.

Use this repository as a template for your program. clone this repository locally on your computer. Your program main code should go to src directory. Your tests should go to test directory.

Important
Do not publicly Fork this repository. Do everything locally on your computer.

Submission

See Blackboard.

Development

This repository contain a sample Java program The program is vulnerable to Numeric Overflow.

You can use it as a template for your program.

Requirements

Install docker and make on your system.

Usage

  1. Build the program: make build.

  2. Run it: make run.

  3. Run unit tests: make test.

  4. Run security tests: make securitytest.

Note

The last test will fail.

ccsep-asm2's People

Watchers

James Cloos avatar Nicholas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.