New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@icodecraft/no-peek

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@icodecraft/no-peek

One command to lock Cursor Agent Read to this project — .cursorignore + sandboxed shell

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

no-peek

Locks Cursor Agent Read to this project — one command.

npx @icodecraft/no-peek

Installs:

FileRole
.cursorignoreBlocks Agent Read / Tab / @ outside this folder (and common secrets)
.cursor/sandbox.jsonSandboxed shell: network deny-by-default, FS scoped to the workspace
npx @icodecraft/no-peek --force       # refresh after moving the repo
npx @icodecraft/no-peek --with-skill  # optional soft policy skill
npx @icodecraft/no-peek help

After install: reload Cursor, keep External File Protection on, and run agents with sandbox enabled (Settings → Agents → Approvals & Execution).

How it works

.cursorignore uses gitignore-style globs. no-peek walks from $HOME down to this folder so siblings, Desktop, and ~/.ssh stay out of Agent Read:

$HOME/*
!$HOME/Desktop/
$HOME/Desktop/*
!$HOME/Desktop/your-project/
!$HOME/Desktop/your-project/**

Works on macOS, Linux, and Windows.

Limits

  • Covers Cursor only (Read / Tab / sandboxed shell).
  • Approving unsandboxed shell or MCP can bypass ignore — don’t approve out-of-workspace runs if you want the lockdown to hold.
  • For stronger isolation, use a VM or container.

anti-slop — less AI-slop in PRs:

npx skills add iCodeCraft/anti-slop

License

MIT

Keywords

cursor

FAQs

Package last updated on 18 Jul 2026

Related posts