Back to skill

Security audit

facebook_page_ronnie

Security checks for vulnerabilities and agentic risk

Overview

The skill is for legitimate Facebook Page operations, but it handles powerful Page tokens and live public posting without enough safeguards.

Review this skill before installing if the Facebook Page is business-critical. Use least-privilege tokens, avoid running token-generation examples in logged or shared environments, redact API output, and require a manual confirmation before any live post, comment, reply, or browser-driven action.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:94
Finding

Meta access tokens and application secrets are exposed through URL query strings and standard output

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (10)

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 · SKILL.md (reported line 26)May include surrounding context.

md
Meaning of each config item:
- `FACEBOOK_PAGE_ID`: the numeric Facebook Page ID used in Graph API endpoints
- `FACEBOOK_PAGE_ACCESS_TOKEN`: the Page access token used to publish posts and test engagement actions
- `FACEBOOK_GRAPH_VERSION`: optional Graph API version pin, e.g. `v22.0`

Quick check:

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 · SKILL.md (reported line 79)May include surrounding context.

md
Meaning of each config item:
- `FACEBOOK_PAGE_ID`: the numeric Facebook Page ID used in Graph API endpoints
- `FACEBOOK_PAGE_ACCESS_TOKEN`: the Page access token used to publish posts and test engagement actions
- `FACEBOOK_GRAPH_VERSION`: optional Graph API version pin, e.g. `v22.0`

Quick check:

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 · SKILL.md (reported line 84)May include surrounding context.

md
Meaning of each config item:
- `FACEBOOK_PAGE_ID`: the numeric Facebook Page ID used in Graph API endpoints
- `FACEBOOK_PAGE_ACCESS_TOKEN`: the Page access token used to publish posts and test engagement actions
- `FACEBOOK_GRAPH_VERSION`: optional Graph API version pin, e.g. `v22.0`

Quick check:

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 · SKILL.md (reported line 77)May include surrounding context.

md
- `pages_manage_posts`
   - `pages_manage_engagement`
   - `pages_read_user_content` (recommended for comment-related workflows)
3. Generate a **short-lived User Access Token** for the Facebook account that manages the Page.
4. Exchange it for a **long-lived User Access Token**.
5. Use the long-lived user token to query Page accounts and retrieve the Page access token.

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 · SKILL.md (reported line 78)May include surrounding context.

md
- `pages_manage_posts`
   - `pages_manage_engagement`
   - `pages_read_user_content` (recommended for comment-related workflows)
3. Generate a **short-lived User Access Token** for the Facebook account that manages the Page.
4. Exchange it for a **long-lived User Access Token**.
5. Use the long-lived user token to query Page accounts and retrieve the Page access token.

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 · SKILL.md (reported line 82)May include surrounding context.

md
- `pages_manage_posts`
   - `pages_manage_engagement`
   - `pages_read_user_content` (recommended for comment-related workflows)
3. Generate a **short-lived User Access Token** for the Facebook account that manages the Page.
4. Exchange it for a **long-lived User Access Token**.
5. Use the long-lived user token to query Page accounts and retrieve the Page access token.

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 · SKILL.md (reported line 86)May include surrounding context.

md
- `pages_manage_posts`
   - `pages_manage_engagement`
   - `pages_read_user_content` (recommended for comment-related workflows)
3. Generate a **short-lived User Access Token** for the Facebook account that manages the Page.
4. Exchange it for a **long-lived User Access Token**.
5. Use the long-lived user token to query Page accounts and retrieve the Page access token.

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 · SKILL.md (reported line 171)May include surrounding context.

md
- after adding new permissions, you often need to **re-generate the token**
- if the app is still in **Development mode**, some production behaviors may stay blocked
- the acting Facebook account must actually have the necessary Page role/permissions
- long-lived user tokens are typically around **60 days**, while Page access tokens obtained through them are usually the practical token used for Page posting workflows
- even a long-usable Page token can still stop working if the user changes password, removes app authorization, loses Page role access, or the app mode/permissions change

## Default execution policy

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The configuration section instructs use of sensitive credentials such as FACEBOOK_PAGE_ACCESS_TOKEN without any warning about secure storage, redaction, or avoiding disclosure in logs and chat transcripts. Because the skill also includes diagnostic commands that print API responses, the absence of handling guidance increases the chance of accidental token exposure during normal use.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly automates live Facebook posting, commenting, replying, and browser fallback, but it does not require a clear pre-action confirmation that these actions will affect a real Page. This creates a meaningful risk of unintended public actions, especially because the default policy encourages direct execution paths rather than an explicit human approval checkpoint.

Content

No source excerpt is available for this finding.