https://github.com/djschleen/ash
A command line utility that calculates the Application Security Health Score (ASH) for any application.
https://github.com/djschleen/ash
Last synced: about 1 month ago
JSON representation
A command line utility that calculates the Application Security Health Score (ASH) for any application.
- Host: GitHub
- URL: https://github.com/djschleen/ash
- Owner: djschleen
- License: other
- Created: 2019-11-05T22:08:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-05T22:09:47.000Z (over 5 years ago)
- Last Synced: 2025-01-30T10:32:02.169Z (3 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://depshield.github.io)
# Application Security Health Score (ASH)
*** NOTE: This is a working POC but hasn't been tested at a massive scale ***
I've been looking for a replacement for Security Defect Density that can provide a more precise measurement of the security health of an application. Enter the Application Security Health Score (ASH) - a calculation providing a single number similar to a credit score to describe application security risk.
If you were a bank and your application was applying for a loan, would you give it one with a credit score of 70, or a score of 810?
## Contributing
_Contributions are definitely encouraged!_. The scoring calculation has many TODO's that would be great to implement. Create a pull request and let's get more accurate in scoring
## Build from Source
This application is built using go version 1.13. Ensure you are using a version of go that supports modules.
View module help with the following command:
```bash
go help modules
```Additional help on using go modules can be found in a blog entry by Niraj Foneska on [Medium](https://medium.com/@fonseka.live/getting-started-with-go-modules-b3dac652066d).
Once the repository is cloned, run the following:
```bash
go build
```## Playing Around
The application can be run via Visual Studio Code with a few preconfigured launch configurations, or try the following:
``` bash
ash calculate --identifiers CVE-2010-3333,CVE-2018-11776,CVE-2017-9791,CVE-2018-5407
```
This will give a sample health score for many high severity vulnerabilities (including Apache Struts) and one low vulnerability.The following is a sample low vulnerability calculation:
``` bash
ash calculate --identifiers CVE-2018-5407
```The following is an example of various levels of low severity vulnerabilities:
``` bash
ash calculate --identifiers CVE-2019-1563,CVE-2019-1549,CVE-2019-1547
```