Back to skill

Security audit

social-listening

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed weekly LinkedIn social-listening workflow that posts a bounded internal Slack digest and avoids automated LinkedIn engagement.

Before installing, confirm the LinkedIn, Slack, and Anthropic connectors are the ones you intend to use, set the Slack channel to an internal locked channel, review live usage costs, and deploy only after inspecting the Cargo plan. The skill will run weekly and post names and quotes from public LinkedIn comments into Slack.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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
Findings (11)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared description is for a complete LinkedIn social-listening and Slack-digest skill. The supplied code chunk only defines an Anthropic connector configuration (defineConnector with integration anthropic). While model usage could be a supporting detail for the broader skill, this chunk by itself does not carry out the described primary behavior and instead exposes an undeclared external resource/integration. Therefore, the description does not accurately represent what this specific code chunk actually does.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
**Derive before you ask.** An input with a lookup is looked up, not asked.

| Input                                                       | Kind    | How it is answered                                                                                                                                                              | Why it matters                                                                                                                                         |
| ----------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `searchKeywords` (`infra/models/linkedin-posts.ts`)         | derived | From the ICP pains, category term and competitors in the workspace context, confirmed against one manual search. Asked only when the context has none.                           | It is what you buy each week. Positioning copy as keywords returns vendors talking to each other; buyer language returns buyers.                        |
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
**Derive before you ask.** An input with a lookup is looked up, not asked.

| Input                                                       | Kind    | How it is answered                                                                                                                                                              | Why it matters                                                                                                                                         |
| ----------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `searchKeywords` (`infra/models/linkedin-posts.ts`)         | derived | From the ICP pains, category term and competitors in the workspace context, confirmed against one manual search. Asked only when the context has none.                           | It is what you buy each week. Positioning copy as keywords returns vendors talking to each other; buyer language returns buyers.                        |
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| Input                                                       | Kind    | How it is answered                                                                                                                                                              | Why it matters                                                                                                                                         |
| ----------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `searchKeywords` (`infra/models/linkedin-posts.ts`)         | derived | From the ICP pains, category term and competitors in the workspace context, confirmed against one manual search. Asked only when the context has none.                           | It is what you buy each week. Positioning copy as keywords returns vendors talking to each other; buyer language returns buyers.                        |
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |
| `channelId` (`infra/agents/listener.ts`)                    | asked   | The Slack channel id (`C…`) from the connector's autocomplete. Invite the bot.                                                                                                  | The digest names people. Locked so it never lands in a customer shared channel.                                               
...[truncated 25 chars]

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| Input                                                       | Kind    | How it is answered                                                                                                                                                              | Why it matters                                                                                                                                         |
| ----------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `searchKeywords` (`infra/models/linkedin-posts.ts`)         | derived | From the ICP pains, category term and competitors in the workspace context, confirmed against one manual search. Asked only when the context has none.                           | It is what you buy each week. Positioning copy as keywords returns vendors talking to each other; buyer language returns buyers.                        |
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |
| `channelId` (`infra/agents/listener.ts`)                    | asked   | The Slack channel id (`C…`) from the connector's autocomplete. Invite the bot.                                                                                                  | The digest names people. Locked so it never lands in a customer shared channel.                                               
...[truncated 25 chars]

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| ----------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `searchKeywords` (`infra/models/linkedin-posts.ts`)         | derived | From the ICP pains, category term and competitors in the workspace context, confirmed against one manual search. Asked only when the context has none.                           | It is what you buy each week. Positioning copy as keywords returns vendors talking to each other; buyer language returns buyers.                        |
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |
| `channelId` (`infra/agents/listener.ts`)                    | asked   | The Slack channel id (`C…`) from the connector's autocomplete. Invite the bot.                                                                                                  | The digest names people. Locked so it never lands in a customer shared channel.                                                                         |
| connectors (`infra/connectors/`)                            | value   | **derived**: `cargo-ai connection connector list` shows authorized LinkedIn, Slack and Anthropic connectors. `default: true` binds each.                                          | Without LinkedIn the sync returns nothing and the digest reads "quiet week" forever.                                       
...[truncated 25 chars]

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| `limit` (`infra/models/linkedin-posts.ts`)                  | asked   | 20 to 100 in steps of 20. Price it from the live per-post cost before you pick.                                                                                                 | It is the weekly spend ceiling on the search.                                                                                                          |
| `channelId` (`infra/agents/listener.ts`)                    | asked   | The Slack channel id (`C…`) from the connector's autocomplete. Invite the bot.                                                                                                  | The digest names people. Locked so it never lands in a customer shared channel.                                                                         |
| connectors (`infra/connectors/`)                            | value   | **derived**: `cargo-ai connection connector list` shows authorized LinkedIn, Slack and Anthropic connectors. `default: true` binds each.                                          | Without LinkedIn the sync returns nothing and the digest reads "quiet week" forever.                                                                   |
| our own company and people                                  | derived | From the workspace context (company, positioning).                                                                                                                              | They are excluded from picks. Miss them and the digest recommends joining your own posts.                                                              |

