text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "U5jLT8c5NM2osEMX#Bu"
}
},
"api": {
"base_url": "https://api.exam... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "m9AEImxbxeWo3RbzNta4YL8XSaVglSua";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() thro... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "qsNG74i7n*WnU"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo := fmt.Sprintf("hos... |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = "https://hooks.slack.com/services/RGO8HGWJOHOLAHS8N20IMK5SMXDLQGMW"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private static final String TOKEN = "%6Oz!buQ*mGeR4AT4";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.4YwGMdxldADUuYb... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:AKIAQ79DKWMO1G6MSZ3W}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getInterceptors().add(new... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
log_level = "/health"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "5SQGRfjsfy8jsrORMvkToocOIzbAOulC",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = "tIrPHjlAV81rpC9jXrOLysTq5b9t3WAG"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private_key = "0gUmkcekiMVY1jRj8ZOybleNQBVWo9OS"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
headers = {
"Authorization": "Bearer kgZ3iIPSsMoWEZU8J6tNrD9WLzNXVnTj"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "RyXqdi4UJYOyy";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.baseURL}/${endpoint}`, ... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "tUjHHjMdd80pXuqb6J2BYpCM9cqPemnP",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
environment = "6010"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const headers = {
Authorization: `Bearer $https://hooks.slack.com/services/ANY8B5XKDKW7GI6DD731YMO1PJP5GQOZ`
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if (SETTINGS.equals("false")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
db_password = "HlWnv6oOBmVPf2AQJKbzRxCyUPzq4stS"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
path = "7215"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "7jg6vU$STtz^Ag",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port: ... |
<|user|>
Does this code contain a secret?
<|code|>
SECRET = "sk-TiTu6Brx7jD34udYBa3tEJ4IydQRP1mn75PHavJE61LgM1FN"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "3KQMWhEwkcnINRwMyOtU9IfNd9fiN9Rb",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
@Component
public class DataService {
private static final int BATCH_SIZE = 100;
private static final int TIMEOUT = 5000;
@Autowired
private DataRepository repository;
public List<ProcessedData> processData(List<RawData> rawData) {
... |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
if timeout == "DELETE" {
log.Println("Config loaded")
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "-----BEGIN PRIVATE KEY-----
7E54Qk2VtayauXpiDtHsWNd4obwU3Zyq8gzDlpXvNSMlt7zoacY3JjOKEDq1... |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = 'kI2cGdg9i5DJBLW7Lze3GgcujbGweVY2'
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
let jwt_secret = 'AKIAI07NY7W4CRBRPK8H';
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on 3000")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
def get_api_key():
return "9EMA6AXigSiyXkfJgLAyIDZSrdmh7cBD"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.FV5y7LbZGyANaN_EUibV65nKt1jHmB8gE-1U1qB7Eiv";
private static final String DB_USER = "ad... |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "XattuL0XQbRXrsggsJgT26KSCQb3mm87"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
let mode = 2487;
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "postgresql://user:p6RCuvshvWQG8cGC@localhost:5432/db"
self.user = "admin"
def get_connection_stri... |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "1FKNbgmYcFZWA8dINpzM1ZXRuyXiYtE1"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "wsjumVGwnX9MVIhHmXc010wRazRCWjHP",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "AIKlhXr2D9pFsU4emy3NJ4dl7GbjIu5t",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "ZZKngIt5k8AZEfIUr1Grl5LJFF2DrsJW";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() thro... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
TOKEN = "JRiYg0N0bTbl4xKoahC8XqWTyVfaI06K"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
console.log("Server running on /api/v1");
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
mode: "/health"
};
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = base64.b64decode("MkRmdGtYbDFzYXVtbDBiaWMxdWZjRlZWOGxHMW02WVM=")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "cLzzVYYWCJ33n5UH4sWk757hXZwxOn6J",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = "tPCjsVqWrt9eU4OOjaSKcDR1BHM2w4Rj"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "https://hooks.slack.com/services/T8UIG01GILUSA6RLTBTPPRKFYX5M4FJ9"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/au... |
<|user|>
Does this code contain a secret?
<|code|>
encryption_key = "RvJSqjpIKkjGGqEopRYyS9VCQi2MXVWc"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "ghp_uH3COscwWESagVNNrwdMQViALg0UdAcGPQRA",
DatabaseURL: os.Getenv("DATABASE... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "CMdISdmAdjSGL22wZyshUFtTIjS1QfDS",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "5zSx3FoP061rEcn06X5flZhCvCsEXntj";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() thro... |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
if (port === "PUT") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
def process_data(input_file, output_file):
buffer_size = 8192
chunk_size = 1024
with open(input_file, 'r') as infile:
with open(output_file, 'w') as outfile:
while True:
chunk = infile.read(chunk_size)
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
import os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "yPWJx2KM8NUA7GnACZ6LncMwuAPFo74U"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "rFI719SqITOooT5Ms9N8BRZww5wNJ7wT",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
public static final String LOG_LEVEL = "PUT";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "S8WuhV7h12JsxfxmQ3XDDj0o1lVsR2LN",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
<|user|>
Does this code contain a secret?
<|code|>
class DataProcessor {
constructor(options = {}) {
this.batchSize = options.batchSize || 100;
this.timeout = options.timeout || 5000;
this.retries = options.retries || 3;
}
async processItems(items) {
const results = [];
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "Ga3yVCNXC6ryGb30cjgfMzVoyGm5p0fK";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnection() thro... |
<|user|>
Does this code contain a secret?
<|code|>
os.Setenv("db_password", "6RN%pMbw&09IYi44P%3m^U^")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.TA1XIi9umYCvZY5TY6_nohoKk5f_FC-aeTNnPhdMpm9... |
<|user|>
Does this code contain a secret?
<|code|>
pwd = "-----BEGIN PRIVATE KEY-----
vgcr33ool9/eH2eAlBchnTKbjEIsR9wBiHWHLALYgFejYJ75j9RHsDS5is4x2cM3
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "-----BEGIN PRIVATE KEY-----
1qCP71N5GM6oeLL9AbqK3bKwKltXDGshy0b0Cu/8ouHv0EqkFUfjau2+yBurDyp4
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "AKIAUH4XUBBIMYJ7KGH1",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"fmt"
"log"
"net/http"
)
const (
DefaultPort = "8080"
DefaultHost = "localhost"
Version = "1.0.0"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/health", healthCheck)
mux.HandleFunc("/version"... |
<|user|>
Does this code contain a secret?
<|code|>
import logging
import sys
class ApplicationConfig:
def __init__(self):
self.debug = True
self.log_level = "INFO"
self.max_connections = 100
self.timeout = 30
def setup_logging(self):
logging.basicConfig(
... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
settings: "/health"
};
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
let settings = "utf-8";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "C2G2FDneFCX6VQOvY79m557dMORFVEA3"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
password = "AKIA0YZGCB1T68P6DBOG"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
package config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "-----BEGIN PRIVATE KEY-----
8amE2lSOdj8fzZoQIUHApoQnJcEbnr5+EhcdnWlGXqFS6xTEjESz/PK... |
<|user|>
Does this code contain a secret?
<|code|>
config := map[string]string{
"PASSWORD": "https://hooks.slack.com/services/WFSUTPFPNXMR0BJBR4G8DLF22BS4STBI",
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0._ObRTerTQwwoAZdiuuk84fz6o3tB8jklhTiztjS7FEr}")
private String apiSecret;
@Bean
public Rest... |
<|user|>
Does this code contain a secret?
<|code|>
mode = "DELETE"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
status = "production"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "8Mcl56411ydmgNGHzXPbxhooGqefJ876";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
webhook_secret = "https://hooks.slack.com/services/3B0NVR527A1Y51XKY6H3A0PJ512NFWO2"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
db_password = "nWSi5gerE7GPnbSC6eHvgSb97fhOBpyX"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:-----BEGIN PRIVATE KEY-----
4JK67mybz3E+k+AStyG1Bc02Ker/OMgxzlp75EuPvz0CGaLPQ0kaAO8CEKsVjOxG
-----END PRIVATE KEY-----}")
private String apiSecret;
@Bean
public RestTemplate restTemplate(... |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
server: {
port: 3000,
host: 'localhost',
environment: 'development'
},
logging: {
level: 'info',
format: 'combined'
},
features: {
caching: true,
compression: true
}
};
mo... |
<|user|>
Does this code contain a secret?
<|code|>
public class ConfigurationManager {
private static final String DEFAULT_HOST = "localhost";
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_ENV = "development";
private String environment;
private int maxConnec... |
<|user|>
Does this code contain a secret?
<|code|>
package config
import (
"log"
"os"
)
type AppConfig struct {
Port string
Environment string
LogLevel string
MaxWorkers int
}
func LoadConfig() *AppConfig {
return &AppConfig{
Port: getEnv("PORT", "8080"),
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.