Code Security
CyfroCode
CyfroCode provides a comprehensive code security workspace embedded directly within CyfroSec. Designed for developers and security teams alike, it allows you to connect your code repositories, automatically run security scans, and generate actionable remediation patches, all without leaving the platform.
CyfroCode supports 6 programming languages for code security scanning, plus 5 infrastructure/configuration surfaces.
Programming Languages
| Language | Extensions |
|---|---|
| Python | .py |
| JavaScript | .js |
| TypeScript | .ts |
| Java | .java |
| Go | .go |
| C# | .cs |
Infrastructure / Configuration Surfaces
- 1Container (Dockerfile)
- 2Terraform (IaC)
- 3Kubernetes (manifests)
- 4YAML (generic config)
- 5CI (GitHub Actions workflows)
Connecting GitHub
To get started with CyfroCode, you need to connect your organization's GitHub account:
- 1Navigate to CyfroCode via the main navigation menu.
- 2Click the Connect GitHub App button.
- 3You will be redirected to GitHub to authorize and install the CyfroSec GitHub App.
- 4Once installed, CyfroSec will automatically sync your repositories and display them on the CyfroCode dashboard.
Managing Synced Repositories
On the CyfroCode dashboard, your synced repositories are listed with helpful metadata:
| Field | Description |
|---|---|
| Default Branch | The primary branch monitored for changes. |
| Languages & Frameworks | Auto-detected technologies in your codebase. |
| Tech Indicators | Badges indicate if the repository uses Docker, Terraform, or GitHub Actions. |
| Sync Status | Real-time status of the connection with GitHub. |
Running Scans
To analyze a repository for security vulnerabilities:
- 1Locate the repository in the Synced Repositories list.
- 2Click the Queue Scan button.
- 3The scan will be queued for the default branch and transition through various states (queued, running, completed, or failed).
You can monitor actively queued and historical scans in the Recent Scans section on the main CyfroCode dashboard.
Reviewing Findings & AI Explanations
Once a scan concludes, you can click on it to view a detailed breakdown of the findings. The scan detail page offers:
- 1Metrics Overview: A snapshot of total findings, risk scores, and duration of the scan.
- 2Grouped Issues vs. Raw Matches: Toggle between grouped issues (deduplicated by vulnerability type) or raw matches (every specific line of code affected).
- 3Severity Filters: Quickly filter findings from Critical to Low severity.
Each finding card provides deep context:
| Section | Details |
|---|---|
| Source Information | Includes the primary file path and the specific lines of code. |
| AI Explanation | CyfroAssistant automatically summarizes the vulnerability, explaining why it is an issue in plain, contextual language. |
| Remediation Guidance | Expand the guidance section to learn how to mitigate the risk manually. |
Automated Patch Proposals
For supported vulnerabilities, CyfroCode goes beyond reporting by offering automated, AI-driven patches:
- 1Click Generate Patch on a specific finding.
- 2CyfroSec's AI models will analyze the vulnerability context and generate a safe, functional code change.
- 3Review the proposed diff directly within the UI.
- 4If correct, click Approve to export the remediation patch directly to a new branch in your GitHub repository, ready for an easy Pull Request review.
- 5If a finding turns out to be a false positive or an accepted risk, you can use the Suppress option to hide it from future scans.
