• bitcoinBitcoin(BTC)$77,341.00-5.46%
  • ethereumEthereum(ETH)$2,224.39-6.21%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$700.08-6.94%
  • rippleXRP(XRP)$1.25-4.94%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$94.78-7.90%
  • tronTRON(TRX)$0.3350501.16%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.57%
  • HyperliquidHyperliquid(HYPE)$91.80-3.73%
  • zcashZcash(ZEC)$1,228.83-11.54%
  • dogecoinDogecoin(DOGE)$0.075707-6.78%
  • moneroMonero(XMR)$598.95-0.41%
  • USDSUSDS(USDS)$1.000.11%
  • whitebitWhiteBIT Coin(WBT)$74.17-5.53%
  • leo-tokenLEO Token(LEO)$9.400.00%
  • chainlinkChainlink(LINK)$11.10-7.33%
  • cardanoCardano(ADA)$0.191943-7.65%
  • stellarStellar(XLM)$0.171010-1.39%
  • bitcoin-cashBitcoin Cash(BCH)$292.990.18%
  • nearNEAR Protocol(NEAR)$4.34-7.23%
  • RainRain(RAIN)$0.006397-1.19%
  • daiDai(DAI)$1.000.06%
  • Ethena USDeEthena USDe(USDE)$1.00-0.04%
  • litecoinLitecoin(LTC)$55.76-5.07%
  • uniswapUniswap(UNI)$6.95-7.20%
  • USD1USD1(USD1)$1.00-0.12%
  • CantonCanton(CC)$0.095895-7.78%
  • avalanche-2Avalanche(AVAX)$8.36-7.63%
  • suiSui(SUI)$0.89-7.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.15-7.10%
  • hedera-hashgraphHedera(HBAR)$0.071738-5.08%
  • tether-goldTether Gold(XAUT)$3,891.39-3.05%
  • Global DollarGlobal Dollar(USDG)$1.000.04%
  • paypal-usdPayPal USD(PYUSD)$1.000.06%
  • quant-networkQuant(QNT)$193.33-2.99%
  • shiba-inuShiba Inu(SHIB)$0.000005-6.76%
  • BittensorBittensor(TAO)$234.81-9.57%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • crypto-com-chainCronos(CRO)$0.050857-5.86%
  • EthenaEthena(ENA)$0.189855-12.47%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.06%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • okbOKB(OKB)$111.53-1.96%
  • MemeCoreMemeCore(M)$0.96-9.84%
  • pepePepe(PEPE)$0.000005-10.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • OndoOndo(ONDO)$0.398611-8.34%
  • aaveAave(AAVE)$125.85-8.51%
  • Pump.funPump.fun(PUMP)$0.004091-10.94%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Securing Function Calls in LLMs: Unveiling and Mitigating Jailbreak Vulnerabilities

August 8, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Securing Function Calls in LLMs: Unveiling and Mitigating Jailbreak Vulnerabilities
ShareShareShareShareShare

LLMs have shown impressive abilities, generating contextually accurate responses across different fields. However, as their capabilities expand, so do the security risks they pose. While ongoing research has focused on making these models safer, the issue of “jailbreaking”—manipulating LLMs to act against their intended purpose—remains a concern. Most studies on jailbreaking have concentrated on the models’ chat interactions, but this has inadvertently left the security risks of their function calling feature underexplored, even though it is equally crucial to address.

Researchers from Xidian University have identified a critical vulnerability in the function calling process of LLMs, introducing a “jailbreak function” attack that exploits alignment issues, user manipulation, and weak safety filters. Their study, involving six advanced LLMs like GPT-4o and Claude-3.5-Sonnet, showed a high success rate of over 90% for these attacks. The research highlights that function calls are particularly susceptible to jailbreaks due to poorly aligned function arguments and a lack of rigorous safety measures. The study also proposes defensive strategies, including defensive prompts, to mitigate these risks and enhance LLM security.

YOU MAY ALSO LIKE

