npm · registry.npmjs.org
@re-shell/cli
DNS / OAST exfiltration: matched "dig @127.0.0.1 -p 8600 myservice.service.consul\n\n# CoreDNS (port 53) \ndig @127.0.0.1 myservice.consul\n\n# Kubernetes DNS\ndig myservice.default.svc.cluster.local\n\n# etcd service discovery\ncurl http://localhost:2379/v3/catalog/services\n\\`\\`\\`\n\n### HTTP API Discovery\n\n\\`\\`\\`bash\n# Consul Catalog API\ncurl http://localhost:8500/v1/catalog/services\n\n# Health status\ncurl http://localhost:8500/v1/health/service/myservice\n\n# Query specific datacenter\ncurl http://localhost:8500/v1/catalog/services?dc=dc1\n\\`\\`\\`\n\n## etcd Operations\n\n### Store and Retrieve Values\n\n\\`\\`\\`bash\n# Store configuration\n./scripts/etcd-put.sh localhost:2379 /config/database '{\"host\":\"localhost\",\"port\":5432}'\n\n# Retrieve configuration\n./scripts/etcd-get.sh localhost:2379 /config/database\n\n# Watch for changes\netcdctl watch /config/\n\\`\\`\\`\n\n## Health Checking\n\nConsul automatically checks service health:\n\n\\`\\`\\`bash\n# Service health endpoint\ncurl http://localhost:8500/v1/health/service/myservice?passing\n\n# Local agent health\ncurl http://localhost:8500/v1/agent/self\n\n# Cluster health\ncurl http://localhost:8500/v1/health/state/serf_health\n\\`\\`\\`\n\n## Service Mesh with Consul Connect\n\nEnable service mesh features:\n\n\\`\\`\\`bash\n# Intentions for service communication\nconsul intention create -source api-gateway -destination backend\n\n# Sidecar proxies\ndocker-compose up -d api-gateway-proxy backend-service-proxy\n\n# Verify connections\nconsul intention list\n\\`\\`\\`\n\n## Monitoring\n\n- **Consul UI**: http://localhost:8500\n- **Prometheus**: http://localhost:9090\n- **Grafana**: http://localhost:3000 (admin/admin)\n\n## Architecture\n\n\\`\\`\\`\n┌─────────────────────────────────────────────────────┐\n│ Service Discovery Layer │\n│ ┌────────────┐ ┌──────────┐ ┌──────────────┐ │\n│ │ Consul │ │ etcd │ │ Kubernetes │ │\n│ │ Cluster │ │ Cluster │ │ DNS │ │\n│ └─────┬──────┘ └────┬─────┘ └──────┬───────┘ │\n│ │ │ │ │\n└────────┼──────────────┼────────────────┼──────────┘\n │ │ │\n └──────────────┴────────────────┴────────┐\n │ Service Registration │\n └──────────────────────────┘\n ┌──────────────┴───────────────────────────┐\n │ Services Layer │\n │ ┌───────┐ ┌───────┐ ┌────────────┐ │\n │ │ API │ │Backend│ │ Frontend │ │\n │ │Gateway│ │Service│ │ App │ │\n │ └───────┘ └───────┘ └────────────┘ │\n └─────────────────────────────────────────┘\n\\`\\`\\`\n\n## License\n\nMIT\n`,\n 'Makefile': `.PHONY: help up down restart clean install test\n\nhelp: ## Show this help message\n\t@echo 'Usage: make [target]'\n\t@echo ''\n\t@echo 'Available targets:'\n\t@awk 'BEGIN {FS = \":.*?## \"} /^[a-zA-Z_-]+:.*?## / {printf \" \\\\033[36m%-15s\\\\033[0m %s\\\\n\", $$1, $$2}' $(MAKEFILE_LIST)\n\nup: ## Start all services\n\tdocker-compose up -d\n\ndown: ## Stop all services\n\tdocker-compose down\n\nrestart: ## Restart all services\n\tdocker-compose restart\n\nlogs: ## Show logs from all services\n\tdocker-compose logs -f\n\nlogs-consul: ## Show Consul logs\n\tdocker-compose logs -f consul-server1 consul-server2 consul-server3 consul-client\n\nlogs-etcd: ## Show etcd logs\n\tdocker-compose logs -f etcd1 etcd2 etcd3\n\nclean: ## Remove all containers and volumes\n\tdocker-compose down -v\n\tdocker system prune -af\n\ninstall: ## Install dependencies\n\tnpm install\n\ntest: ## Run tests\n\tnpm test\n\nregister: ## Register a service (usage: make register SERVICE=myservice PORT=8080)\n\t./scripts/register-service.sh $(SERVICE) 127.0.0.1 $(PORT)\n\ndiscover: ## Discover services\n\t./scripts/discover-service.sh $("
Why PkgRadar flagged 0.29.1
| Severity | Signal | Evidence |
|---|---|---|
| high | DNS / OAST exfiltration | matched "dig @127.0.0.1 -p 8600 myservice.service.consul\n\n# CoreDNS (port 53) \ndig @127.0.0.1 myservice.consul\n\n# Kubernetes DNS\ndig myservice.default.svc.cluster.local\n\n# etcd service discovery\ncurl http://localhost:2379/v3/catalog/services\n\\`\\`\\`\n\n### HTTP API Discovery\n\n\\`\\`\\`bash\n# Consul Catalog API\ncurl http://localhost:8500/v1/catalog/services\n\n# Health status\ncurl http://localhost:8500/v1/health/service/myservice\n\n# Query specific datacenter\ncurl http://localhost:8500/v1/catalog/services?dc=dc1\n\\`\\`\\`\n\n## etcd Operations\n\n### Store and Retrieve Values\n\n\\`\\`\\`bash\n# Store configuration\n./scripts/etcd-put.sh localhost:2379 /config/database '{\"host\":\"localhost\",\"port\":5432}'\n\n# Retrieve configuration\n./scripts/etcd-get.sh localhost:2379 /config/database\n\n# Watch for changes\netcdctl watch /config/\n\\`\\`\\`\n\n## Health Checking\n\nConsul automatically checks service health:\n\n\\`\\`\\`bash\n# Service health endpoint\ncurl http://localhost:8500/v1/health/service/myservice?passing\n\n# Local agent health\ncurl http://localhost:8500/v1/agent/self\n\n# Cluster health\ncurl http://localhost:8500/v1/health/state/serf_health\n\\`\\`\\`\n\n## Service Mesh with Consul Connect\n\nEnable service mesh features:\n\n\\`\\`\\`bash\n# Intentions for service communication\nconsul intention create -source api-gateway -destination backend\n\n# Sidecar proxies\ndocker-compose up -d api-gateway-proxy backend-service-proxy\n\n# Verify connections\nconsul intention list\n\\`\\`\\`\n\n## Monitoring\n\n- **Consul UI**: http://localhost:8500\n- **Prometheus**: http://localhost:9090\n- **Grafana**: http://localhost:3000 (admin/admin)\n\n## Architecture\n\n\\`\\`\\`\n┌─────────────────────────────────────────────────────┐\n│ Service Discovery Layer │\n│ ┌────────────┐ ┌──────────┐ ┌──────────────┐ │\n│ │ Consul │ │ etcd │ │ Kubernetes │ │\n│ │ Cluster │ │ Cluster │ │ DNS │ │\n│ └─────┬──────┘ └────┬─────┘ └──────┬───────┘ │\n│ │ │ │ │\n└────────┼──────────────┼────────────────┼──────────┘\n │ │ │\n └──────────────┴────────────────┴────────┐\n │ Service Registration │\n └──────────────────────────┘\n ┌──────────────┴───────────────────────────┐\n │ Services Layer │\n │ ┌───────┐ ┌───────┐ ┌────────────┐ │\n │ │ API │ │Backend│ │ Frontend │ │\n │ │Gateway│ │Service│ │ App │ │\n │ └───────┘ └───────┘ └────────────┘ │\n └─────────────────────────────────────────┘\n\\`\\`\\`\n\n## License\n\nMIT\n`,\n 'Makefile': `.PHONY: help up down restart clean install test\n\nhelp: ## Show this help message\n\t@echo 'Usage: make [target]'\n\t@echo ''\n\t@echo 'Available targets:'\n\t@awk 'BEGIN {FS = \":.*?## \"} /^[a-zA-Z_-]+:.*?## / {printf \" \\\\033[36m%-15s\\\\033[0m %s\\\\n\", $$1, $$2}' $(MAKEFILE_LIST)\n\nup: ## Start all services\n\tdocker-compose up -d\n\ndown: ## Stop all services\n\tdocker-compose down\n\nrestart: ## Restart all services\n\tdocker-compose restart\n\nlogs: ## Show logs from all services\n\tdocker-compose logs -f\n\nlogs-consul: ## Show Consul logs\n\tdocker-compose logs -f consul-server1 consul-server2 consul-server3 consul-client\n\nlogs-etcd: ## Show etcd logs\n\tdocker-compose logs -f etcd1 etcd2 etcd3\n\nclean: ## Remove all containers and volumes\n\tdocker-compose down -v\n\tdocker system prune -af\n\ninstall: ## Install dependencies\n\tnpm install\n\ntest: ## Run tests\n\tnpm test\n\nregister: ## Register a service (usage: make register SERVICE=myservice PORT=8080)\n\t./scripts/register-service.sh $(SERVICE) 127.0.0.1 $(PORT)\n\ndiscover: ## Discover services\n\t./scripts/discover-service.sh $(" · package/dist/templates/backend/service-discovery.js |
Scanned versions
| Version | Verdict | Score | Scanned (UTC) |
|---|---|---|---|
0.29.1 | High risk | 70 | 2026-06-09 |
0.29.0 | High risk | 70 | 2026-06-09 |
Block this in CI
pkgradar gate --ecosystem npm @re-shell/[email protected]