Back to skill

Security audit

Aegis Audit

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent defensive audit skill, with the main caution that it installs an external unpinned PyPI command-line package.

Install only if you are comfortable running an external Python security scanner over the target directory. Prefer a pinned, reviewed aegis-audit version, verify the PyPI publisher/source, run it in a least-privileged workspace, and do not enable LLM mode on sensitive repositories unless you accept sending scanned code to the selected provider.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:8
Finding
Unpinned Third-Party Package Installation Creates a Supply-Chain Risk## Vulnerability Details **File Location**: `SKILL.md`, lines 8 and 53-61 **Vulnerability Type**: Unpinned executable dependency **Risk Level**: Medium ### Vulnerable Code ```yaml metadata: {"openclaw":{"emoji":"🔍","homepage":"https://github.com/Aegis-Scan/aegis-scan","requires":{"bins":["aegis"],"config":["~/.aegis/config.yaml"]},"install":[{"kind":"uv","package":"aegis-audit","bins":["aegis"]}]}} ``` ```markdown Install from [PyPI](https://pypi.org/project/aegis-audit/) using pip or uv: ```bash pip install aegis-audit ``` ```bash uv tool install aegis-audit ``` ``` ### Technical Analysis The skill metadata and documented installation commands install `aegis-audit` from PyPI without pinning an exact version or verifying an artifact hash. Consequently, installation resolves whichever package version the package index currently considers appropriate rather than the version reviewed when this skill was published. The project itself contains only documentation and licensing files; it does not include the executable implementation of the `aegis` command. Therefore, the behavior of the code ultimately installed and executed cannot be verified from this project. Although the documentation recommends pinning a version, neither the machine-readable installation metadata nor the primary installation commands enforce that recommendation. This is a supply-chain weakness rather than evidence that the current PyPI package is malicious. Exploitation would require compromise or malicious control of the package publication or dependency-resolution process. ### Attack Path 1. An attacker compromises the relevant package publisher account, package index, or release process, or causes a malicious future package version to be published. 2. A user or agent installs the skill using the metadata-driven installer or runs `pip install aegis-audit` or `uv tool install aegis-audit`. 3. Because no version and artifact hash are enf ...[truncated 940 chars]
Remediation
## Remediation Suggestions 1. Pin the package to a specific audited version in the machine-readable metadata, for example `aegis-audit==1.3.x`, using the exact release that has been reviewed. 2. Update every installation example to use the same exact version rather than an unconstrained package name. 3. Require cryptographic hash verification for downloaded distributions, such as a hash-locked requirements file with `pip --require-hashes`. 4. Publish and verify signed release artifacts or trusted provenance attestations where supported. 5. Include the executable source in the reviewed project or reference an immutable source commit so reviewers can correlate the installed artifact with audited code. 6. Treat upgrades as explicit security-review events rather than silently resolving the newest available release. 7. Run the scanner under a least-privileged account or sandbox with restricted filesystem, credential, and network access to reduce the impact of a compromised dependency.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Harmful Content Injection

Critical
Category
Prompt Injection
Content
---

## Vibe Check personas

Aegis assigns each scanned skill a persona based on deterministic analysis:

- **Cracked Dev** — Clean code, smart patterns, minimal permissions.
- **LGTM** — Permissions match the intent, scopes are sane, nothing weird.
- **Trust Me Bro** — Polished on the outside, suspicious on the inside.
- **You Sure About That?** — Messy code, missing pieces, docs that overpromise.
Confidence
95% confidence
Finding
This content may contain harmful instructions that could cause physical harm if followed. CRITICAL: Review carefully before use.

Static analysis

No suspicious patterns detected.