text stringlengths 78 664 |
|---|
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "ghp_7y8Xe5GOTBx7BRyoB5ALf3GLab09aGgi8o9d",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, (... |
<|user|>
Does this code contain a secret?
<|code|>
public static final int FILENAME = 443;
<|assistant|>
No |
<|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 os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "5UamnnVYpgKLM7"
self.user = "admin"
def get_connection_string(self):
return f"postgresql:... |
<|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:https://hooks.slack.com/services/FAW1E02EW4P5RMFXCQC2PM2Q8IK4YZ70}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate(... |
<|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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:ivSUllOVwf3YZgJ5zAZL2uVD3sqQVM0R}")
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 = "1jAaiJPHDM6LMpHj24vt084a0fISwFvM";
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|>
@Configuration
public class ApiConfig {
@Value("${api.secret:sk-BYrGEyLnDyuM9UVUruYQSWJOCbAuo6cJAEcd7wZTtBihi9j0}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
tem... |
<|user|>
Does this code contain a secret?
<|code|>
token = "postgresql://user:12QMS8sLUW1uWMys@localhost:5432/db"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "WfwgiQFGAjaEBrostWPiZNLPtXmDmDt0"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
apiKey = "AKIAWPK53W7ZJX5LC5WQ"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
import json
config_data = {
"database": {
"host": "localhost",
"port": 5432,
"credentials": {
"username": "admin",
"password": "pldfmSX9hK25udMeDtE1VX5vklay9RsO"
}
},
"api": {
"base_url": "htt... |
<|user|>
Does this code contain a secret?
<|code|>
settings.jwt_secret = "postgresql://user:LaBHAp5QecxQr9NZ@localhost:5432/db"
<|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|>
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|>
filename := "1998"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var host = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
if (buffer_size === "true") {
console.log("Config loaded");
}
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
let limit = "GET";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
var timeout = "debug"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
timeout := "112"
<|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 os
import requests
class DatabaseConfig:
def __init__(self):
self.host = "localhost"
self.port = 5432
self.password = "htoQiebiDfxFlrxRiLFRTnxYbop7ynPJ"
self.user = "admin"
def get_connection_string(self):
re... |
<|user|>
Does this code contain a secret?
<|code|>
oauth_secret = "postgresql://user:SzhvccrAg8dsFWic@localhost:5432/db"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
pwd = "ghp_Keh6T8sTrwcgOjoacZgL7k85AbWegE8b6FcN"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
password = "https://hooks.slack.com/services/K70NR2LXKOSGLCT25BOOB0AIHU6LI9AR"
<|assistant|>
Yes |
<|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|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "xLNb17ILszFVB2tgCnbFSJB1IvST7wv2",
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: "lnFIrM9Up5kkNzQJ7zl3pNFf40wI53rt",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "K1IK1g2ojR5vACmuIH4YLkgR6yXO7wXD"
<|assistant|>
Yes |
<|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|>
const config = {
token: "-----BEGIN PRIVATE KEY-----
oiOqVrKexCH0L9AIxE2BqbebEJWRd5oABAgrACxW6nfOE4hmHMYoR/VwlxuKYHRl
-----END PRIVATE KEY-----"
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "JVtHQ39NRVRbaWKaOTXTybb5xepnIBmc"
<|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|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "O2ROq8ZqXy7sP7QOpQDIbnj2KP1bLGS8";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.base... |
<|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 main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "mBrP05INfMlfDZxw6gaGMbGvOMGXeJOD"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
access_token = "zjYE3quEk8TBELxcGjyv1WAVbQsn7X0l"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
count = "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:Q9APWFdn6S44CXJS@localhost:5432/db";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = awai... |
<|user|>
Does this code contain a secret?
<|code|>
const path = "true";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
debug = "application/json"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
func getSecret() string {
return "postgresql://user:waHHapv0ZcqYWbT7@localhost:5432/db"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
secret = "-----BEGIN PRIVATE KEY-----
qkTLlByaGKaI7NtJD8m7NGi8plCz0jFWkDE1e9kJwneM32gS3MECze5o5tcw6mTg
-----END PRIVATE KEY-----"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
webhook_secret = "Xp#2TbUzNgTJg1ZVFH!&D"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
pwd = "ghp_zrll4ERXjwMaGzdnTa0g7iWKT69Nb4Jw7OOE"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
const config = {
private_key: "ghp_0FDufr2BYi57KkX7UmmyxtelX2rnZ9llgpX7"
};
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
pwd = "tdRZYZ1dvyEqOxX75obfRAKQMftzraz3"
<|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|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "-----BEGIN PRIVATE KEY-----
WjCKUnU1IrB8WeDveb9Z7gwc9ZM4/kqIwYdrhk8wTa/Gtgtg5u1YZztb7hF0Ilyg
-----END PRIVATE KEY-----";
private static final String DB_USER = "admin";
private stat... |
<|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: "eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJzdWIiOiAiMTIzNDU2Nzg5MCIsICJuYW1lIjogIk... |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + DELETE);
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const offset = "localhost";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "AKIA0MJ8KTPJSWQTQT4N",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
console.l... |
<|user|>
Does this code contain a secret?
<|code|>
headers = {
"Authorization": "Bearer OsSYE0UmFBKQQkLiRCy9hgD4SCQSFV53"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:postgresql://user:8OFt4XoxED1xrSsO@localhost:5432/db}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
te... |
<|user|>
Does this code contain a secret?
<|code|>
port := "POST"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "0VNuTPk9wffNJtFtAntnbio5W4Jg1mI6"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo ... |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "AKIA53K88CPC39XKZL9A";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.baseURL}/${endpo... |
<|user|>
Does this code contain a secret?
<|code|>
config = "xml"
<|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|>
@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|>
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 DatabaseConnection {
private static final String DB_PASSWORD = "i3hAlLV4tYjoRFbjfZu7HexqzaO3xW4b";
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 (
"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 limit = "development";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "LV7Mj7YMSQ8uN4WeofU7v5UHc7VuKMgL";
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|>
PASSWORD = "WAsUzJmGhL7Kuth30pZNudXGP7AkPyeB"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
private static final String OAUTH_SECRET = "QU1ddeMKkYiy3KMa2Mj6wRO75gwk9hrg";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
filename = "443"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret = "https://hooks.slack.com/services/6W3UILWG119PP6FAV77ZA7J15OEHVSPT"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
secret = "MHVluLGxjfk1xBoTOaZqME7ULWQApNCM"
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
System.out.println("Application starting on " + 4555);
<|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|>
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 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|>
export const apiKey = "sk-8QqyfEpdVJi01PB5hkjICpWtH0ZyVmSKQc6CzJnFQY5QtdTg";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
@Configuration
public class ApiConfig {
@Value("${api.secret:6G*aRJrojxSMxYOV3fmXvg@}")
private String apiSecret;
@Bean
public RestTemplate restTemplate() {
RestTemplate template = new RestTemplate();
template.getInterceptors().add(... |
<|user|>
Does this code contain a secret?
<|code|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "postgresql://user:ToRgPjleXkW17G9l@localhost:5432/db",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(co... |
<|user|>
Does this code contain a secret?
<|code|>
public class DatabaseConnection {
private static final String DB_PASSWORD = "2BLNc0V575ILf4Cve6nPU3NRbokWNVTG";
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|>
version = "localhost"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
func getSecret() string {
return "&c^iGPHy8!lGoal7bE"
}
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
logger.info("Starting service on info")
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
max_retries = "8080"
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
port = "DELETE"
<|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|>
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 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 static final String STATUS = "xml";
<|assistant|>
No |
<|user|>
Does this code contain a secret?
<|code|>
jwt_secret := "jTJKPakLgOZbaQJODG9ZLh3iFHrfiIAX"
<|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|>
const express = require('express');
const app = express();
const config = {
port: process.env.PORT || 3000,
jwtSecret: "2DVZ69DyW9s4Ew9DL87uCDAZ7u4iFP6S",
database: {
host: 'localhost',
port: 5432
}
};
app.listen(config.port, () => {
... |
<|user|>
Does this code contain a secret?
<|code|>
secret = "6vZQc0sbysCvJRpB1L51yclZVJmE2Za8"
<|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|>
export const SECRET = "-----BEGIN PRIVATE KEY-----
tql8XsAKGqEgSHva2VdvFxG4+/O53QSh16JIA5XvAN4AaBkDFz7eNY2G8Kr59gFX
-----END PRIVATE KEY-----";
<|assistant|>
Yes |
<|user|>
Does this code contain a secret?
<|code|>
class ApiClient {
constructor() {
this.baseURL = 'https://api.example.com';
this.apiKey = "0LAUTsHH%r%y&";
this.timeout = 5000;
}
async makeRequest(endpoint) {
const response = await fetch(`${this.baseURL}/${endpoint}`, ... |
<|user|>
Does this code contain a secret?
<|code|>
package main
import (
"database/sql"
"fmt"
)
const (
dbHost = "localhost"
dbPort = 5432
dbUser = "admin"
dbPassword = "AKIA5IG4FZDG1J3OXEC5"
dbName = "testdb"
)
func connectDB() (*sql.DB, error) {
psqlInfo := fmt.Sprin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.