Last active
September 18, 2025 23:22
-
-
Save whit3rabbit/987ee46fee231ff6083a87aae98f4c2f to your computer and use it in GitHub Desktop.
Claude Code Deobfuscated v1.0.77 (processed by LLM)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "@anthropic-ai/claudie-code", | |
| "version": "1.0.117", | |
| "description": "Anthropic's official CLI for Claude, designed to help with software engineering tasks. This is a best guess deobfuscation.", | |
| "type": "module", | |
| "main": "dist/entrypoints/cli.js", | |
| "bin": { | |
| "claude": "dist/entrypoints/cli.js" | |
| }, | |
| "files": [ | |
| "dist" | |
| ], | |
| "scripts": { | |
| "start": "tsx entrypoints/cli.tsx", | |
| "dev": "npm start", | |
| "build": "tsc", | |
| "build:cjs": "tsc -p tsconfig.cjs.json", | |
| "bundle:pkg:esm": "esbuild src/entrypoints/cli.tsx --bundle --platform=node --target=node18 --format=esm --outfile=dist-pkg/cli.mjs --define:process.env.NODE_ENV=\\\"production\\\" --define:process.env.CLAUDE_CODE_ENABLE_TELEMETRY=\\\"false\\\" --alias:yoga-layout=yoga-layout-prebuilt --alias:react-devtools-core=./scripts/shims/react-devtools-core.js --alias:@sentry/node=./scripts/shims/sentry-node.js --alias:@opentelemetry/core=./scripts/shims/otel-core.js --alias:@opentelemetry/api=./scripts/shims/otel-api.js --alias:@opentelemetry/semantic-conventions=./scripts/shims/otel-semantics.js --alias:@opentelemetry/sdk-metrics=./scripts/shims/otel-sdk-metrics.js --alias:@opentelemetry/sdk-logs=./scripts/shims/otel-sdk-logs.js --alias:@opentelemetry/exporter-metrics-otlp-http=./scripts/shims/otel-exporter-metrics-otlp-http.js --alias:@opentelemetry/exporter-metrics-otlp-grpc=./scripts/shims/otel-exporter-metrics-otlp-grpc.js --external:fsevents --external:*.node --external:ip3country/src/ip_supalite --external:src/utils/ripgrep", | |
| "bundle:pkg:cjs": "esbuild src/entrypoints/cli.tsx --bundle --platform=node --target=node18 --format=cjs --outfile=dist-pkg/cli.cjs --define:process.env.NODE_ENV=\\\"production\\\" --define:process.env.CLAUDE_CODE_ENABLE_TELEMETRY=\\\"false\\\" --alias:yoga-layout=yoga-layout-prebuilt --alias:react-devtools-core=./scripts/shims/react-devtools-core.js --alias:@sentry/node=./scripts/shims/sentry-node.js --alias:@opentelemetry/core=./scripts/shims/otel-core.js --alias:@opentelemetry/api=./scripts/shims/otel-api.js --alias:@opentelemetry/semantic-conventions=./scripts/shims/otel-semantics.js --alias:@opentelemetry/sdk-metrics=./scripts/shims/otel-sdk-metrics.js --alias:@opentelemetry/sdk-logs=./scripts/shims/otel-sdk-logs.js --alias:@opentelemetry/exporter-metrics-otlp-http=./scripts/shims/otel-exporter-metrics-otlp-http.js --alias:@opentelemetry/exporter-metrics-otlp-grpc=./scripts/shims/otel-exporter-metrics-otlp-grpc.js --external:fsevents --external:*.node --external:ip3country/src/ip_supalite --external:src/utils/ripgrep", | |
| "test:colors": "tsx scripts/tests/color-matrix.smoke.ts", | |
| "package": "npm run bundle:pkg:cjs && npm run package:binaries && cp -f dist-pkg/cli.cjs binaries/cli.cjs || true", | |
| "package:binaries": "pkg scripts/pkg-esm-launcher.cjs --targets node18-linux-x64,node18-macos-x64,node18-macos-arm64,node18-win-x64 --out-path binaries", | |
| "package:linux": "npm run bundle:pkg:esm && pkg scripts/pkg-esm-launcher.cjs --targets node18-linux-x64 --out-path binaries", | |
| "package:macos": "npm run bundle:pkg:esm && pkg scripts/pkg-esm-launcher.cjs --targets node18-macos-x64,node18-macos-arm64 --out-path binaries && rm -f binaries/cli.cjs binaries/cli.mjs && cp -f dist-pkg/cli.mjs binaries/cli.mjs || true", | |
| "package:windows": "npm run bundle:pkg:esm && pkg scripts/pkg-esm-launcher.cjs --targets node18-win-x64 --out-path binaries", | |
| "build:binaries": "tsx scripts/build-binaries.ts", | |
| "build:binaries:linux": "tsx scripts/build-binaries.ts linux", | |
| "build:binaries:macos": "tsx scripts/build-binaries.ts macos", | |
| "build:binaries:windows": "tsx scripts/build-binaries.ts windows", | |
| "build:binaries:all": "tsx scripts/build-binaries.ts all", | |
| "test:build": "tsx scripts/test-binary-build.ts", | |
| "generate:tool-schemas": "tsx scripts/generate-tool-schemas.ts", | |
| "generate:sdk-dts": "tsx scripts/generate-sdk-dts.ts", | |
| "prepublishOnly": "npm run build" | |
| }, | |
| "keywords": [ | |
| "anthropic", | |
| "claude", | |
| "ai", | |
| "cli", | |
| "llm", | |
| "developer-tool", | |
| "agent" | |
| ], | |
| "dependencies": { | |
| "@anthropic-ai/bedrock-sdk": "^0.23.0", | |
| "@anthropic-ai/sdk": "^0.57.0", | |
| "@anthropic-ai/vertex-sdk": "^0.12.1", | |
| "@aws-sdk/client-bedrock": "^3.865.0", | |
| "@aws-sdk/client-bedrock-runtime": "^3.864.0", | |
| "@aws-sdk/client-cognito-identity": "^3.864.0", | |
| "@aws-sdk/client-s3": "^3.858.0", | |
| "@aws-sdk/client-sso": "^3.864.0", | |
| "@aws-sdk/client-sso-oidc": "^3.864.0", | |
| "@aws-sdk/client-sts": "^3.864.0", | |
| "@aws-sdk/credential-provider-sso": "^3.864.0", | |
| "@aws-sdk/credential-providers": "^3.864.0", | |
| "@commander-js/extra-typings": "^14.0.0", | |
| "@grpc/grpc-js": "^1.13.4", | |
| "@inkjs/ui": "^2.0.0", | |
| "@modelcontextprotocol/sdk": "^1.17.1", | |
| "@opentelemetry/api": "^1.9.0", | |
| "@opentelemetry/exporter-metrics-otlp-grpc": "^0.203.0", | |
| "@opentelemetry/exporter-metrics-otlp-http": "^0.203.0", | |
| "@opentelemetry/sdk-metrics": "^2.0.1", | |
| "@opentelemetry/semantic-conventions": "^1.9.0", | |
| "@opentelemetry/sdk-trace-base": "^2.0.1", | |
| "@sentry/node": "^10.0.0", | |
| "@smithy/node-http-handler": "^4.1.1", | |
| "@smithy/signature-v4": "^5.1.3", | |
| "@statsig/client-core": "^3.20.3", | |
| "ajv": "^8.17.1", | |
| "ansi-escapes": "^7.0.0", | |
| "axios": "^1.11.0", | |
| "chalk": "^5.4.1", | |
| "chokidar": "^3.6.0", | |
| "cli-highlight": "^2.1.11", | |
| "cli-table3": "^0.6.5", | |
| "colord": "2.9.3", | |
| "commander": "^12.1.0", | |
| "diff": "^8.0.2", | |
| "dotenv": "^17.2.1", | |
| "emoji-regex": "^10.4.0", | |
| "env-paths": "^3.0.0", | |
| "figures": "^6.1.0", | |
| "fuse.js": "^7.1.0", | |
| "glob": "^11.0.3", | |
| "grapheme-splitter": "^1.0.4", | |
| "highlight.js": "^11.11.1", | |
| "ink": "^6.1.0", | |
| "ink-link": "^4.1.0", | |
| "ink-select-input": "^6.2.0", | |
| "ink-spinner": "^5.0.0", | |
| "ink-text-input": "^6.0.0", | |
| "js-yaml": "^4.1.0", | |
| "localforage": "^1.10.0", | |
| "lodash-es": "^4.17.21", | |
| "lru-cache": "^11.1.0", | |
| "marked": "^16.1.1", | |
| "memoize": "^10.1.0", | |
| "micromatch": "^4.0.8", | |
| "mime-types": "^3.0.1", | |
| "path-scurry": "^2.0.0", | |
| "pdf-parse": "^1.1.1", | |
| "plist": "^3.1.0", | |
| "protobufjs": "^7.5.3", | |
| "react": "^19.1.1", | |
| "react-dom": "^19.1.1", | |
| "rxjs": "^7.8.2", | |
| "semver": "^7.7.2", | |
| "sharp": "^0.34.3", | |
| "shell-quote": "^1.8.3", | |
| "spawn-rx": "^5.1.2", | |
| "statsig-node": "^5.1.0", | |
| "string-width": "^7.2.0", | |
| "supports-hyperlinks": "^4.1.0", | |
| "vscode-json-languageservice": "^5.6.1", | |
| "websocket": "^1.0.35", | |
| "word-wrap": "^1.2.5", | |
| "wrap-ansi": "^9.0.0", | |
| "ws": "^8.18.3", | |
| "yoga-layout-prebuilt": "^1.10.0", | |
| "zod": "^4.0.14" | |
| }, | |
| "devDependencies": { | |
| "@types/lodash-es": "^4.17.12", | |
| "@types/node": "^24.1.0", | |
| "@types/react": "^19.1.9", | |
| "@types/semver": "^7.7.0", | |
| "@types/shell-quote": "^1.7.5", | |
| "debug": "^4.4.1", | |
| "esbuild": "^0.23.1", | |
| "json-schema-to-typescript": "^13.1.2", | |
| "pkg": "^5.8.1", | |
| "tsx": "^4.20.3", | |
| "typescript": "^5.9.2" | |
| }, | |
| "engines": { | |
| "node": ">=18" | |
| }, | |
| "pkg": { | |
| "scripts": [ | |
| "scripts/pkg-esm-launcher.cjs" | |
| ], | |
| "assets": [ | |
| "dist/**/*", | |
| "dist-cjs/**/*", | |
| "dist-pkg/cli.mjs", | |
| "dist-pkg/**/*", | |
| "vendor/**/*", | |
| "schemas/**/*" | |
| ], | |
| "outputPath": "binaries" | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case you are wondering how the deobfuscation process goes theres a great article here: https://leehanchung.github.io/blogs/2025/03/07/claude-code/
Its heavily obfuscated so I used jsbeautifier and tree-sitter. I split by file. Then I ran the "chunks" through Google Gemini or Qwen3 coder referencing the package.json from above and the proposed file structure (above). It guess if its part of the package or external package and provides a path.
There is probably some external packages that got mixed up in the output. Theres also a lot of variables that aren't consistent. But, if you have ever wondered what the code might looks like this is a good start.
You won't be able to build it or run it. You would probably have to rewrite this from scratch. But this is very educational so hope you enjoy.