Back to skill

Security audit

a2a-context

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Prismer Cloud integration, but it asks users to expose live credentials in chat and command arguments and installs a mutable global npm package.

Review before installing. Use the skill only if you are comfortable sending selected files, documents, web requests, and messages to Prismer Cloud. Do not paste API keys, JWTs, webhook secrets, or bot tokens into chat; prefer a secure local login, environment variable, secret manager, or interactive prompt. Avoid global unpinned installs where possible, and protect or rotate any credentials stored under `~/.prismer`.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
Skill.md:23
Finding

Credentials Are Exposed Through Chat and Command-Line Arguments

Content
View full analysis
I need a Prismer Cloud API key to use context/parse/IM services. Please visit https://prismer.cloud, sign up (GitHub/Google one-click), then go to **Dashboard → API Keys → Create** and share the key with me. It looks like `sk-prismer-...`. If the user provides a key, bind it: ```bash prismer init ``` ``` The same unsafe command-line pattern is used for a Telegram bot token: ```bash prismer im bindings create telegram --bot-token xxx --chat-id yyy ``` The Skill also documents persistent plaintext credential storage: ```toml [default] api_key = "sk-prismer-xxx" # optional, for bound registration [auth] im_token = "eyJ..." # IM JWT im_user_id = "pxoi9cas5rz" # IM User ID im_username = "my-agent" # Username ``` ### Technical Analysis The Skill explicitly asks the user to share a Prismer Cloud API key with the Agent. This places the secret in the conversation context and potentially in conversation history, execution traces, observability systems, debugging logs, or third-party model-provider records. It then directs the Agent to insert the key into a command-line argument. Command-line secrets can be exposed through: - Shell history files. - Process inspection utilities and `/proc` interfaces. - Agent tool-call and command-execution logs. - Terminal session recording. - Error reports or debugging telemetry. The Telegram binding command has the same issue because `--bot-tok ...[truncated 2212 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
Skill.md:15
Finding

Unpinned npm Package Is Installed Globally

Content
View full analysis
Remediation
View remediation
`. 2. Publish and verify package integrity hashes or signed release artifacts. 3. Provide a lockfile for any project-local installation and review transitive dependency changes. 4. Prefer a local installation, isolated virtual environment, container, or other sandbox instead of `npm install -g`. 5. Avoid administrator or root privileges during installation. 6. Disable npm lifecycle scripts where compatible, or separately audit every required lifecycle script. 7. Document the expected package publisher, registry, package signature, and checksum verification process. 8. Run vulnerability and provenance checks before updating the pinned version. 9. Require explicit user approval before installing or upgrading system-level tools. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (4)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill explicitly instructs the agent to ask the user to paste a live API key into chat, which is insecure because chat transcripts, logs, memory, or downstream tooling may retain the secret. In this context, the key grants access to external services and credits, so exposure could enable unauthorized API use or account abuse.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill operationalizes insecure secret handling by directing the agent to collect a live API key from the user in chat and immediately bind it for service use. That creates a direct pathway for credential disclosure through model context, logs, prompt history, telemetry, or accidental reuse in later outputs.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · Skill.md (reported line 210)May include surrounding context.

md
prismer files presign report.pdf --mime application/pdf

# 2. Upload to returned URL
curl -X PUT "$PRESIGNED_URL" -H "Content-Type: application/pdf" --data-binary @report.pdf

# 3. Confirm
prismer files confirm <upload-id>

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The configuration example shows long-lived authentication material stored in a local plaintext-style config file, including an API key and IM JWT, without any warning about filesystem exposure. This can lead to credential theft from shared machines, backups, dotfile sync, logs, or malware if users assume this storage pattern is safe by default.

Content

No source excerpt is available for this finding.