mobbdev 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Mobb.dev Ltd.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,32 @@
1
- # [mobb.dev](https://www.mobb.dev)
1
+ # Mobb CLI (community tool)
2
2
 
3
- Give your developers time back with fixes you can trust.
3
+ [Mobb](https://www.mobb.dev) automates security vulnerability remediations.
4
4
 
5
- Turn mountains of depressing SAST findings into code fixes with Mobb's developer-first automated secure code remediation.
5
+ <img width="750" alt="Screenshot 2023-03-27 at 5 23 19 PM" src="https://user-images.githubusercontent.com/96389636/228070025-2a1c3aae-6b40-427f-a1e9-2b10ef97b5ea.png">
6
+
7
+ ## What is [Mobb](https://www.mobb.dev)?
8
+
9
+ [Mobb](https://www.mobb.dev) is the first vendor agnostic automatic security vulnerability remediation tool. It injests SAST results from Checkmarx One, GitHub Advanced Security, and Snyk Code and produces code fixes for the developer to review and commit to their code.
10
+
11
+ ## What does Mobb CLI (Community Tool) do?
12
+
13
+ - Uses Snyk Code CLI to run a SAST analysis on a given GitHub repo
14
+ - Analyzes the vulnerbilities report to identify issues that can be remediated
15
+ - Produce the code fixes and redirect the user to the fix report page on [mobb.dev](https://www.mobb.dev)
6
16
 
7
17
  ## Disclaimer
8
18
 
9
- This is a demo version only capable of analyzing public GitHub repositories. We wrap Snyk Code CLI to produce SAST vulnerabilities report.
19
+ This is an alpha version only capable of analyzing public GitHub repositories. We wrap Snyk Code CLI to produce SAST vulnerabilities report.
10
20
 
11
- Only Java projects are supported at the moment.
21
+ - Only Java projects are supported at the moment.
22
+ - Only SQLi, CMDi, XSS, and XXE are supported at the moment.
12
23
 
13
24
  ## Usage
14
25
 
15
26
  ```shell
16
27
  npx mobbdev https://github.com/mobb-dev/simple-vulnerable-java-project
17
28
  ```
29
+
30
+ ## Getting support
31
+
32
+ If you need support using Mobb CLI, or just want to share your thoughts and learn more, you are more than welcome to join our [discord server](https://discord.gg/ks6Nz3H828)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "mobbdev": "bin/cli.mjs"
14
14
  },
15
15
  "author": "",
16
- "license": "ISC",
16
+ "license": "MIT",
17
17
  "dependencies": {
18
18
  "configstore": "6.0.0",
19
19
  "dotenv": "16.0.3",
@@ -40,6 +40,7 @@
40
40
  "index.mjs",
41
41
  ".env",
42
42
  "README.md",
43
+ "LICENSE",
43
44
  "package.json"
44
45
  ]
45
46
  }
package/src/index.mjs CHANGED
@@ -18,7 +18,9 @@ const config = new Configstore(packageJson.name, { token: '' });
18
18
 
19
19
  export async function main(dirname, repoUrl) {
20
20
  if (!repoUrl) {
21
- console.warn('Mobb CLI usage: npx mobb <public GitHub repository URL>');
21
+ console.warn(
22
+ 'Mobb CLI usage: npx mobbdev <public GitHub repository URL>'
23
+ );
22
24
  return;
23
25
  }
24
26