## What you can change

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
## What you can change

| Variation         | When it is right                                                   | How                                                                                                             | What it costs                                                                                                                                                     |
| ----------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `two-searches`    | Pain language and competitor names return different crowds        | Add a second `fetchPosts` model with its own keywords and give the listener read access to both                 | Two searches billed each week. The ledger still dedupes a post that matches both.                                                                                 |
| `with-reactions`  | Comments are rare in your niche and reactions are the only signal   | Add `linkedin.actions.searchPostReactions` to `uses` and a §4 line to read them on picked posts                 | Billed per reactor, often hundreds a post, and a reaction carries no words to quote. Cap it in the prompt.                                                        |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
## What you can change

| Variation         | When it is right                                                   | How                                                                                                             | What it costs                                                                                                                                                     |
| ----------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `two-searches`    | Pain language and competitor names return different crowds        | Add a second `fetchPosts` model with its own keywords and give the listener read access to both                 | Two searches billed each week. The ledger still dedupes a post that matches both.                                                                                 |
| `with-reactions`  | Comments are rare in your niche and reactions are the only signal   | Add `linkedin.actions.searchPostReactions` to `uses` and a §4 line to read them on picked posts                 | Billed per reactor, often hundreds a post, and a reaction carries no words to quote. Cap it in the prompt.                                                        |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| Variation         | When it is right                                                   | How                                                                                                             | What it costs                                                                                                                                                     |
| ----------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `two-searches`    | Pain language and competitor names return different crowds        | Add a second `fetchPosts` model with its own keywords and give the listener read access to both                 | Two searches billed each week. The ledger still dedupes a post that matches both.                                                                                 |
| `with-reactions`  | Comments are rare in your niche and reactions are the only signal   | Add `linkedin.actions.searchPostReactions` to `uses` and a §4 line to read them on picked posts                 | Billed per reactor, often hundreds a post, and a reaction carries no words to quote. Cap it in the prompt.                                                        |
| `with-tiers`      | `account-scoring` is installed and you want engagers at A/B accounts first | Add the tiered companies model to `uses` read-only, and in §4 match the headline's stated employer by name      | Name matching misses on abbreviations. Only a headline that states the employer can match; never look it up.                                                      |
| `daily`           | The category moves fast and a weekly digest is stale               | `datePosted: "Past 24 hours"`, a daily cron on both the 
...[truncated 25 chars]

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| `two-searches`    | Pain language and competitor names return different crowds        | Add a second `fetchPosts` model with its own keywords and give the listener read access to both                 | Two searches billed each week. The ledger still dedupes a post that matches both.                                                                                 |
| `with-reactions`  | Comments are rare in your niche and reactions are the only signal   | Add `linkedin.actions.searchPostReactions` to `uses` and a §4 line to read them on picked posts                 | Billed per reactor, often hundreds a post, and a reaction carries no words to quote. Cap it in the prompt.                                                        |
| `with-tiers`      | `account-scoring` is installed and you want engagers at A/B accounts first | Add the tiered companies model to `uses` read-only, and in §4 match the headline's stated employer by name      | Name matching misses on abbreviations. Only a headline that states the employer can match; never look it up.                                                      |
| `daily`           | The category moves fast and a weekly digest is stale               | `datePosted: "Past 24 hours"`, a daily cron on both the model and the agent                                     | Seven searches a week instead of one, and a digest most days will be quiet.                                                                                       |
| `competitor-only` | You only want to hear when a competitor is discussed               | Keywords become competitor names only                                                                           | You lose the buyers who describe the pain without naming any vendor, which is most of them.                                                                       |

## What should not change