Back to skill

Security audit

compliance-aiops

Security checks for vulnerabilities and agentic risk

Overview

The skill describes a coherent local evidence workflow with disclosed signing, storage, and optional scheduling, without concrete evidence of malicious behavior.

Installation can require internet access. Select the intended audit sources, protect evidence files and signing secrets, and enable scheduled signing only deliberately. Verify the downloaded package version; these reports provide evidence, not compliance certification.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Although installation can support the declared workflow, this chunk explicitly installs an externally referenced plugin, which conflicts with the stated offline, read-only behavior. The metadata query is benign, but neither command implements evidence generation. The installed plugin's downstream behavior is not available in the supplied code and cannot be assessed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The initialization and database-discovery commands are consistent with supporting the declared evidence workflow. However, uv tool install compliance-aiops can contact a package registry and download the package and dependencies; the command does not enforce offline installation. This contradicts the explicit no-network claim, even though installation might succeed from cache. The supplied chunk does not expose the installed package's implementation, so its evidence-generation behavior and read-only database access cannot be independently verified.

Content

No source excerpt is available for this finding.

YARA rule 'backdoor_persistence': Backdoor persistence with malicious payloads (shell commands, SSH key injection, hidden root users) [malware]

High
Category
YARA Match
Confidence
75% confidence
Finding

YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).

Content

Scanner excerpt · SKILL.md (reported line 195)May include surrounding context.

md
P: `bundle_schedule_hint`) → returns a `cronLine` plus the exact
   non-interactive command. **It writes nothing.**
3. Paste the `cronLine` into `crontab -e`, e.g.
   `0 2 * * 1 compliance-aiops bundle generate soc2 --period 7d --sign`
4. Export `COMPLIANCE_AIOPS_MASTER_PASSWORD` in the cron environment so the
   signing key unlocks non-interactively — never inline the real password in the
   crontab
5. After the first scheduled run, `compliance-aiops bundle list` and
   `bundle verify` the newest bundle to confirm the unattended path really works
6. **Failure branch**: if the cron run produces no bundle, the usual causes are
   an unset master password (signing cannot unlock) or `COMPLIANCE_AIOPS_HOME`
   not being set in cron's environment, so sources resolve elsewhere. Verify by
   running the emitted command by hand with a clean environment before trusting
   the schedule.

## Governance & Safety

The skill reads audit trails and writes evidence bundles and records what it
does

Session Persistence

Medium
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 191)May include surrounding context.

md
2. `compliance-aiops bundle schedule soc2 --cron "0 2 * * 1" --period 7d --sign`
   (MCP: `bundle_schedule_hint`) → returns a `cronLine` plus the exact
   non-interactive command. **It writes nothing.**
3. Paste the `cronLine` into `crontab -e`, e.g.
   `0 2 * * 1 compliance-aiops bundle generate soc2 --period 7d --sign`
4. Export `COMPLIANCE_AIOPS_MASTER_PASSWORD` in the cron environment so the
   signing key unlocks non-interactively — never inline the real password in the

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/agent-guardrails.md (reported line 18)May include surrounding context.

md
## Authorization is not this tool's job — decide it where it belongs

Whether a bundle should be produced or signed is your decision, or the account's.
The tool does not gate it — there is no read-only switch and no approval prompt
to configure. The two right places to control it:

- **The account it runs as.** The tool only ever writes under