shunit2
find-sec-bugs
shunit2 | find-sec-bugs | |
---|---|---|
4 | 8 | |
1,549 | 2,204 | |
- | 0.5% | |
3.5 | 6.1 | |
3 months ago | 2 months ago | |
Shell | Java | |
Apache License 2.0 | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shunit2
-
Pure Bash Bible
> or something that would proper unit testing
<https://github.com/kward/shunit2>
-
First time writing bash scripts for work, not sure if this is true elsewhere
https://github.com/kward/shunit2 is your friend here.
-
AWK an old-school tool today
And in case you are thinking how powerful this is and like me trying to take it further to create small AWK powered "apps" to do the monotonous tasks while wondering how can you verify if what you are coding is valid, you can execute any number of unit tests for shell scripts, and therefore, AWK scripts using shunit2
-
ShellCheck: A static analysis tool for shell scripts
Alongside ShellCheck, I also use shUnit2 as my unit testing framework. Yes, you should test your bash.
https://github.com/kward/shunit2
find-sec-bugs
- Find Security Bugs
-
What are some useful static analyzers for Java?
SpotBugs have a lot of extensions such as https://find-sec-bugs.github.io/ https://github.com/KengoTODA/findbugs-slf4j and more, I recommend adding them as well
-
Looking for a Static Code Analysis tool for Scala Code
If you don’t have checkmarx/Vera code money, have you looked at https://find-sec-bugs.github.io/? It can be used with a few things such as https://spotbugs.github.io/ and sonarQ
-
Enforcing Coding Best Practices using CI
SpotBugs with Find sec bugs for Java
-
Conducting SAST for Java Applications
How can the article fail to mention Find Security Bugs (find-sec-bugs) when talking about using SpotBugs (ex-FindBugs) for analyzing code for security issues?
-
Design an Effective Build Stage for Continuous Integration
Find Security Bugs uses a security database to detect almost 140 different vulnerability types in Java web applications.
-
ShellCheck: A static analysis tool for shell scripts
find-sec-bugs does that. It's used by, for example, SonarQube.
See hhttps://github.com/find-sec-bugs/find-sec-bugs/blob/master/f... and do a "CTRL-F" and search for "References".
What are some alternatives?
bats-core - Bash Automated Testing System
Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
shellspec - A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells
semgrep-rules - Semgrep rules registry
ShellCheck - ShellCheck, a static analysis tool for shell scripts
snyk - Snyk CLI scans and monitors your projects for security vulnerabilities. [Moved to: https://github.com/snyk/cli]
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
shellharden - The corrective bash syntax highlighter
static-analysis - ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.
etc - Things that are too small to keep in a separate repo, but too important not to version them.
infer - A static analyzer for Java, C, C++, and Objective-C