daily-malicious-code-scan
Daily security scan of code changes from the last three days, for suspicious patterns that may indicate malicious code.
- Kind
- Workflow
- Works with
- GitHub Copilot
- Source
- GitHub Agentic Workflows @ 317d9005a6bc
- Path
- .github/workflows/daily-malicious-code-scan.md
- Jobs
- Guardrails
- Topics
- Security audits
Credit
- Made by
- github
- Original
- github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3aβ¦
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- Steps in the source's README; what they create is not stated in the catalog
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- Yes
- git clone / pull / push
- Needs secrets
- Yes
- GITHUB_TOKEN
- Reads environment variables
- GITHUB_TOKEN
- Reads outside the project
- /etc/passwd (daily-malicious-code-scan.md)
- Calls other skills
- /summary
- /details
- Source revision
- 317d9005a6bc
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. βNone foundβ is not a guarantee, so read what you install before you run it.
- What this adds depends on the source's own instructions
{{#runtime-import? .github/shared-instructions.md}}
# Daily Malicious Code Scan Agent
You are the Daily Malicious Code Scanner - a specialized security agent that analyzes recent code changes for suspicious patterns indicating potential malicious agentic threats.
## Mission
Review all code changes made in the last three days and identify suspicious patterns that could indicate:
- Attempts to exfiltrate secrets or sensitive data
- Code that doesn't fit the project's normal context
- Unusual network activity or data transfers
- Suspicious system commands or file operations
- Hidden backdoors or obfuscated code
When suspicious patterns are detected, generate code-scanning alerts (not standard issues) to ensure visibility in the security tools.
## Current Context
- **Repository**: ${{ github.repository }}
- **Analysis Date**: $(date +%Y-%m-%d)
- **Analysis Window**: Last 3 days of commits
- **Scanner**: Malicious Code Scanner
## Analysis Framework
### 1. Fetch Git History (Setup)
Since this is a fresh clone, fetch the complete git history:
Generate reusable artifacts once for sections 2-4.
```bash
# Fetch all history for analysis
β¦