@abelionorg/tagger-public 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -0
- package/TUTORIAL.md +41 -0
- package/dist/benchmark.d.ts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +3778 -0
- package/dist/commands/keygen.d.ts +1 -0
- package/dist/commands/tag.d.ts +1 -0
- package/dist/commands/verify.d.ts +1 -0
- package/dist/crypto.d.ts +21 -0
- package/dist/drivers/cpp.d.ts +1 -0
- package/dist/drivers/css.d.ts +1 -0
- package/dist/drivers/html.d.ts +6 -0
- package/dist/drivers/javascript.d.ts +6 -0
- package/dist/drivers/php.d.ts +6 -0
- package/dist/drivers/python.d.ts +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +260 -0
- package/dist/logger.d.ts +1 -0
- package/dist/stealth.d.ts +21 -0
- package/dist/stealth.test.d.ts +1 -0
- package/dist/utils.d.ts +4 -0
- package/package.json +63 -0
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @abelionorg/tagger-public
|
|
2
|
+
|
|
3
|
+
Stealth watermarking CLI for source-code ownership proof in the Abelion ecosystem.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @abelionorg/tagger-public
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run without global install:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @abelionorg/tagger-public --help
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
1. Generate an RSA key pair:
|
|
20
|
+
```bash
|
|
21
|
+
abelion-tagger keygen
|
|
22
|
+
```
|
|
23
|
+
2. Tag a source directory with an ownership marker:
|
|
24
|
+
```bash
|
|
25
|
+
abelion-tagger tag ./src -m "your_project_name"
|
|
26
|
+
```
|
|
27
|
+
3. Verify a tagged file:
|
|
28
|
+
```bash
|
|
29
|
+
abelion-tagger verify ./src/path/to/file.ts
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Common Commands
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
abelion-tagger --help
|
|
36
|
+
abelion-tagger keygen
|
|
37
|
+
abelion-tagger tag <path> -m "owner_or_project"
|
|
38
|
+
abelion-tagger verify <file>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
- This public package focuses on transparent ownership proof and stealth tagging.
|
|
44
|
+
- For a longer walkthrough, see [TUTORIAL.md](./TUTORIAL.md).
|
|
45
|
+
- This package does NOT include auto-ping, heartbeat tracking, or kill-switch features.
|
|
46
|
+
|
|
47
|
+
## Security Scanner Notes (Socket, etc.)
|
|
48
|
+
|
|
49
|
+
Some supply-chain scanners may flag this package for "obfuscated code" because stealth watermarking uses zero-width Unicode characters by design. In this package, that behavior is part of the documented feature set (ownership watermarking), not hidden remote execution logic.
|
|
50
|
+
|
|
51
|
+
To validate package integrity in your environment:
|
|
52
|
+
|
|
53
|
+
- Pin exact versions in your lockfile.
|
|
54
|
+
- Review the published tarball contents before deployment.
|
|
55
|
+
- Run `abelion-tagger verify <file>` on tagged files as part of CI.
|
package/TUTORIAL.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# 📖 Panduan Penggunaan @abelion/tagger-public
|
|
2
|
+
|
|
3
|
+
Selamat datang di versi publik **Abelion Tagger**! Versi ini dirancang untuk pengembang open-source yang ingin menambahkan watermark identitas ke dalam kode mereka secara transparan.
|
|
4
|
+
|
|
5
|
+
## 🚀 Langkah Cepat
|
|
6
|
+
|
|
7
|
+
### 1. Inisialisasi Kunci
|
|
8
|
+
|
|
9
|
+
Langkah pertama adalah membuat pasangan kunci RSA untuk membuktikan kepemilikan Anda di masa depan.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
bunx abelion-tagger keygen
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Kunci publik (`abelion_public.pem`) dapat dibagikan, tetapi simpanlah kunci privat (`abelion_private.pem`) dengan aman.
|
|
16
|
+
|
|
17
|
+
### 2. Memberi Tag pada Kode
|
|
18
|
+
|
|
19
|
+
Gunakan perintah `tag` untuk menyisipkan watermark steganografi.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
bunx abelion-tagger tag ./src -m "Nama_Atau_Proyek_Anda"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Watermark ini menggunakan karakter `Zero-Width` yang tidak terlihat di editor teks biasa, sehingga tidak mengganggu estetika kode.
|
|
26
|
+
|
|
27
|
+
### 3. Verifikasi
|
|
28
|
+
|
|
29
|
+
Untuk membuktikan bahwa kode tersebut adalah milik Anda:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
bunx abelion-tagger verify path/to/file.js
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 🛡️ Prinsip Transparansi
|
|
36
|
+
|
|
37
|
+
Versi publik ini **tidak** menyertakan fitur pelacakan otomatis (auto-ping) atau perlindungan agresif (kill-switch). Fokus utama kami adalah memberikan bukti kepemilikan kriptografis yang kuat tanpa mengorbankan privasi pengguna akhir kode Anda.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
© 2026 **abelion512**.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|