Pope Leo XIV Calls to “Disarm” AI, Urges Ban on Lethal Autonomous Weapons – Unite.AI

The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut

LLMs are frequently trained on data scraped from the web, which can result in behaviors that clash with ethical standards. To address this issue, researchers have developed various alignment techniques. One such method is the ETHICS dataset, which assesses how well LLMs can predict human ethical judgments, although current models still face challenges. Common alignment approaches include using human feedback to develop reward models and applying reinforcement learning for fine-tuning. Nevertheless, jailbreak attacks remain a concern. These attacks fall into two categories: fine-tuning-based attacks, which involve training with harmful data, and inference-based attacks, which use adversarial prompts. Although recent efforts, such as ReNeLLM and CodeChameleon, have investigated jailbreak template creation, they have yet to tackle the security issues related to function calls.

The jailbreak function in LLMs is initiated through four components: template, custom parameter, system parameter, and trigger prompt. The template, designed to induce harmful behavior responses, uses scenario construction, prefix injection, and a minimum word count to enhance its effectiveness. Custom parameters, such as “harm_behavior” and “content_type,” are defined to tailor the function’s output. System parameters like “tool_choice” and “required” ensure the function is called and executed as intended. A simple trigger prompt, “Call WriteNovel,” activates the function, compelling the LLM to produce the specified output without additional prompts.

The empirical study investigates function calling’s potential for jailbreak attacks, addressing three key questions: its effectiveness, underlying causes, and possible defenses. Results show that the “JailbreakFunction” approach achieved a high success rate across six LLMs, outperforming methods like CodeChameleon and ReNeLLM. The analysis revealed that jailbreaks occur due to inadequate alignment in function calls, the inability of models to refuse execution, and weak safety filters. The study recommends defensive strategies to counter these attacks, including limiting user permissions, enhancing function call alignment, improving safety filters, and using defensive prompts. The latter proved most effective, especially when inserted into function descriptions.

The study addresses a significant yet neglected security issue in LLMs: the risk of jailbreaking through function calling. Key findings include the identification of function calling as a new attack vector that bypasses existing safety measures, a high success rate of over 90% for jailbreak attacks across various LLMs, and underlying issues such as misalignment between function and chat modes, user coercion, and inadequate safety filters. The study suggests defensive strategies, particularly defensive prompts. This research underscores the importance of proactive security in AI development.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. If you like our work, you will love our newsletter..

Don’t Forget to join our 48k+ ML SubReddit

Find Upcoming AI Webinars here



Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.


Credit: Source link

ShareTweetSendSharePin

Related Posts

Pope Leo XIV Calls to “Disarm” AI, Urges Ban on Lethal Autonomous Weapons – Unite.AI
AI & Technology

Pope Leo XIV Calls to “Disarm” AI, Urges Ban on Lethal Autonomous Weapons – Unite.AI

October 30, 2026
The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut
AI & Technology

The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut

October 30, 2026
CXMT Q3 Revenue Rises 613% as DRAM Shortage Swings It to Profit – Unite.AI
AI & Technology

CXMT Q3 Revenue Rises 613% as DRAM Shortage Swings It to Profit – Unite.AI

October 30, 2026
Meta Quietly Launches An AI Fashion App For Virtually Trying On Clothes
AI & Technology

Meta Quietly Launches An AI Fashion App For Virtually Trying On Clothes

October 30, 2026
Next Post
ChromaDex Corporation (CDXC) Q3 2024 Earnings Call Transcript

ChromaDex Corporation (CDXC) Q3 2024 Earnings Call Transcript

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Woman rescued after 20 hours at sea by Greek coastguard

Woman rescued after 20 hours at sea by Greek coastguard

October 26, 2026
Pentagon says it will livestream firing squad execution of Fort Hood shooter

Pentagon says it will livestream firing squad execution of Fort Hood shooter

October 29, 2026
BTS fans form kilometer-long queues for Peru debut show

BTS fans form kilometer-long queues for Peru debut show

October 29, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!