Skill Trust Decision

introspection-debugger

Skill implements legitimate debugging functionality but contains multiple undeclared sensitive capabilities: arbitrary shell execution, filesystem write at extracted paths, and external network transmission of full error reports including stack traces.

Install decision first Source: ClawHub Scanned: Jun 20, 2026
Files 4
Artifacts 2
Violations 3
Findings 5
Most direct threat evidence
01
Skill presented as debugging framework in SKILL.md Entry · SKILL.md
02
Hides shell execution capability from documentation stealth · SKILL.md
03
Executes arbitrary shell commands via execAsync Escalation · introspection-debugger.js

Why this conclusion was reached

2/4 dimensions flagged
Block
Declared vs actual capability

3 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

2 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 5 attack-chain steps and 2 severe findings.

Pass
Dependencies and supply chain hygiene

Dependencies are present but no obvious high-risk issue stands out.

Attack Chain

01
Skill presented as debugging framework in SKILL.md

Entry · SKILL.md:1

02
Hides shell execution capability from documentation

stealth · SKILL.md:1

03
Executes arbitrary shell commands via execAsync

Escalation · introspection-debugger.js:225

04
Writes files to arbitrary paths extracted from errors

Escalation · introspection-debugger.js:137

05
Exfiltrates full error reports with stack traces to external webhook

Impact · introspection-debugger.js:263

What drove the risk score up

Undeclared shell execution +20

execAsync runs arbitrary shell commands (npm install, chmod) not mentioned in SKILL.md

Undeclared filesystem WRITE +15

Creates files at paths extracted from error messages without declaring this capability

Undeclared network exfiltration +15

Sends full error reports with stack traces to arbitrary webhook URLs

Arbitrary dependency installation +10

npm install without version pinning - supply chain risk

Documentation mismatch +10

SKILL.md does not mention shell commands, file writes to extracted paths, or webhook POST requests

Most important evidence

High Doc Mismatch

Undeclared shell command execution

The skill executes arbitrary shell commands via exec() function (npm install, chmod +x) but SKILL.md does not declare any shell execution capabilities. This violates transparency requirements.

introspection-debugger.js:225
Document shell execution as a declared capability with clear use cases in SKILL.md
High Doc Mismatch

Undeclared network transmission

The notificationHook can POST full error reports including stack traces to arbitrary external URLs. This is data exfiltration capability not declared in SKILL.md.

introspection-debugger.js:263
Document network transmission capability and advise users to only use trusted internal webhooks
Medium Priv Escalation

Unrestricted file creation at extracted paths

The createMissingFile fix method extracts file paths from error messages and writes files to those paths. This could be exploited to write files to arbitrary locations if error messages are crafted.

introspection-debugger.js:137
Implement path validation to restrict file writes to workspace directory only
Medium Supply Chain

Dependency installation without version pinning

The installDependency method runs 'npm install <moduleName>' without specifying versions, allowing installation of latest versions which could introduce malicious dependencies.

introspection-debugger.js:159
Pin to major version ranges or require explicit user approval for installation
Medium Data Exfil

Full error context including stack traces transmitted externally

Error reports sent via notificationHook include full stack traces which may contain sensitive information like file paths, environment context, or internal logic.

introspection-debugger.js:293
Redact or allow users to configure which fields are included in external reports

Declared capability vs actual capability

Filesystem Block
Declared NONE
Inferred WRITE
introspection-debugger.js:137 fs.writeFileSync(filePath, content)
Shell Block
Declared NONE
Inferred WRITE
introspection-debugger.js:225 execAsync(cmd, options)
Network Block
Declared NONE
Inferred WRITE
introspection-debugger.js:263 fetch.request with POST method to notificationHook
Environment Pass
Declared NONE
Inferred NONE

Suspicious artifacts and egress

Medium External URL
https://clawhub.ai/user/danihe001

skill-card.md:7

Medium External URL
https://clawhub.ai/danihe001/introspection-debugger

skill-card.md:27

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
Node.js built-ins N/A builtin No Uses only built-in modules: fs, path, child_process, events

File composition

4 files · 660 lines
JavaScript 1 files · 526 linesMarkdown 2 files · 129 linesJSON 1 files · 5 lines
Files of concern · 2
introspection-debugger.js JavaScript · 526 lines
Undeclared shell command execution · Undeclared network transmission · Unrestricted file creation at extracted paths · Dependency installation without version pinning · Full error context including stack traces transmitted externally
skill-card.md Markdown · 41 lines
https://clawhub.ai/user/danihe001 · https://clawhub.ai/danihe001/introspection-debugger
Other files · SKILL.md · _meta.json

Security positives

No credential harvesting detected (does not iterate os.environ for secrets)
No base64 obfuscation or anti-analysis techniques found
No access to sensitive paths like ~/.ssh, ~/.aws, or .env
No reverse shell, C2 communication, or persistence mechanisms
Legitimate use case for AI agent self-diagnosis and repair