You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The Security extension is an open-source Gemini CLI extension, built to enhance
11
11
-**Open source**: The extension is open source and distributed under the Apache 2.0 license.
12
12
-**Integrated with Gemini CLI**: As a Google-developed extension, it integrates seamlessly into the Gemini CLI environment, making security an accessible part of your workflow.
13
13
-**Expandable scope**: The extension is designed with an extensible architecture, allowing for future expansion of detected security risks and more advanced analysis techniques.
14
+
-**Dependency scans**: Identifies known vulnerabilities affecting your project's dependencies using [OSV-Scanner](https://github.com/google/osv-scanner).
14
15
15
16
## Installation
16
17
@@ -37,6 +38,25 @@ By default, the `/security:analyze` command determines the scope of the analysis
Modern software is built on open-source dependencies, but this can introduce security risks if a dependency contains vulnerabilities.
44
+
45
+
Regularly running a dependency scan is a critical step in securing your software supply chain and protecting your project from well-known attack vectors.
46
+
47
+
The `/scan-deps` command automates this process by integrating [OSV-Scanner](https://github.com/google/osv-scanner), a tool that cross-references your project's dependencies with
48
+
[OSV.dev](https://osv.dev/)
49
+
50
+
To run a scan, use the following command:
51
+
```bash
52
+
/scan-deps
53
+
```
54
+
55
+
After running the command, you will receive a report listing:
56
+
-**Which dependencies are vulnerable.**
57
+
-**Details about the specific vulnerabilities**, including their severity and identifiers (like CVEs).
58
+
-**Guidance on how to remediate the issues**, such as which version to upgrade to.
59
+
40
60
## GitHub Integration
41
61
42
62
### I already use [run-gemini-cli](https://github.com/google-github-actions/run-gemini-cli) workflows in my repository:
0 commit comments