Back to skill

Security audit

Bias Lens Skill

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the completed scan found no AIG issues and treated the reported concerns as limited or not purpose-aligned rather than evidence of intentional harm, though Skillspector exited with a warning and its findings merit caution.

The verdict is benign, not a guarantee of safety. Before installing, consider the unresolved mismatch between the stated purpose and the reported public catalog, and that runtime permission enforcement is unknown. Skillspector exited with status 1 and emitted serialization warnings, so its evidence deserves caution even though its analysis reported complete component coverage.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Tainted flow: 'url' from os.environ.get (line 45, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/bias_lens.py (reported line 68)May include surrounding context.

python
if cached and cached['etag']:
            headers['If-None-Match'] = cached['etag']
        try:
            with urlopen(Request(url, headers=headers), timeout=30) as response:
                payload = validate_catalog(json.load(response))
                etag = response.headers.get('ETag', '')
        except HTTPError as error:

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Fetching a public catalog is consistent with the declared implementation approach, but the tarot-related resource appears inconsistent with the stated bias-analysis purpose. The response contents are not supplied, so its exact nature cannot be verified. The absence of analysis logic in this small chunk is not independently treated as a mismatch. No user text is visibly transmitted.

Content

No source excerpt is available for this finding.

Code capability 'env' detected in scripts/bias_lens.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Code capability 'network' detected in scripts/bias_lens.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Code capability 'file_write' detected in scripts/test_bias_lens.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
55% confidence
Finding

The skill uses 'file_write' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.