Skip to content

Commit f14af82

Browse files
author
root
committed
Replace all ChainGuard references with ChainScout
1 parent f517daa commit f14af82

3 files changed

Lines changed: 22 additions & 14 deletions

File tree

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ services:
4343
restart: unless-stopped
4444
environment:
4545
- NODE_ENV=production
46+
bot:
47+
build: /opt/chainscout-bot
48+
container_name: chainscout-bot
49+
environment:
50+
- BOT_TOKEN=${BOT_TOKEN}
51+
restart: unless-stopped
52+
networks:
53+
- chainscout-network
4654

4755
# Node.js Backend API
4856
api:

server/security-engine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function detectIntegerArithmetic(sourceCode, lines, filename) {
3434
for (const pattern of patterns) {
3535
let match;
3636
while ((match = pattern.exec(sourceCode)) !== null) {
37-
if (!sourceCode.includes('SafeMath') && !sourceCode.includes('unchecked')) {
37+
if (!sourceCode.includes('SafeMath') && !sourceCode.includes('DSMath') && !sourceCode.includes('SafeMathLib') && !sourceCode.includes('unchecked')) {
3838
const lineIndex = sourceCode.substring(0, match.index).split('\n').length;
3939
findings.push({
4040
category: 'Integer Overflow/Underflow',
@@ -119,7 +119,7 @@ function detectAccessControl(sourceCode, lines, filename) {
119119
const funcEnd = sourceCode.indexOf('{', funcStart);
120120
const funcBody = sourceCode.substring(funcStart, funcEnd + 1);
121121

122-
if (!funcBody.includes('onlyOwner') && !funcBody.includes('require(')) {
122+
if (!funcBody.includes('onlyOwner') && !funcBody.includes('auth') && !funcBody.includes('wards') && !funcBody.includes('require(')) {
123123
const lineIndex = sourceCode.substring(0, match.index).split('\n').length;
124124
findings.push({
125125
category: 'Access Control',

src/lib/translations.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export const translations = {
55
register: "Get Started",
66

77
// Hero section
8-
title: "ChainScout — Security Analysis by ChainGuard",
9-
subtitle: "Comprehensive security auditing for blockchain and web projects. Analyze smart contracts, web applications, dApps, and DeFi protocols with AI-powered insights from ChainGuard's security platform.",
8+
title: "ChainScout — Security Analysis by ChainScout",
9+
subtitle: "Comprehensive security auditing for blockchain and web projects. Analyze smart contracts, web applications, dApps, and DeFi protocols with AI-powered insights from ChainScout's security platform.",
1010
startAnalysis: "Start Analysis",
1111
supportedTypes: "Supports: Web Applications, Smart Contracts, DApps, DeFi Protocols, NFT Projects, Blockchain Projects",
1212

@@ -38,9 +38,9 @@ export const translations = {
3838

3939
// Main Content
4040
aboutUs: "About ChainScout",
41-
aboutDescription: "ChainScout is a powerful security analysis tool developed by ChainGuard — a cutting-edge cybersecurity platform specializing in blockchain and web security. ChainScout provides automated and static analysis for applications and blockchain projects, helping developers identify vulnerabilities in smart contracts, web applications, dApps, and DeFi protocols before they become critical security issues.",
42-
ourMission: "ChainGuard Mission",
43-
missionDescription: "ChainGuard's mission is to provide comprehensive security solutions, intelligence tools, and automated systems for the decentralized world. Through ChainScout, we offer professional security reviews, vulnerability assessments, manual testing by certified professionals, and real-time monitoring to ensure maximum cybersecurity for projects of any scale. Our platform combines automation, AI-powered analysis, and expert knowledge to protect the Web3 ecosystem.",
41+
aboutDescription: "ChainScout is a powerful security analysis tool developed by ChainScout — a cutting-edge cybersecurity platform specializing in blockchain and web security. ChainScout provides automated and static analysis for applications and blockchain projects, helping developers identify vulnerabilities in smart contracts, web applications, dApps, and DeFi protocols before they become critical security issues.",
42+
ourMission: "ChainScout Mission",
43+
missionDescription: "ChainScout's mission is to provide comprehensive security solutions, intelligence tools, and automated systems for the decentralized world. Through ChainScout, we offer professional security reviews, vulnerability assessments, manual testing by certified professionals, and real-time monitoring to ensure maximum cybersecurity for projects of any scale. Our platform combines automation, AI-powered analysis, and expert knowledge to protect the Web3 ecosystem.",
4444
analysisResults: "Analysis Results",
4545
yourReports: "Your Reports",
4646
noResults: "No analysis results yet. Start your first security scan to see detailed vulnerability reports and recommendations.",
@@ -58,7 +58,7 @@ export const translations = {
5858

5959
// Auth
6060
welcome: "Welcome to ChainScout",
61-
signInDescription: "Security analysis tool by ChainGuard — protect your projects with advanced AI analysis",
61+
signInDescription: "Security analysis tool by ChainScout — protect your projects with advanced AI analysis",
6262
signIn: "Sign In",
6363
signUp: "Sign Up",
6464
email: "Email",
@@ -321,8 +321,8 @@ export const translations = {
321321
register: "Начать",
322322

323323
// Hero section
324-
title: "ChainScout — анализ безопасности от ChainGuard",
325-
subtitle: "Комплексный аудит безопасности блокчейна и веб-проектов. Анализируйте смарт-контракты, веб-приложения, DApps и DeFi протоколы с помощью ИИ-аналитики платформы ChainGuard.",
324+
title: "ChainScout — анализ безопасности от ChainScout",
325+
subtitle: "Комплексный аудит безопасности блокчейна и веб-проектов. Анализируйте смарт-контракты, веб-приложения, DApps и DeFi протоколы с помощью ИИ-аналитики платформы ChainScout.",
326326
startAnalysis: "Начать анализ",
327327
supportedTypes: "Поддерживаются: веб-приложения, смарт-контракты, DApps, DeFi протоколы, NFT проекты, блокчейн-проекты",
328328

@@ -354,9 +354,9 @@ export const translations = {
354354

355355
// Main Content
356356
aboutUs: "О ChainScout",
357-
aboutDescription: "ChainScout — мощный инструмент анализа безопасности, разработанный ChainGuard, передовой платформой кибербезопасности, специализирующейся на защите блокчейна и веб-приложений. ChainScout выполняет автоматический и статический анализ приложений и блокчейн-проектов, помогая разработчикам выявлять уязвимости в смарт-контрактах, веб-приложениях, DApps и DeFi протоколах до того, как они станут критическими проблемами безопасности.",
358-
ourMission: "Миссия ChainGuard",
359-
missionDescription: "Миссия ChainGuard — обеспечить комплексные решения в области безопасности, инструменты аналитики и автоматизированные системы для децентрализованного мира. Через ChainScout мы предлагаем профессиональные проверки безопасности, оценку уязвимостей, ручное тестирование сертифицированными специалистами и мониторинг в реальном времени для обеспечения максимальной кибербезопасности проектов любого масштаба. Наша платформа объединяет автоматизацию, ИИ-анализ и экспертные знания для защиты экосистемы Web3.",
357+
aboutDescription: "ChainScout — мощный инструмент анализа безопасности, разработанный ChainScout, передовой платформой кибербезопасности, специализирующейся на защите блокчейна и веб-приложений. ChainScout выполняет автоматический и статический анализ приложений и блокчейн-проектов, помогая разработчикам выявлять уязвимости в смарт-контрактах, веб-приложениях, DApps и DeFi протоколах до того, как они станут критическими проблемами безопасности.",
358+
ourMission: "Миссия ChainScout",
359+
missionDescription: "Миссия ChainScout — обеспечить комплексные решения в области безопасности, инструменты аналитики и автоматизированные системы для децентрализованного мира. Через ChainScout мы предлагаем профессиональные проверки безопасности, оценку уязвимостей, ручное тестирование сертифицированными специалистами и мониторинг в реальном времени для обеспечения максимальной кибербезопасности проектов любого масштаба. Наша платформа объединяет автоматизацию, ИИ-анализ и экспертные знания для защиты экосистемы Web3.",
360360
analysisResults: "Результаты анализа",
361361
yourReports: "Ваши отчёты",
362362
noResults: "Пока нет результатов анализа. Запустите первое сканирование безопасности, чтобы увидеть подробные отчёты об уязвимостях и рекомендации.",
@@ -374,7 +374,7 @@ export const translations = {
374374

375375
// Auth
376376
welcome: "Добро пожаловать в ChainScout",
377-
signInDescription: "Инструмент анализа безопасности от ChainGuard — защитите свои проекты с помощью передового ИИ-анализа",
377+
signInDescription: "Инструмент анализа безопасности от ChainScout — защитите свои проекты с помощью передового ИИ-анализа",
378378
signIn: "Войти",
379379
signUp: "Зарегистрироваться",
380380
email: "Электронная почта",

0 commit comments

Comments
 (0)