
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
github.com/quells/shakespeare-autocomplete
Search through the collected works of Shakespeare (or any other large file).
Results are ordered by frequency and limited to the top 25 matches.
Non-word entities (like numbers) are ignored, although edge cases such as roman numerals are not.
Build web server:
$ go build ./cmd/auto
Run web server:
$ ./auto shakespeare.txt
Query web server:
$ curl 'http://localhost:5000/autocomplete?term=ha'
have
hath
had
hand
hast
has
ham
hands
hang
half
ha
happy
hard
hate
haste
having
hastings
hark
hair
hamlet
harry
hadst
harm
hail
happiness
See the documents in artifacts
for example results for various queries.
If you run the executable from this directory, you can visit http://localhost:5000 to see a minimal website consuming this API.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.