Scan Report
65 /100
Enterprise Security
企业级安全套件 - 高危操作确认、自动备份、回滚机制、技能安检
Skill uses undeclared shell execution with hardcoded database credentials to write directly to PostgreSQL memories, representing significant hidden functionality not documented in SKILL.md.
Do not install this skill
This skill performs shell commands (docker exec with psql) and database writes that are not declared in documentation. If needed, it should be rewritten to use declared skill_invoke capabilities or remove the activate.js script entirely.
Attack Chain 5 steps
◎
Entry User installs skill thinking it's a simple security tool
SKILL.md:1⬡
Escalation activate.js executes docker commands with execSync
activate.js:29⬡
Escalation Hardcoded credentials stored in source code
activate.js:19⬡
Escalation Database writes to PostgreSQL memories table
activate.js:28◉
Impact Attacker with code access could modify credentials or SQL injection
activate.js:28Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| High | Undeclared shell execution via execSync RCE | activate.js:29 |
| High | Hardcoded database credentials Credential Theft | activate.js:19 |
| High | Documentation mismatch - hidden database/shell behavior Doc Mismatch | SKILL.md:1 |
| Medium | Implicit database write access Priv Escalation | activate.js:28 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✗ Violation | activate.js:29 execSync() |
| Filesystem | NONE | WRITE | ✗ Violation | activate.js:29 docker exec writes to PostgreSQL |
| Database | NONE | WRITE | ✗ Violation | activate.js:19 direct PostgreSQL access via docker exec |
File Tree
8 files · 18.9 KB · 768 lines JavaScript 7f · 528L
Markdown 1f · 240L
├─
▾
modules
│ ├─
backup.js
JavaScript
│ ├─
changelog.js
JavaScript
│ ├─
confirm.js
JavaScript
│ ├─
rollback.js
JavaScript
│ └─
security-check.js
JavaScript
├─
activate.js
JavaScript
├─
index.js
JavaScript
└─
SKILL.md
Markdown
Security Positives
✓ Core modules (backup.js, rollback.js, changelog.js, confirm.js) use only safe fs operations documented in SKILL.md
✓ Security check module performs legitimate skill vetting with no suspicious behavior
✓ No base64 encoding, obfuscation, or anti-analysis patterns detected
✓ No data exfiltration observed in the main codebase
✓ No suspicious network requests to external IPs