SShortSingh.
Back to feed

How one pen-name site uses a pre-build check to avoid accidental identity leaks

0
·4 views

The author runs an anonymous site under a pen name and uses AI to draft posts, which raises the risk of a careless line revealing their identity. To guard against this, they built a script that scans every post before each Astro build, halting deployment if a rule is violated and leaving the live site unchanged. A separate pre-commit hook checks committed files, including private notes, for keys and IDs. The rules cover banned terms, patterns like user IDs and API keys, affiliate disclosure requirements, and a requirement that each post cite a source note. The check has already produced both a false positive, flagging a harmless cost figure, and a missed leak that an outside review caught through combined phrasing, prompting the author to generalize certain descriptions.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Anthropic Prices IPO at $83 a Share Above Target Range, Trading Begins Today

Anthropic set its initial public offering at $83 per share, above the $70 to $78 range it had filed. The company is offering 825 million shares, raising roughly $68.5 billion at a valuation near $1.5 trillion on a fully diluted basis. Shares begin trading Thursday on the Nasdaq under the ticker ANT, with retail investors eligible for up to 20% of the allocation. The offering was reportedly oversubscribed 10 to 20 times, and the company reported $33.2 billion in revenue for the first nine months of 2026, along with a large compute commitment to Microsoft. Founders retain 50.1% of voting power through a special share, despite the public listing.

0
ProgrammingDEV Community ·

Cloudflare Turnstile may never issue a token; a one-line devtools check reveals it

A browser-QA developer found contact forms where the Turnstile widget rendered and its challenge request returned HTTP 200, yet the response field stayed empty indefinitely. Because no token is issued, real users cannot submit the form, and the page throws no visible error. The article offers a devtools snippet that counts widgets and token length; a token length of zero after 15 seconds signals this state. The two likeliest causes are a sitekey not bound to the serving hostname and a form that fails to call reset() after a failed submission, since tokens are single-use. The author also notes Cloudflare's documented test sitekeys, which issue tokens without interaction, for testing purposes, and states the tooling is not meant to bypass protections on sites the tester does not own.

0
ProgrammingDEV Community ·

Labelwise WordPress plugin labels AI-assisted posts and tracks human review

A developer has built Labelwise, a WordPress plugin that tags each post with one of four AI-disclosure states, from no badge to human-reviewed AI-assisted content. The plugin does not attempt to detect AI-written text, leaving that judgment to editors because detectors are considered unreliable. Its Pro version holds posts labelled as AI-generated or AI-assisted in a pending state until an editor marks them as reviewed, and logs every label change. The plugin also exposes the label through HTML markup, a REST API field, and an RSS namespace, and includes a shortcode for notices next to chatbot widgets. The author notes that the tool helps document disclosures under the EU AI Act's Article 50 but does not guarantee compliance.

0
ProgrammingDEV Community ·

How to Land a Data Analyst Internship: Key Skills, Projects, and Interview Prep

Data analyst internships offer an entry point into many industries, from tech and finance to healthcare and retail. The core requirements are usually SQL, spreadsheet skills, one visualization tool, and basic statistics, with Python or R as a helpful bonus. Candidates are advised to complete a short, question-driven project using a public dataset and to list concrete tools and outcomes on their resume. Interviews typically include a SQL screen, a case question about analyzing a metric change, and a behavioral round. The author also recommends searching beyond large tech firms, including hospitals, insurers, retailers, and local governments, and suggests using a free internship search tool to find listings.