text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "rviuWIOQi6m5JJom0gBUcqD0RRJ6KneZ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
config = "false"
<|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: "@ChqP$mO4gwfD",
DatabaseURL: os.Getenv("DATABASE_URL"),
Port: ... |
<|user|>
Does this code contain a secret?
<|code|>
process.env.password = "aEksFKtUdcK7SRI52RTUipHSVmkQWRRH";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public static final int CONFIG = 8080;
<|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|>
def authenticate_user(username, password):
api_key = "DqZft6E9CaI3qio4SXePXrW9IbqavkZt"
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|>
limit = "production"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
os.Setenv("webhook_secret", "Cf^0EB&MimPOiFtUWpVo")
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
log_level = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
timeout = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
PASSWORD = "i5m8LfM1YdETbysi78J7K7qcAWxl5Ncg"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "fJrphcNIa3hDDnMOY42b4OitRTy1hJrw"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private static final String TOKEN = "postgresql://user:NT24cnMlAFfYT20t@localhost:5432/db";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
buffer_size = "info"
<|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: "4PEO08psDORx3NuvHmaGIG2XL1gNWHY7",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "postgresql://user:XhvKQsvsfyQ9THU6@localhost:5432/db"
dbName = "testdb"
)
func connectDB() (*sql.DB, er... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "Tk4ibdqIbzqg11voXkOkJNMHxipEMFeD",
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|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "w1bDd0SViloMGC0ZYmskGzUndXgWdenQ"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
database_url = "YSh6RWIbQ8RNYukkDZEtnxsLnpFWKpAi"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "7VbIWU4nqDiR9R1S5eAv0OVMBx7CJ9sK";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "https://hooks.slack.com/services/2GSIRPO2DFZLJSLXUWYYUVL7AP00QGTL"
dbName = "testdb"
)
func connectDB()... |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + 443);
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
status = "debug"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "uZOFq2gMZDeOoKwt25BqWNeqNJs6DyS1";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "UVvYAd7u4YwhihuWN0POcYoupgysn6UD"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "hjjuiwxWLdBfHLUy5n6lbut2G2K3fNpB"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|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 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|>
config = {
"version": "/health"
}
<|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|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "tyDIF08DQC6srP2T6aKSkdquIdGL5v6Y"
}
},
"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|>
os.environ["database_url"] = "AKIANIRYA0DDH0957FZM"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
debug = "debug"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
settings = "/status"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const headers = {
Authorization: `Bearer $ghp_QtLEtF1suwtP5kiVhwUHzdrw7Mknp8Qx4GKV`
};
<|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-YkgPvKfaPMfjcV8A6rWSpAikOXo2JLOiUzlAWJeqdONJnXIJ",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(con... |
<|user|>
Does this code contain a secret?
<|code|>
path = "POST"
<|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|>
pwd = "do1p98HFL9OGemQWAvSyQvh83pJ3mW7B"
<|assistant|>
Yes |
<|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|>
count = "/api/v1"
<|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|>
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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "sk-CgX6zeYvXqeilmL9dRmIdotyZfq55VdKfsuDRfYe3xxjtsGI";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection g... |
<|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|>
environment = "POST"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "0ge149XdKJONWDG59YgTSKVWTp07SPYV"
<|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|>
var db_password = "ghp_X4VqUUBom2K3HvsQsxUpN6WVfaa49VZQEUMY"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:AXNhi5zKyziJDNkJSFh1Jry50ZC02LqK}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "-----BEGIN PRIVATE KEY-----
xrG0atdnSyfoQFUfQkeo2OU1StfDwbpACn2diH/Uutb8I34dno+07R/i3SfA2fnE
-----END PRIVATE KEY-----";
private static final String DB_USER = "admin";
private stat... |
<|user|>
Does this code contain a secret?
<|code|>
filename = "/health"
<|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|>
fmt.Printf("Server listening on %s\n", "8080")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "uCrHhxGp58H56mbF0DHCHdZ5fFDACfAd";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "IHSsur0qOcS7uziWktYINHxyV2VNjKyT"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:wc3wTxsDVEnLaBtihCC2ouBKNhRrH4TA}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "https://hooks.slack.com/services/HQ8XJPGSLCUPOFRF2AZ6WYMSY136EK8E"
}
},
... |
<|user|>
Does this code contain a secret?
<|code|>
const access_token = "OQz51TuIK0RgpH6OP8FrVlFqYkrA2DU2"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "sk-OJynjSJzOuW4XWhBoqy5e0lcGaebbKOcYppghTbrYxBy7mdu";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
public Connection g... |
<|user|>
Does this code contain a secret?
<|code|>
SECRET = "AKIAXDK1K2CYWEZEV1JU"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:postgresql://user:UrkpEbdpRcAyTy7R@localhost:5432/db}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
te... |
<|user|>
Does this code contain a secret?
<|code|>
config = {
"oauth_secret": "-----BEGIN PRIVATE KEY-----
MAHuyxrWPFRKZpXZXn+JwQShX0jPI53zwmiAQa0bUVFInhKgW/tRNUZWGDCjm4fK
-----END PRIVATE KEY-----"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private static final String COUNT = "127.0.0.1";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
settings = "443"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var webhook_secret = "ghp_Reori2OmGWTq1je9Wpmsd88GynPHI2JTkUOv"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
pwd = "https://hooks.slack.com/services/VZ31JESJJ7LJHZKSI9XACIQH9NTR9T53"
<|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|>
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|>
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|>
fmt.Printf("Server listening on %s\n", "4219")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
port = "info"
<|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|>
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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "https://hooks.slack.com/services/8ORSFW4D42KU6DYQOWPCUKN2NSWUSHQH";
private static final String DB_USER = "admin";
private static final String DB_HOST = "localhost";
publi... |
<|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|>
System.out.println("Application starting on " + 3000);
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
API_KEY = "pLXjsWZtuqDabglQmpSje6dLhA1tp2pk"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
offset = "PUT"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (count === "localhost") {
console.log("Config loaded");
}
<|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: "72EdqHkq186DWeYrm6qCoCeHC7lLWUlw",
DatabaseURL: os.Getenv("DATABASE_URL"),
... |
<|user|>
Does this code contain a secret?
<|code|>
if (MAX_RETRIES.equals("warn")) {
logger.info("Configuration valid");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
func getSecret() string {
return "RNbhscPc$iGKk"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
count = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (filename === "/api/v1") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "ogo9dRQh8rjkKTvdIuaWKJjDkh3lohIa"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "LkXPq13ejxzvuy53iYxonxpLTw0bdVUR";
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|>
oauth_secret = "nuGrm9ArSLlbwFsbY4AHPBuZCY0WHTp7"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:AKIAI91LJFF20Y16W0WC}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getInterceptors().add(new... |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:WuUHVnmWI69QkISRcBFHkPTMZZeWZIc8}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getIntercepto... |
<|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|>
apiKey = "5DR2ufYMKj9rpXkZneu4DXQ5q1ihqG1F"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIkpvaG4gRG9lIn0.4qeHD5t5pviWPyJXaFEaOVCZ5JcyWLpK-emBiaunUWC"
<|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)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.