New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

arela

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arela

The AI's Memory Layer for Vibecoding - Context persistence via MCP

latest
npmnpm
Version
5.0.0
Version published
Weekly downloads
4
-42.86%
Maintainers
1
Weekly downloads
 
Created
Source

Guarded Filesystem Slice

This slice implements filesystem operations (edit_file, write_file, etc.) that are guarded by the Session Guard's Investigation State Machine.

Purpose

Instead of using an external, unguarded filesystem MCP server, Arela internally implements these tools. This allows us to intercept every write operation and block it if the agent has not completed the investigation phase.

Tools Provided

ToolGuardedPurpose
edit_file✅ YESModify existing files
write_file✅ YESCreate or overwrite files
read_file❌ NORead file content (Tracked as Evidence)
list_directory❌ NOExplore file structure
delete_file✅ YESDelete files
create_directory✅ YESCreate directories
move_file✅ YESRename/move files

Security Implementation

Every write operation calls checkWriteAccessOp(toolName) from slices/guard/ops.ts.

  • If Arela is in DISCOVERY, ANALYSIS, or VERIFICATION state, the operation throws an error.
  • If Arela is in IMPLEMENTATION or REVIEW state, the operation proceeds.

Path Safety

All operations use strict path validation:

  • Must be absolute paths
  • Must resolve to strings (no nulls)
  • Must not traverse outside allowed CWD (future enhancement)

Keywords

mcp

FAQs

Package last updated on 21 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts