notion

Fail

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: CRITICALREMOTE_CODE_EXECUTIONMETADATA_POISONINGINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill instructs the user to install a CLI tool by piping a remote script directly into bash: curl -fsSL https://ntn.dev | bash. This pattern is highly dangerous as it allows for arbitrary code execution from a non-vendor-controlled domain without verification of the script's contents.
  • [METADATA_POISONING]: The skill describes the ntn CLI as 'Notion's official CLI'. Official Notion documentation typically refers to their JavaScript SDK or community-driven projects. This claim is deceptive and encourages users to trust a potentially malicious or unverified third-party script from ntn.dev.
  • [INDIRECT_PROMPT_INJECTION]: The skill provides an attack surface for indirect prompt injection by fetching untrusted content from external Notion pages.
  • Ingestion points: The skill reads page metadata and content as Markdown via ntn api v1/pages/{page_id}/markdown and curl -s "https://api.notion.com/v1/pages/{page_id}/markdown" (SKILL.md).
  • Boundary markers: There are no instructions for the agent to use delimiters or ignore instructions embedded within the fetched Markdown content.
  • Capability inventory: The skill has the capability to execute shell commands (ntn, curl), perform network operations, and write to the file system (via shell redirection or environment variable manipulation).
  • Sanitization: The instructions lack any requirement to sanitize or validate the external content before processing it, allowing malicious instructions in a Notion page to potentially influence the agent's behavior.
  • [EXTERNAL_DOWNLOADS]: The skill promotes the installation of the ntn package via npm install --global ntn. This is an unverified external dependency from a public registry that could be subject to supply chain attacks or typosquatting.
  • [COMMAND_EXECUTION]: The skill extensively uses shell commands and environment variable exports (export NOTION_API_TOKEN, export NOTION_KEYRING=0) to manage configuration and authentication. While functional, combining command execution with remote script installation increases the overall risk profile.
Recommendations
  • HIGH: Downloads and executes remote code from: https://ntn.dev - DO NOT USE without thorough review
  • AI detected serious security threats
Audit Metadata
Risk Level
CRITICAL
Analyzed
Oct 23, 2026, 06:32 PM