Developer-first GitHub Action for intelligent application security scanning, deployment protection, and AI-powered vulnerability analysis.
DevShield is a developer-first application security platform built to help developers discover, explain, prioritize, and remediate security vulnerabilities before software reaches production.
Unlike traditional scanners that simply generate vulnerability reports, DevShield provides intelligent analysis with precise file locations, affected code snippets, severity scoring, deployment protection, AI-powered prioritization, blast radius analysis, business impact analysis, and an interactive security dashboard.
DevShield combines:
- GitHub Actions Security Scanning
- CLI Security Scanner
- Deployment Guardian
- AI Incident Prioritization
- Blast Radius Analysis
- Business Impact Analysis
- Confidence Scoring
- SARIF, HTML & JSON Reports
- Interactive Security Dashboard
- CI/CD Security Automation
into a single developer-first security platform.
Modern developers shouldn't have to choose between:
❌ Shipping fast
or
❌ Shipping securely
DevShield helps teams:
- Shift security left
- Catch vulnerabilities early
- Block insecure deployments
- Reduce remediation time
- Improve developer productivity
- Secure software without slowing development
- Scan local projects in seconds
- Recursive file analysis
- Language-aware detection engine
- Existing vulnerability tracking
- Security baseline support
- Deployment protection
- Exit codes for CI/CD
- Rich console reporting
Monitor every project from a centralized web dashboard.
Features include:
- Project management
- Repository scanning
- Scan history
- Severity analytics
- Vulnerability explorer
- Code snippets
- File & line navigation
- Deployment status
- Security metrics
DevShield integrates directly with GitHub repositories.
Capabilities include:
- Repository validation
- Automatic repository download
- ZIP extraction
- Repository cleanup
- GitHub Actions integration
- SARIF report generation
- CI/CD deployment protection
DevShield prevents insecure code from reaching production.
Pipeline Guardian can:
- Block deployments
- Fail CI pipelines
- Enforce security thresholds
- Detect critical vulnerabilities
- Exit with proper status codes
Perfect for GitHub Actions and automated deployments.
Generate reports for every workflow.
Supported formats:
- Console
- JSON
- HTML
- SARIF
These reports can be consumed by developers, CI/CD systems, or external security platforms.
DevShield was built for developers—not security analysts.
Every finding includes:
- Severity
- Rule name
- File path
- Line number
- Code snippet
- Explanation
- Recommended remediation
Making vulnerabilities easy to understand and fix.
DevShield is designed as a modular security platform where every component has a single responsibility. This makes it easy to extend, maintain, and integrate into existing developer workflows.
┌──────────────────────────┐
│ Developer │
└────────────┬─────────────┘
│
│
CLI / Dashboard / API
│
▼
┌──────────────────────────┐
│ DevShield Engine │
└────────────┬─────────────┘
│
┌───────────────────────┼────────────────────────┐
│ │ │
▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ Rule Engine │ │ GitHub Module │ │ Pipeline Guard │
└────────────────┘ └────────────────┘ └────────────────┘
│ │ │
▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ File Scanner │ │ Repo Scanner │ │ Deploy Check │
└────────────────┘ └────────────────┘ └────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Reporting Engine │
├─────────────────────────────────────────────────────────────┤
│ Console │ JSON │ HTML │ SARIF │ Dashboard │ API Responses │
└─────────────────────────────────────────────────────────────┘
The Scanner Engine is responsible for recursively analyzing source code, identifying vulnerabilities, collecting metadata, and generating structured findings.
Responsibilities:
- Project traversal
- File discovery
- Language detection
- Rule execution
- Finding aggregation
The Rule Engine contains DevShield's security detection logic.
It evaluates every supported file against hundreds of security rules covering:
- Injection attacks
- Secrets exposure
- Authentication issues
- Cryptography misuse
- Dangerous APIs
- Configuration weaknesses
- Deployment risks
The modular design allows new security rules to be added without modifying the scanner itself.
The GitHub module enables DevShield to scan remote repositories directly.
Capabilities include:
- Repository validation
- Secure repository download
- ZIP extraction
- Temporary workspace management
- Cleanup
- GitHub Actions compatibility
Pipeline Guardian evaluates scan results before deployment.
It determines whether a build should:
- Pass
- Warn
- Fail
based on configurable security thresholds.
This allows DevShield to stop insecure code before it reaches production.
Every scan can generate multiple report formats simultaneously.
Supported outputs:
- Terminal console
- JSON
- HTML
- SARIF
- Dashboard API responses
This allows DevShield to integrate seamlessly into developer workflows, CI/CD pipelines, and external security platforms.
Before installing DevShield, ensure your environment meets the following requirements:
- Node.js 20+
- npm 10+
- Git (optional, for repository features)
Verify your installation:
node -v
npm -vgit clone https://github.com/devshieldhq/Devshield.gitcd Devshieldnpm installRun a scan against the current project.
node devshield/bin/devshield.js scan .Expected output:
✔ Files Scanned: 125
✔ Critical : 0
✔ High : 1
✔ Medium : 4
✔ Low : 7
Deployment Status:
PASSED
node devshield/bin/devshield.js scan .node devshield/bin/devshield.js scan ./my-projectnode devshield/bin/devshield.js scan . --jsonnode devshield/bin/devshield.js scan . --htmlnode devshield/bin/devshield.js scan . --sarifnode devshield/bin/devshield.js deploy-check .Pipeline Guardian automatically blocks deployment when configured security thresholds are exceeded.
node devshield/bin/devshield.js baseline .Future scans compare findings against the saved baseline to distinguish existing issues from newly introduced vulnerabilities.
node devshield/bin/devshield.js scan . --allThis displays both previously known findings and newly detected vulnerabilities.
DevShield provides a REST API for integrating repository scanning into dashboards, CI/CD pipelines, internal developer portals, and third-party applications.
https://devshield.site/api
Every request requires your DevShield Project Key.
Example header:
Authorization: Bearer YOUR_PROJECT_KEYAnalyze a GitHub repository remotely.
POST /api/analyze{
"repository_url": "https://github.com/devshieldhq/Devshield"
}curl -X POST https://devshield.site/api/analyze \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PROJECT_KEY" \
-d '{
"repository_url":"https://github.com/devshieldhq/Devshield"
}'{
"success": true,
"summary": {
"critical": 0,
"high": 2,
"medium": 5,
"low": 7
},
"findings": [
{
"severity": "HIGH",
"rule": "Hardcoded Secret",
"file": "config.js",
"line": 28,
"message": "Potential API key detected."
}
]
}GET /api/healthExample Response
{
"status": "ok"
}{
"success": false,
"error": "Repository download failed."
}Currently supported:
- GitHub Public Repositories
- GitHub Private Repositories (using Personal Access Token)
Coming soon:
- GitLab
- Bitbucket
- Azure DevOps
| Field | Description |
|---|---|
| severity | Vulnerability severity |
| rule | Detection rule |
| file | Affected file |
| line | Line number |
| message | Human-readable explanation |
| snippet | Vulnerable code snippet (when available) |
To ensure platform stability:
- Repository scans may be rate limited.
- Large repositories may take longer to analyze.
- Concurrent scans are processed in the order received.
Enterprise support with higher limits is planned.
DevShield integrates seamlessly with GitHub Actions to automatically scan every push and pull request before code reaches production.
Create:
.github/workflows/devshield.yml
name: DevShield Security Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
devshield:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- name: Run DevShield
run: node devshield/bin/devshield.js deploy-check . --sarifPipeline Guardian automatically blocks deployments whenever configured security thresholds are exceeded.
Example:
Critical : 2
High : 5
❌ Deployment Blocked
Exit Code: 1
If no blocking vulnerabilities exist:
Critical : 0
High : 0
✅ Deployment Approved
Exit Code: 0
During every workflow DevShield can generate:
- Console Report
- JSON Report
- HTML Report
- SARIF Report
For public repositories or repositories with GitHub Advanced Security enabled, SARIF reports can be uploaded directly into GitHub Code Scanning.
Example:
- name: Upload SARIF
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: devshield-results.sarifDeveloper Push
│
▼
GitHub Actions
│
▼
DevShield Scan
│
▼
Pipeline Guardian
│
┌─────┴─────┐
│ │
▼ ▼
PASS BLOCK
│ │
▼ ▼
Deploy Stop Build
✔ Automatic security scanning
✔ Blocks insecure deployments
✔ Detects vulnerabilities before production
✔ Produces machine-readable reports
✔ Integrates with existing CI/CD pipelines
✔ No additional infrastructure required
DevShield is continuously evolving into a complete developer-first application security platform.
- Recursive project scanning
- Multi-language rule engine
- Vulnerability detection
- Severity classification
- Security baseline support
- Existing vulnerability tracking
- CLI Scanner
- Interactive Dashboard
- HTML Reports
- JSON Reports
- SARIF Reports
- Rich Console Output
- Repository validation
- Repository download
- ZIP extraction
- Automatic cleanup
- GitHub Actions integration
-
Pipeline Guardian
-
Deployment blocking
-
Exit code support
-
Automated security gates
Our mission is simple:
Build the easiest security platform developers actually enjoy using.
Instead of slowing development down, DevShield enables teams to ship software faster—with confidence that security has already been checked before deployment.
DevShield currently supports security analysis for the following languages and technologies.
| Language | Supported |
|---|---|
| JavaScript | ✅ |
| TypeScript | ✅ |
| Node.js | ✅ |
| JSON | ✅ |
| YAML | ✅ |
| Dockerfile | 🚧 |
| Python | 🚧 |
| Java | 🚧 |
| Go | 🚧 |
| PHP | 🚧 |
| C# | 🚧 |
| Rust | 🚧 |
More language support is continuously being added.
DevShield currently detects a wide range of security issues.
| Category | Status |
|---|---|
| SQL Injection | ✅ |
| Command Injection | ✅ |
| Remote Code Execution | ✅ |
| Path Traversal | ✅ |
| Cross-Site Scripting (XSS) | ✅ |
| Prototype Pollution | ✅ |
| Server-Side Request Forgery (SSRF) | ✅ |
| Open Redirect | ✅ |
| Insecure Deserialization | ✅ |
| Hardcoded Passwords | ✅ |
| Hardcoded Secrets | ✅ |
| AWS Keys | ✅ |
| GitHub Tokens | ✅ |
| JWT Secrets | ✅ |
| API Keys | ✅ |
| Weak Cryptography | ✅ |
| Dangerous eval() Usage | ✅ |
| Child Process Abuse | ✅ |
| Insecure Randomness | ✅ |
| Deployment Risk Analysis | ✅ |
| AI Incident Prioritization | 🚧 |
| Blast Radius Analysis | 🚧 |
| Explainable AI | 🚧 |
| Confidence Scoring | 🚧 |
DevShield
│
├── api/ REST API
├── dashboard/ Web dashboard
├── devshield/
│ ├── bin/ CLI
│ ├── core/ Scanner engine
│ ├── github/ GitHub integration
│ ├── reporters/ Console, HTML, JSON, SARIF
│ ├── rules/ Detection rules
│ ├── utils/ Utilities
│ └── config/ Configuration
│
├── docs/ Documentation
├── .github/ GitHub Actions
├── action.yml Marketplace Action
├── package.json
└── README.md
We welcome contributions from the community.
You can contribute by:
- Reporting bugs
- Suggesting new features
- Improving documentation
- Writing detection rules
- Improving performance
- Adding language support
- Enhancing the dashboard
- Improving the CLI experience
git clone https://github.com/devshieldhq/Devshield.git
cd Devshield
npm installCreate a feature branch:
git checkout -b feature/my-featureCommit your changes:
git commit -m "Add amazing feature"Push:
git push origin feature/my-featureOpen a Pull Request.
Join the DevShield community.
- 🌐 Website — https://devshield.site
- 🐞 GitHub Issues — https://github.com/devshieldhq/Devshield/issues
- ⭐ GitHub Repository — https://github.com/devshieldhq/Devshield
We're always looking for feedback from developers, security engineers, and open-source contributors.
If DevShield helps you build more secure software:
⭐ Star the repository
🍴 Fork the project
🗣️ Share it with your team
🐛 Report bugs
💡 Suggest new features
Every contribution helps improve developer security for everyone.
This project is licensed under the MIT License. See the LICENSE file for details.
