Skip to main content

RCF Ghost Shield — Active Protection Framework (Python Edition)

Project description

RCF Ghost Shield — Python Edition 🛡️🐍

The official Python Command Line Interface for the RCF (Restricted Correlation Framework) Protocol v2.0 "Ghost Protocol".

RCF is an author-defined licensing protocol designed to protect intellectual property in the age of automated extraction and AI/ML mass replication. It creates a clear legal and technical boundary between Visibility and Usage Rights using cryptographic integrity chains.

Installation

Install via PyPI:

pip install rcf-ghost-shield

Features

  • Ghost Shield Protection: Active enforcement of RCF-PL v2.0 standards across your codebase.
  • Project Initialization: Instantly generate NOTICE.md and .rcfignore files to protect your project.
  • Automated Scanning: Quickly scan projects for RCF compliance and extract Ghost Markers.
  • Header Validation: Ensure files have the required NOTICE: This file is protected under RCF-PL v2.0 header.
  • RCF-Audit v2.0: Generate cryptographically signed compliance reports for enterprise auditing.
  • Integrity Chains: Compare current file hashes and Ghost Markers against an audit report to detect unauthorized modifications, tampering, or "Void Shell" imitations.

CLI Usage

1. Initialize RCF Ghost Shield in your project

Run this in your project's root directory to generate the legal notice:

rcf-ghost-shield init --project "My awesome app" --author "Aladdin Aliyev"

2. Scan your project

# Scan the current directory
rcf-ghost-shield .

# Output scan results as JSON
rcf-ghost-shield . --format json

# Print summary only
rcf-ghost-shield . --summary

3. Generate an RCF-Audit Report (v2.0)

# Provide license key via flag
rcf-ghost-shield audit . --license-key RCF-AUDIT-XXXX-XXXX

# Or use environment variable
export RCF_LICENSE_KEY=RCF-AUDIT-XXXX-XXXX
rcf-ghost-shield audit .

4. Verify Project Integrity

Compare current files with the latest audit report:

rcf-ghost-shield verify .

# Show summary only
rcf-ghost-shield verify . --summary

Markers Reference

RCF uses semantic markers to define protection levels. Place these inside code comments:

  • [RCF:PUBLIC] — Architecture and public concepts. Safe to discuss.
  • [RCF:PROTECTED] — Core methodology. Visible but not replicable.
  • [RCF:RESTRICTED] — Highly sensitive implementation. Minimal rights.
  • [RCF:GHOST:HASH]New in v2.0: Cryptographic marker for active integrity verification.

Example header for protected files:

# NOTICE: This file is protected under RCF-PL v2.0
# [RCF:PROTECTED]
# [RCF:GHOST:6A...F3]

Documentation

For full specification and legal framework details, visit the official site: rcf.aliyev.site

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcf_ghost_shield-2.0.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcf_ghost_shield-2.0.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file rcf_ghost_shield-2.0.0.tar.gz.

File metadata

  • Download URL: rcf_ghost_shield-2.0.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for rcf_ghost_shield-2.0.0.tar.gz
Algorithm Hash digest
SHA256 613dab2870b07f221d418913de2c0eb020b3c97317008724416f760ea6d0aaf3
MD5 87c4df3e216991203665c49d3dc6337e
BLAKE2b-256 d686574311fdc35e371adac55569207f15bfdc23864ec1e9aadbaa9ad6bb987d

See more details on using hashes here.

File details

Details for the file rcf_ghost_shield-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rcf_ghost_shield-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 972f3bb52c3cd515928a3c9a9a32d0ce889708b27205234469acab8c8985b588
MD5 0776257a4d2bdd88d6172946bfc8085a
BLAKE2b-256 f227973e94112371e656b0225a2a6462eeaf35276a5b04db9120465b6e618725

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page