Back to skill

Security audit

social-rights

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates the social-rights skill benign with high confidence: the completed scan found no AIG findings, and the three contextualized Skillspector findings were assessed as expected for its purpose.

The verdict is benign, but benign does not mean risk-free. Before installing, consider whether the detected file-reading and network capabilities fit your needs, and whether you are comfortable with the French-by-default instruction and the reported OAuth credential handling.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/youtube_oauth_core.py (reported line 96)May include surrounding context.

python
lifetime = token.get('expires_in')
        access = token.get('access_token')
        if type(lifetime) is not int or not 0 < lifetime <= 86400 or not isinstance(access,str) or not 1 <= len(access) <= 16384 or '\r' in access or '\n' in access:
            raise ValueError('invalid token expiry or access credential')
        expires_at = now + lifetime
        # Fresh identity check, not a callback scope claim or an unverified JWT.
        try:

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, network.

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.

The skill directs French output by default without user opt-in or a documented justification.

Low
Category
Output Handling
Confidence
99% confidence
Finding

The instruction "Use French by default" imposes a specific output language without first offering a language choice. The skill does not document a locale-specific reason for this requirement.

Content

No source excerpt is available for this finding.