Back to skill

Security audit

Notion Manager

Security checks for vulnerabilities and agentic risk

Overview

This is a small Notion API skill whose network and write behavior fits its stated purpose, though users should treat it as capable of changing live Notion workspace data.

Install only if you intend to let the agent access your Notion workspace through a Notion integration. Use a minimal-scope Notion API key, avoid pasting real tokens into chat transcripts, and review write requests carefully because this skill can create or modify Notion pages, blocks, and data sources.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill has network-capable behavior against the Notion API but does not declare any explicit tool scope such as allowed tools or permissions. That omission weakens policy enforcement and reviewability, making it easier for an agent to invoke external network access without clear operator awareness or least-privilege constraints.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill supports write operations such as createPage, updatePage, appendBlocks, and createDataSource, but its description and usage guidance do not warn that these actions can modify or create content in a live workspace. This increases the risk of accidental destructive or unauthorized changes when an agent or user treats the skill as read-only or low-risk.

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.js (reported line 2)May include surrounding context.

js
const NOTION_VERSION = "2025-09-03";
const BASE_URL = "https://api.notion.com/v1";

async function run(params = {}) {
  const op = params.input?.operation;

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest description says the skill is for creating/reading/updating pages, querying data sources, and appending blocks. The code also supports a separate "createDataSource" operation that creates new data sources, which is not mentioned in the described scope and materially expands the write capabilities of the skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill performs outbound HTTP requests to the Notion API using a bearer token and request bodies derived from user input, including operations that read and modify remote content. There is no confirmation prompt, logging/print statement, or explanatory comment/docstring in this file disclosing that user data and credentials are being sent to an external service.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The manifest and examples reference a sensitive Notion API credential but provide no handling or privacy guidance, such as not logging the token, not embedding it in prompts, and restricting its scope. This can lead to inadvertent credential exposure through debugging, transcripts, or unsafe operational practices.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.