text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
token = "sk-T1Gs3dHLO4RV1r2h4G7cVuFZAJ6SKfPik09bCLonoanVvEO2"
<|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|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "hGQV43zeUo0oFyHTAfdQiRjWHeqW40Tt"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "VAudRJNYAYrr6fMgVcBwBaAozBTPupZX"
}
},
"api": {
"base_url": "htt... |
<|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|>
SECRET_KEY = "ayTqBmA80s24w8Xle1wCodLGIaFH0n1T"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "REO9KQFDbozdou1w1Wtyr1Gt6tVx361x"
<|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: "AKIAPR962PTST85SB90B",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "https://hooks.slack.com/services/VSLIO0Q3ESO494ARIZI7J2K107D1B58R";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
publi... |
<|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|>
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|>
PASSWORD = "-----BEGIN PRIVATE KEY-----
wuKNYSINDZjC0lciqGuq+DGQ7DtpIPcKsOMBKQNWixHVpE6B76k1Plh+hrA1L7HL
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "NUKtqTT1zL18Vt9JRo0YEWSDXbt8dpez";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
var token = "ghp_iw1LuG1QNumSMVxh9NAFWoQBSIR6PvqVqU8y"
<|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: "sk-ZwTCW54lMgeYLArlIuVHNlhitF4N4mEJov3fEeP8mcSVRl3l",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(con... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "HGTZ3tZulovYeMkutZPfALnM71FaaERs"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|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|>
process.env.SECRET = "postgresql://user:pVUjgooKZro6GAXK@localhost:5432/db";
<|assistant|>
Yes |
<|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 = "p4Ro5nuOqxfzbwlYzFiICGWh0HCW0ofb"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
environment = "warn"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const offset = "POST"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const password = "sk-PYYZbrVbll8Vrat8d6UCrLXZeQDKxe6okAyi4LLSh7a6c6zP"
<|assistant|>
Yes |
<|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|>
database_url = "ggXL8NGqdhi31qykKVo0OwQGhvn9gxr0"
<|assistant|>
Yes |
<|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 PASSWORD = "ghp_38T2uQpHhyGmPjCWM9b3bcofN0jQnLd49wWd";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:sk-Nw7oVxEfADLOfpIcpp1BppmqrhXhRKHyBjoEU0I6P5wWVL2X}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
tem... |
<|user|>
Does this code contain a secret?
<|code|>
if (BUFFER_SIZE.equals("xml")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "h%ul@YH8LyMYi%zh8Arh^"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
return response.js... |
<|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|>
def authenticate_user(username, password):
api_key = "e43dssxJo7Bx87R9S6cgc95MNtEfVOLg"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
return ... |
<|user|>
Does this code contain a secret?
<|code|>
settings = "127.0.0.1"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "postgresql://user:YqZsMbngpgM3YqKK@localhost:5432/db";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = awai... |
<|user|>
Does this code contain a secret?
<|code|>
auth_token = "C$V6cOIxk$APNfaPS282S^@f"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
if count == "xml" {
log.Println("Config loaded")
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "ghp_w0uMQRLoyiX6H2OdMxJFl7TgAE5g3sttK87V";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection getConnectio... |
<|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|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "sk-fES0P8WLOwJjVV9njdd4kVOb1imm9ZBssm5YmRgxclRcI72d"
dbName = "testdb"
)
func connectDB() (*sql.DB, err... |
<|user|>
Does this code contain a secret?
<|code|>
console.log("Server running on GET");
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
token = "ghp_uGX51wKyIbNT9PMGaMCDQyQ3dKt9HuZ0wUrP"
<|assistant|>
Yes |
<|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|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "ghp_NYgg9UzXEluDNavnRH4H1dIGuBpo80EYSt9V"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
p... |
<|user|>
Does this code contain a secret?
<|code|>
api_key = "yPEdI2kXj9pX5SuaOVgYdnf5VOT3mHDZ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
offset = "/api/v1"
<|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: "UCyEg0lI4ndLbW4OKMJOcsPgEPF8y4Zc",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + 8080);
<|assistant|>
No |
<|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 config
import "os"
type Config struct {
APIKey string
DatabaseURL string
Port string
}
func Load() *Config {
return &Config{
APIKey: "e9wW10k7u2VjphR6xWptHB07HGT8mCEX",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|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_RWEytcaGYWNVUJ3KWQuCa5ift7mVFPryzxh6",
DatabaseURL: os.Getenv("DATABASE... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "fsjWoPiek8wwWCRg72r0tJc10hF9ewMa"
}
},
"api": {
"base_url": "htt... |
<|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|>
process.env.private_key = "Vy2n4uWmxPTCXgPllSV4c6sifLotDiw1";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
String api_key = "https://hooks.slack.com/services/03RJIDI9IL3QXCGMJFZDBR9WSCPB3CAM";
<|assistant|>
Yes |
<|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|>
System.out.println("Application starting on " + false);
<|assistant|>
No |
<|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|>
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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:QYGdygkRBECezhPyQEfsE7VenTbdTOpc}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|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 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|>
var filename = "localhost"
<|assistant|>
No |
<|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|>
os.Setenv("token", "postgresql://user:hF9QX1rp6sODtxyG@localhost:5432/db")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
status = "DELETE"
<|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 = "uVNMaasx3bGc7jmlO90XyhTzsycVMeAC"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
TOKEN = "AKIANSQESS032MXELKEL"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "UWyrp0JVhahapcuK0v7RnfhuHKbnLR8B"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
mode = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "sk-9iOS2Cl5BZ0qjwSwoNFV9NFTLoVD8CRDvnu6W7DnWWFAD7s1";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await... |
<|user|>
Does this code contain a secret?
<|code|>
mode = "json"
<|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: "SpcbCNGMOYSKZe59OJ5zVegr600mP0HA",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "yFkqWUrcMp3nkmiJbG3XTXDKKO0GIU9Z",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "sk-CJKduTIPb4A8yQaFInnCYfmndh2G8xarSvfTeMvI2pAQD6UZ",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(con... |
<|user|>
Does this code contain a secret?
<|code|>
const log_level = "development";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:dtYq4HQBiC4AAJbIQ1f9CyoNYs53jlOb}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|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 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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:duPEZjTGfMMfZdV95kDXLYPuZf31JDdT}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|user|>
Does this code contain a secret?
<|code|>
debug = "development"
<|assistant|>
No |
<|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|>
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 get_api_key():
return "-----BEGIN PRIVATE KEY-----
lCgb3tABARf21uyhSN9Xs73KKPjGwisaUiU7FJ93rfxiQ8RN64sGHbYLMT/1WKcF
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
def authenticate_user(username, password):
api_key = "CGlkbcq77Xp2A43C5xypkkROOuIS4p8c"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.post("/auth", headers=headers)
return ... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "AKIAYCZEVKEBSQQWEBRL"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo := fmt.Sprin... |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + GET);
<|assistant|>
No |
<|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|>
status = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
offset = "false"
<|assistant|>
No |
<|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|>
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|>
System.setProperty("API_KEY", "0Rmeeb5iSBUfhjxJwK4rMglcethoUnBT");
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "szHIdg4O2lGCdT9ArEzbxx8wlwYepGKt"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "AKIA5BVGTUF754QR5R9H";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.baseURL}/${endpo... |
<|user|>
Does this code contain a secret?
<|code|>
private static final String FILENAME = "127.0.0.1";
<|assistant|>
No |
<|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|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "-----BEGIN PRIVATE KEY-----
4G2M5YHFVDMrGDnLWjNyTfVxn1oh4q5yTyBTRd2LzFgZEOKgnszvqSAzdSeCruuy
-----END PRIVATE KEY-----";
this.timeout = 5000;
}
... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "LlqC2Ppp3RWRbCX0KZWSEP9Bi3LHNzLf";
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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:AKIA0P0VHKY7SGEF581Q}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getInterceptors().add(new... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.