🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@greenarmor/ges-scanner-integration

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greenarmor/ges-scanner-integration

GESF Scanner Integration - Trivy, Gitleaks, Semgrep, npm audit

npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

@greenarmor/ges-scanner-integration

Security scanner integrations for the Green Engineering Standard Framework (GESF).

Wraps industry-standard security scanners — Trivy, Gitleaks, Semgrep, npm audit, and pnpm audit — into a unified interface with structured results.

Install

npm install @greenarmor/ges-scanner-integration

Exports

ExportDescription
ScanResultInterface for scanner output (scanner name, status, findings, raw output)
runNpmAudit()Run npm audit and parse results
runPnpmAudit()Run pnpm audit and parse results
runTrivy()Run Trivy container/filesystem scan
runGitleaks()Run Gitleaks secret detection
runSemgrep()Run Semgrep static analysis
runAllScans()Run all available scanners and collect results
formatScanResults(results)Format scan results as a human-readable summary

Usage

import { runAllScans, formatScanResults } from '@greenarmor/ges-scanner-integration';

const results = runAllScans();
console.log(formatScanResults(results));

// Or run individual scanners
import { runGitleaks } from '@greenarmor/ges-scanner-integration';
const secrets = runGitleaks();
if (secrets.status === 'found') {
  console.log(`Found ${secrets.findings.length} secrets`);
}

Supported Scanners

ScannerPurposeRequirement
npm auditDependency vulnerabilitiesnpm projects
pnpm auditDependency vulnerabilitiespnpm projects
TrivyContainer and filesystem scanningTrivy installed
GitleaksSecret detection in Git historyGitleaks installed
SemgrepStatic analysis for security patternsSemgrep installed

Scanners that are not installed are gracefully skipped with a not_available status.

  • @greenarmor/ges-core — Types and constants
  • @greenarmor/ges-cicd-generator — CI/CD workflow generation

License

MIT

FAQs

Package last updated on 18 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts