
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
Security scanner for ClawHub skills — detect malicious patterns in AI agent tools
_____ _ ____
|_ _|__ _ _| | __ / ___| ___ __ _ _ __
| |/ _ \| '_| |/ / \___ \ / __/ _` | '_ \
| | (_) | | | < ___) | (_| (_| | | | |
|_|\___/|_| |_|\_\ |____/ \___\__,_|_| |_|
Free, open-source security scanner for ClawHub skills. Detect malicious patterns in AI agent tools before they compromise your system. No Tork account required.
Like npm audit for AI agent skills.
# Global install
npm install -g @torknetwork/scan
# Or run directly with npx
npx @torknetwork/scan <path-to-skill>
# Scan a specific skill directory
tork-scan ./my-skill
# Audit all installed skills
tork-scan --audit
# Machine-readable JSON output
tork-scan ./my-skill --json
# CI/CD mode — exit code only (0=safe, 1=dangerous)
tork-scan ./my-skill --quiet
| Code | Meaning |
|---|---|
0 | Score >= 50 (safe/caution/risky) |
1 | Score < 50 (dangerous) |
2 | Error (path not found, etc.) |
| ID | Pattern | Description |
|---|---|---|
| C1 | Shell execution | execSync, exec, spawn — arbitrary command execution |
| C2 | Dynamic code execution | eval() — runtime code execution |
| C3 | child_process import | Importing child_process module |
| C4 | Reverse shell | bash -i, /dev/tcp, nc -e, Python socket patterns |
| C5 | C2/exfiltration domains | webhook.site, requestbin, pipedream, ngrok, burpcollaborator |
| C6 | Obfuscated payload | Large Base64-encoded strings (>100 chars) |
| ID | Pattern | Description |
|---|---|---|
| H1 | Sensitive file access | Reads .env, .ssh, credentials files |
| H2 | Credential harvesting | Reads API_KEY, SECRET, TOKEN from env |
| H3 | Hardcoded IP requests | HTTP requests to IP addresses (bypasses DNS) |
| H4 | Suspicious TLDs | URLs with .tk, .ml, .ga, .cf domains |
| H5 | Direct IP connections | Raw socket connections to IP addresses |
| ID | Pattern | Description |
|---|---|---|
| M1 | Overly broad permissions | full_disk_access, shell.execute, network.unrestricted |
| M2 | No README.md | Missing documentation |
| M3 | Hidden files | Dot-prefixed files/dirs (excluding .gitignore, etc.) |
| M4 | File-sharing downloads | mega.nz, mediafire, dropbox direct links |
| M5 | Obfuscated code | Single lines > 500 chars with < 5% spaces |
| ID | Pattern | Description |
|---|---|---|
| L1 | No LICENSE | Missing license file |
| L2 | Excessive dependencies | node_modules directory present |
| L3 | No metadata | Missing package.json or skill.json |
| Score | Bracket | Meaning |
|---|---|---|
| 90-100 | SAFE | No significant issues found |
| 70-89 | CAUTION | Minor issues, review recommended |
| 50-69 | RISKY | Multiple concerns, manual review required |
| 0-49 | DANGEROUS | Critical issues found, do not install |
# GitHub Actions example
- name: Scan skills for security issues
run: npx @torknetwork/scan ./skills --quiet
# Shell script
if tork-scan ./my-skill --quiet; then
echo "Skill is safe to install"
else
echo "DANGEROUS: Do not install this skill"
exit 1
fi
import { scan } from '@torknetwork/scan';
const result = scan('./my-skill');
console.log(result.score); // 85
console.log(result.bracket); // 'CAUTION'
console.log(result.findings); // [{ id: 'M2', ... }]
Tork provides independent AI agent governance — like SSL certificates for AI. This scanner is free and open-source. No account required.
For real-time governance, trust badges, and compliance receipts, visit tork.network.
MIT - see LICENSE
FAQs
Security scanner for ClawHub skills — detect malicious patterns in AI agent tools
The npm package tork-scan receives a total of 1 weekly downloads. As such, tork-scan popularity was classified as not popular.
We found that tork-scan demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.