Back to skill

Security audit

Tripwire

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Tripwire reference tool whose sensitive-looking commands are disclosed examples for host integrity monitoring, not hidden automatic behavior.

Install only if you want Tripwire administration reference material. Treat the shown system commands as examples: review them before running, especially package installs, deletion of plaintext Tripwire config files, cron jobs, and any Slack or email alerting that could reveal host information.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · scripts/script.sh (reported line 123)May include surrounding context.

sh
## Security
After signing, remove plain-text versions:
```bash
rm /etc/tripwire/twcfg.txt /etc/tripwire/twpol.txt
```
To recover plain-text:
```bash

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/script.sh (reported line 189)May include surrounding context.

sh
## Check Specific File/Directory
```bash
tripwire --check /etc/passwd
tripwire --check /usr/bin
```

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/script.sh (reported line 220)May include surrounding context.

sh
## Check Specific File/Directory
```bash
tripwire --check /etc/passwd
tripwire --check /usr/bin
```

Credential Access

High
Category
Privilege Escalation
Confidence
95% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/script.sh (reported line 221)May include surrounding context.

sh
Modified Objects: 2
-------------------------------------------------------
  /etc/passwd          Modified
  /etc/shadow          Modified

Rule Name           Severity Level  Added  Removed  Modified
---------           --------------  -----  -------  --------

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/script.sh (reported line 514)May include surrounding context.

sh
tripwire --check --quiet
if [ $? -ne 0 ]; then
    # Send to PagerDuty/Slack/etc
    curl -X POST https://hooks.slack.com/services/xxx \
      -d '{"text":"⚠️ Tripwire violation on '"$(hostname)"'"}'
fi
```

Static analysis

No suspicious patterns detected.